HP (Hewlett-Packard) 6120 Switch User Manual


 
C-84
Troubleshooting
DNS Resolver
Configuring switch “A” with the domain name and the IP address of a DNS
server for the domain enables the switch to use host names assigned to IP
addresses in the domain to perform ping and traceroute actions on the devices
in the domain. To summarize:
With the above already configured, the following commands enable a DNS-
compatible command with the host name docserver to reach the document
server at 10.28.229.219.
Figure C-28. Configuring Switch “A” in FigureC-27 To Support DNS Resolution
Figure C-29. Example of Ping and Traceroute Execution for the Network in Figure C-27 on Page C-83
Entity: Identity:
DNS Server IP Address
10.28.229.10
Domain Name (and Domain Suffix for Hosts in
the Domain)
pubs.outdoors.com
Host Name Assigned to 10.28.229.219 by the
DNS Server
docservr
Fully Qualified Domain Name for the IP address
Used By the Document Server (10.28.229.219)
docservr.pubs.outdoors.com
Switch IP Address
10.28.192.1
Document Server IP Address
10.28.229.219
ProCurve(config)# ip dns server-address 10.28.229.10
ProCurve(config)# ip dns domain-name pubs.outdoors.com
ProCurve# ping docservr
10.28.229.219 is alive, time = 1 ms
ProCurve# traceroute docservr
traceroute to 10.28.229.219
1 hop min, 30 hops max, 5 sec. timeout, 3 probes
1 10.28.192.2 1 ms 0 ms 0 ms
2 10.28.229.219 0 ms 0 ms 0 ms
Traceroute Target
First-Hop Router (“B”)