Oracle Linux Server 6.5 not able to ping server from local system
Hello,
I am new to linux OEL 6.5 and using it in vmware as VM and facing a problem in pinging from vm to server, i had done a settings are as: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #HWADDR=00:0C:29:4C:17:1A TYPE=Ethernet ONBOOT=yes BOOTPROTO=static IPADDR=192.168.187.10 NETMASK=255.255.255.0 GATEWAY=192.168.187.1 MM_CONTROLLED=yes after that now i removed rm /etc/udev/rules.d/70-persistent-net.rules service network restart reboot service network restart now my gateway is 192.168.187.1 which is vmware in windows: Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe90::5110:c850:c164:5495%18 IPv4 Address. . . . . . . . . . . : 192.168.187.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : now my doubt is i m not able to ping from linux [root@oel ~]# ping 192.168.187.1 PING 192.168.187.1 (192.168.187.1) 56(84) bytes of data. so here no ping response is coming so what may be the issue pls try to resolve as i fresher and new to this linux |
Hi,
There are lots of things to check here and information is not complete. Make sure your VM and Windows server has correct VLAN. You need to check VM properties for linux server. From linux server ping to another system in network and check if it is working. From linux server ping to default router for network and check if it is working. From Windows server ping to another system in network and check if it is working. From Windows server ping to default router for network and check if it is working. Try to run traceroute from linux to windows and see what is last hope it is reaching. Provide more details like ipconfig -a on windows ifconfig -a on linux netstat -rn & output of above. |
From linux as vm i m able to ping other network in same vm
From linux as vm i m not able to ping the vmware default ip From windoows to other network i m able to ping From windows to vmware server i m aslo able to ping [root@QOELMQM ~]# ipconfig -a -bash: ipconfig: command not found [root@QOELMQM ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0C:29:A3:9C:94 inet addr:192.168.187.20 Bcast:192.168.187.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fea3:9c94/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:103 errors:0 dropped:0 overruns:0 frame:0 TX packets:130 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11381 (11.1 KiB) TX bytes:15185 (14.8 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:65536 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:840 (840.0 b) TX bytes:840 (840.0 b) [root@QOELMQM ~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.187.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.187.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 [root@QOELMQM ~]# Windows IP Configuration Ethernet adapter Local Area Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wireless Network Connection 3: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wireless Network Connection 2: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::d2b:6414:38ae:4f3b%13 IPv4 Address. . . . . . . . . . . : 192.168.1.21 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.129 Ethernet adapter Bluetooth Network Connection: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::5010:c750:c164:5425%18 IPv4 Address. . . . . . . . . . . : 192.168.187.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Ethernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::694c:36ce:1074:7bc9%19 IPv4 Address. . . . . . . . . . . : 192.168.44.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Ethernet adapter VMware Network Adapter VMnet2: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::48a:ad2:7f15:94fc%22 IPv4 Address. . . . . . . . . . . : 192.168.1.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : C:\Users\Merlin>netstat -rn =========================================================================== Interface List 17...78 2b cb f4 d9 dc ......Realtek PCIe FE Family Controller 15...bc 77 37 81 4c f1 ......Microsoft Virtual WiFi Miniport Adapter #2 14...bc 77 37 81 4c f1 ......Microsoft Virtual WiFi Miniport Adapter 13...bc 77 37 81 4c f0 ......Intel(R) Centrino(R) Wireless-N 1030 12...bc 77 37 81 4c f4 ......Bluetooth Device (Personal Area Network) 18...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1 19...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 22...00 50 56 c0 00 02 ......VMware Virtual Ethernet Adapter for VMnet2 1...........................Software Loopback Interface 1 28...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter 23...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface 24...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 29...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 25...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4 27...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5 26...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6 31...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #7 30...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #8 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.129 192.168.1.21 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.21 281 192.168.1.0 255.255.255.0 On-link 192.168.1.1 276 192.168.1.1 255.255.255.255 On-link 192.168.1.1 276 192.168.1.21 255.255.255.255 On-link 192.168.1.21 281 192.168.1.255 255.255.255.255 On-link 192.168.1.21 281 192.168.1.255 255.255.255.255 On-link 192.168.1.1 276 192.168.44.0 255.255.255.0 On-link 192.168.44.1 276 192.168.44.1 255.255.255.255 On-link 192.168.44.1 276 192.168.44.255 255.255.255.255 On-link 192.168.44.1 276 192.168.187.0 255.255.255.0 On-link 192.168.187.1 276 192.168.187.1 255.255.255.255 On-link 192.168.187.1 276 192.168.187.255 255.255.255.255 On-link 192.168.187.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.21 281 224.0.0.0 240.0.0.0 On-link 192.168.1.1 276 224.0.0.0 240.0.0.0 On-link 192.168.187.1 276 224.0.0.0 240.0.0.0 On-link 192.168.44.1 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.21 281 255.255.255.255 255.255.255.255 On-link 192.168.1.1 276 255.255.255.255 255.255.255.255 On-link 192.168.187.1 276 255.255.255.255 255.255.255.255 On-link 192.168.44.1 276 =========================================================================== Persistent Routes: None IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 23 58 ::/0 On-link 1 306 ::1/128 On-link 23 58 2001::/32 On-link 23 306 2001:0:9d38:6ab8:3897:f512:95cc:7d2d/128 On-link 13 281 fe80::/64 On-link 22 276 fe80::/64 On-link 18 276 fe80::/64 On-link 19 276 fe80::/64 On-link 23 306 fe80::/64 On-link 22 276 fe80::48a:ad2:7f15:94fc/128 On-link 13 281 fe80::d2b:6414:38ae:4f3b/128 On-link 23 306 fe80::3897:f512:95cc:7d2d/128 On-link 18 276 fe80::5010:c750:c164:5425/128 On-link 19 276 fe80::694c:36ce:1074:7bc9/128 On-link 1 306 ff00::/8 On-link 23 306 ff00::/8 On-link 13 281 ff00::/8 On-link 22 276 ff00::/8 On-link 18 276 ff00::/8 On-link 19 276 ff00::/8 On-link =========================================================================== Persistent Routes: None Ping statistics for 192.168.187.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 1ms, Average = 0ms |
Just disable the ipv6 under host OS and try. Let vmware assign ip to ur guest os.
# dhclient eth0 |
All times are GMT -5. The time now is 12:32 AM. |