Results 1 to 5 of 5
Hi
I posted it on another forum, but could not get response,So
I have this cenOS, Ubuntu and windows operating system running on virtual machines.
Now I gave them manual ...
- 07-02-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 3
CentOS-5 server cannot ping the default gateway
Hi
I posted it on another forum, but could not get response,So
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.
- 07-02-2010 #2
- All three VMs are in bridge mode?
- All three VMs have different IPs?
- All three VMs are in the same net 192.168.5.0/24?
- Is there a firewall on the redhat VM?
- Is there a firewall on the machine, that hosts the VMs?You must always face the curtain with a bow.
- 07-02-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 3
- 07-02-2010 #4
as root
iptables -L -nYou must always face the curtain with a bow.
- 07-02-2010 #5
Hmm,
what is the NIC presented to the redhat VM?
Please choose intel desktop or intel server NIC, if you have the chance.
This one I dont actually know, if it is indeed a problem, but might be worth a try:
Can you please disable selinux, if you dont need it?
in /etc/selinux/config
search for SELINUX and set it to
SELINUX=disabled
Then rebootYou must always face the curtain with a bow.


Reply With Quote
