178 Connecting to the Network Version A.01 H3064S Module 21 Slides
© 1999 Hewlett-Packard Co. H3064S A Setting an IP Address and Subnet Mask a IP addresses Assigned to each network node –Must be unique –Define via SAM or set_parms
© 1999 Hewlett-Packard Co. H3064S A 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 a LAN Router The Internet–Other Networks
© 1999 Hewlett-Packard Co. H3064S A Setting a System Hostname a 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 (mickie) (minnie) (donald) LAN
© 1999 Hewlett-Packard Co. H3064S A 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) a telnet mickie ftp minnie
© 1999 Hewlett-Packard Co. H3064S A 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 a Sample /etc/hosts : mickie mailsvr minnie donald
© 1999 Hewlett-Packard Co. H3064S A 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 a DNS name server
© 1999 Hewlett-Packard Co. H3064S A Choosing a Look-Up Service Q:Where do I look up hostnames? A:Consult /etc/nsswitch.conf a ? DNS /etc/hosts
© 1999 Hewlett-Packard Co. H3064S A 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 a NIS server vid for user1? vid = 101 IP for mailstop IP = /etc/hosts /etc/passwd /etc/group.
© 1999 Hewlett-Packard Co. H3064S A Troubleshooting Tools Check connectivity # ping # ping Check hostname resolution # nslookup minnie # nslookup donald a669118