(E-Mail Removed) (vasanta) wrote in message news:<(E-Mail Removed). com>...
> Try to ping the same machine, ping gives below error, but I can ping
> all other machines on the network. Any idea?. Thanks in advance.
>
> connect: Invalid argument
[me@pbrain]$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.107 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.069 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.060 ms
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% loss, time 1998ms
rtt min/avg/max/mdev = 0.060/0.078/0.107/0.022 ms
[me@pbrain]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
X.X.24.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 X.X.24.1 0.0.0.0 UG 0 0 0 eth0
Note that 127.0.0.0 is in the route table and uses the lo interface.
[me@pbrain]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:40

0:04:06:AC
inet addr:X.X.25.127 Bcast:255.255.255.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98390 errors:0 dropped:0 overruns:0 frame:0
TX packets:7493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:10971597 (10.4 Mb) TX bytes:1051776 (1.0 Mb)
Interrupt:11 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5443 (5.3 Kb) TX bytes:5443 (5.3 Kb)
And note that the local loopback has been configured on the interface.
Should be all you need.
hth,
prg
eamil above disabled