Presentation is loading. Please wait.

Presentation is loading. Please wait.

178 Connecting to the Network Version A.01 H3064S Module 21 Slides.

Similar presentations


Presentation on theme: "178 Connecting to the Network Version A.01 H3064S Module 21 Slides."— Presentation transcript:

1 178 Connecting to the Network Version A.01 H3064S Module 21 Slides

2 © 1999 Hewlett-Packard Co. H3064S A.01 179 Setting an IP Address and Subnet Mask a669110 128.1.1.2128.1.1.3128.1.1.4 IP addresses Assigned to each network node –Must be unique –Define via SAM or set_parms

3 © 1999 Hewlett-Packard Co. H3064S A.01 180 Setting a Default Route Hosts can locally deliver data to nodes on own LAN Route is required to route data to other LANs Defined via SAM or set_parms a669111 128.1.1.2128.1.1.3128.1.1.4 LAN Router 128.1.1.1 The Internet–Other Networks

4 © 1999 Hewlett-Packard Co. H3064S A.01 181 Setting a System Hostname a669112 Hostnames Mnemonic name assigned to each node Can be based on –Purpose of node –Primary users of node –Any other naming convention Defined via set_parms 128.1.1.2 (mickie) 128.1.1.3 (minnie) 128.1.1.4 (donald) LAN

5 © 1999 Hewlett-Packard Co. H3064S A.01 182 Resolving Hostnames to IP Addresses Every outgoing packet requires an IP Three ways to resolve hostnames to IP addresses –/etc/hosts file –Domain Name Service (DNS) –Network Information Service (NIS) a669113 telnet mickie 128.1.1.2 ftp minnie 128.1.1.3

6 © 1999 Hewlett-Packard Co. H3064S A.01 183 Configuring /etc/hosts Maps: IP addresses hostnames Maintained on each individual host Usually used to resolve hostnames on small LANs Define via SAM or copy from another host a669114 Sample /etc/hosts : 128.1.1.1mickie mailsvr 128.1.1.2minnie 128.1.1.3donald

7 © 1999 Hewlett-Packard Co. H3064S A.01 184 Configuring a DNS Client Used to resolve hostnames on larger networks Clients request lookups from DNS servers To prevent duplicate names, each host assigned to a “domain” Must define the following via SAM or set_parms –Your DNS server address –Your DNS “domain” name a669115 DNS name server www.acme.com? 15.24.3.8 www.hp.com? 15.31.26.12

8 © 1999 Hewlett-Packard Co. H3064S A.01 185 Choosing a Look-Up Service Q:Where do I look up hostnames? A:Consult /etc/nsswitch.conf a669116 ? DNS /etc/hosts

9 © 1999 Hewlett-Packard Co. H3064S A.01 186 Configuring an NIS Client Centralized maintenance of config files Clients send host, user, group lookups to NIS server Must define the following via SAM or set_parms –NIS domain –NIS server address a669117 NIS server vid for user1? vid = 101 IP for mailstop IP = 128.1.1.2 /etc/hosts /etc/passwd /etc/group.

10 © 1999 Hewlett-Packard Co. H3064S A.01 187 Troubleshooting Tools Check connectivity # ping 128.1.1.3 # ping 128.1.1.4 Check hostname resolution # nslookup minnie # nslookup donald a669118


Download ppt "178 Connecting to the Network Version A.01 H3064S Module 21 Slides."

Similar presentations


Ads by Google