Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 229504

RHEL6 VM workstation: Unable to ping gateway with bridged connection

$
0
0

I have below config for my RHEL6 workstation.

 

1. Network connection: Bridged with 'Replicate physical network connection' checkbox checked (I tried unchecking the box as well)

 

2. I have my host connected to router via LAN. (Router IP: 192.168.3.1; Host IP: 192.168.3.100)

 

2. /etc/sysconfig/network file as below:

                NETWORKING=yes

                HOSTNAME=AYMsimvm1

                GATEWAY=192.168.3.1

 

3. /etc/sysconfig/network-scripts/ifcfg-eth0 file as below:

                NETWORKING=yes

                BOOTPROTO=dhcp

                DEVICE=eth0

 

4. I can see my VM IP (192.168.3.150) registered in the client list of the router

 

5. MAC address of eth0 matches to .vmx file and the one registered in router

 

5.Various command outputs as below

 

~:root $ ifconfig

eth0      Link encap:Ethernet  HWaddr 00:50:56:34:2E:9E 

          inet addr:192.168.3.150  Bcast:192.168.3.255  Mask:255.255.255.0

          inet6 addr: fe80::250:56ff:fe34:2e9e/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:147 errors:0 dropped:0 overruns:0 frame:0

          TX packets:271 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:14292 (13.9 KiB)  TX bytes:21919 (21.4 KiB)

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:160 errors:0 dropped:0 overruns:0 frame:0

          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:8324 (8.1 KiB)  TX bytes:8324 (8.1 KiB)

 

~:root $ ping -I eth0 192.168.3.100 <this is host IP>

PING 192.168.3.100 (192.168.3.100) from 192.168.3.150 eth0: 56(84) bytes of data.

64 bytes from 192.168.3.100: icmp_seq=1 ttl=64 time=13.6 ms

64 bytes from 192.168.3.100: icmp_seq=2 ttl=64 time=0.809 ms

^Z

[5]+  Stopped                 ping -I eth0 192.168.3.100

~:root $ ping -I eth0 192.168.3.1  <this is router IP, ping hangs>

PING 192.168.3.1 (192.168.3.1) from 192.168.3.150 eth0: 56(84) bytes of data.

^Z

[6]+  Stopped                 ping -I eth0 192.168.3.1

~:root $ route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

192.168.3.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0

0.0.0.0         192.168.3.1     0.0.0.0         UG    0      0        0 eth0

~:root $ ping -I eth0 google.com

^Z

[7]+  Stopped                 ping -I eth0 google.com

~:root $

 

 

Thanks for helping me with this.


Viewing all articles
Browse latest Browse all 229504

Trending Articles