C
HAPTER
10
| IP Commands
– 217 –
■
Destination does not respond - If the host does not respond, a
“timeout” appears in ten seconds.
■
Destination unreachable - The gateway for this destination indicates
that the destination is unreachable.
■
Network or host unreachable - The gateway found no corresponding
entry in the route table.
◆ When pinging a host name, be sure the DNS server address has been
configured with the ip dns command.
EXAMPLE
IP>ping 192.168.2.19
PING server 192.168.2.19
60 bytes from 192.168.2.19: icmp_seq=0, time=0ms
60 bytes from 192.168.2.19: icmp_seq=1, time=0ms
60 bytes from 192.168.2.19: icmp_seq=2, time=0ms
60 bytes from 192.168.2.19: icmp_seq=3, time=0ms
60 bytes from 192.168.2.19: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
IP>
ip dns This command displays or sets a DNS server to which client requests for
mapping host names to IP addresses are forwarded.
SYNTAX
ip dns [ip-addr]
ip-addr - IP address of domain-name server. An IPv4 address
consists of 4 numbers, 0 to 255, separated by periods.
DEFAULT SETTING
None
EXAMPLE
IP>dns 192.168.1.55
IP>
ip dns_proxy This command displays or sets DNS proxy mode which can maintain a local
database based on previous responses to DNS queries forwarded on behalf
of attached clients.
SYNTAX
ip dns_proxy [enable | disable]
enable - Enables DNS proxy service.
disable - Disables DNS proxy service.