Thursday, December 31, 2009

COMMONG NETWORK UTILITES IN REDHAT LINUX

COMMONG NETWORK UTILITES

Features:

1. Useful for basic troubleshooting

PING:

Features:

1. ability to communicate with hosts using ICMP

•PING sends ICMP echo-requests
•PING expects to receive ICMP echo-replies

Task:

PING some hosts and evaluate the output

1. ping localhost (127.0.0.1)

2. ping -c 3 localhost - sends 3 ICMP echo-requests

Note:

•'ping localhost' performs name resolution using /etc/hosts

•/etc/hosts stores static name-to-IP mappings

•127.0.0.0/8 is fully-reserved to the loopback adapter of ALL IPv4 hosts

3. ping -c 3 192.168.75.199

4. ping -c 3 -i 3 192.168.75.199 - delays PINGs to 3 seconds apart

Note:

•PING defaults to a standard 1-second interval

•Firewall(s) may block ICMP traffic, causing PING to fail

No comments:

Post a Comment