server cannot ping default-gateway

boileboile Member Posts: 21 ■□□□□□□□□□
Hi
I have this cenOS, Ubuntu and windows operating system running on virtual machines.

Now I gave them manual ip address, both ubuntu and windows machines can ping the default gateway, but not the CentOS.

Here is the output of


ifconfig eth0

eth0 --- Link encap:Ethernet HWaddr 08:00:27:17:0d:e6
-- inet addr:192.168.5.3 Bcast:192.168.5.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe17:de6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


route -n command here is the output

Destination
Gateway
Genmask
Flags--- Metric-- Ref --- Use --- Iface
192.168.5.0
0.0.0.0
255.255.255.0
U ---- 0
0 --- 0 ---eth0
169.254.0.0
0.0.0.0
255.255.0.0
U ---- 0-- 0 ---- 0 ---eth0
0.0.0.0
192.168.5.254
0.0.0.0
UG ---- 0 --- 0
0 ---eth0






It should forward 0.0.0.0. to my cisco router address(192.168.5.254),

Now it does not ping.

Any help would be appreciated.

Comments

Sign In or Register to comment.