|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Unable to ping Linux guest from win7 host
Hi, I am using win7 on my PC and installed VMware on it on which i am running linux I am unable to ping my linux guest from my win machine, but i can ping my windows host from linux guest : Below is my system configuration Linux Code:
root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:15:D6:6E
inet addr:192.168.29.128 Bcast:192.168.29.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe15:d66e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1865 (1.8 KiB) TX bytes:15184 (14.8 KiB)
Interrupt:67 Base address:0x2024
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:2744 errors:0 dropped:0 overruns:0 frame:0
TX packets:2744 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6332808 (6.0 MiB) TX bytes:6332808 (6.0 MiB)
[root@localhost ~]#
[root@localhost ~]#PING from Linux to WIN Code:
[root@localhost ~]# ping 192.168.4.1 PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data. 64 bytes from 192.168.4.1: icmp_seq=1 ttl=128 time=15.6 ms 64 bytes from 192.168.4.1: icmp_seq=2 ttl=128 time=2.83 ms 64 bytes from 192.168.4.1: icmp_seq=3 ttl=128 time=2.57 ms --- 192.168.4.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2338ms rtt min/avg/max/mdev = 2.570/7.031/15.693/6.126 ms [root@localhost ~]# ping 192.168.4.156 PING 192.168.4.156 (192.168.4.156) 56(84) bytes of data. 64 bytes from 192.168.4.156: icmp_seq=1 ttl=128 time=0.915 ms 64 bytes from 192.168.4.156: icmp_seq=2 ttl=128 time=1.08 ms --- 192.168.4.156 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1179ms rtt min/avg/max/mdev = 0.915/1.000/1.086/0.091 ms [root@localhost ~]# VMware settings : Code:
vmnet0 bridged vmnet1 : Host-only subnet :192.168.244.0 vmnet8 : NAT subnet :192.168.29.0 Windows : Code:
C:\Users\hp>ipconfig
Windows IP Configuration
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::3086:a7d1:4346:a290%11
IPv4 Address. . . . . . . . . . . : 192.168.4.156
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.4.1
C:\Users\hp>netstat -rn
===========================================================================
Interface List
15...16 de 2b 5a a6 61 ......Microsoft Virtual WiFi Miniport Adapter
13...74 de 2b 5a f0 c1 ......Bluetooth Device (Personal Area Network)
11...74 de 2b 5a a6 61 ......Atheros AR9285 802.11b/g/n WiFi Adapter
1...........................Software Loopback Interface 1
26...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
27...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #7
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.4.1 192.168.4.156 26
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.4.0 255.255.255.0 On-link 192.168.4.156 281
192.168.4.156 255.255.255.255 On-link 192.168.4.156 281
192.168.4.255 255.255.255.255 On-link 192.168.4.156 281
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.4.156 281
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.4.156 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.4.1 1
0.0.0.0 0.0.0.0 192.168.4.1 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
11 281 fe80::/64 On-link
11 281 fe80::3086:a7d1:4346:a290/128
On-link
1 306 ff00::/8 On-link
11 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\Users\hp>PING from WIN to LINUX Code:
C:\Users\hp>
C:\Users\hp>
C:\Users\hp>ping 192.168.29.128
Pinging 192.168.29.128 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.29.128:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\hp>please help
Last edited by Corona688; 06-20-2012 at 10:20 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
are you running a firewall on your linux guest? Code:
service iptables stop Code:
/etc/init.d/iptables stop may be different depending on your distribution |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
I don't see any way for your hosts to be communicating, Windows has no route to 192.168.29 .
|
|
#4
|
|||
|
|||
|
funksen : no there ain`t any firewall running on the linux guest.. I tried your stopping the iptables , but no luck
Corona688 : could you please help me in adding the route to in windows |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Where did your server get 192.168.29.128 from? Is that configured statically?
128 is a special address which you shouldn't configure a network adapter to... |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
The 192.168.29.0/24 network is configured to the vmnet8 network, which hides all machines attached to it behind a NAT. So all connections made from within the VM appear to be coming from your Windows host, and the machines aren't reachable from the outside (including the Windows host). Switch the NIC settings to use the bridged vmnet0 network, and the VM will appear as just another machine in your LAN.
|
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
Corona688 : IP allocation has been done by vm DHCP
pludi : vmnet0 is already set to bridged |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sharing internet from host os to guest os | hiten.r.chauhan | Emergency UNIX and Linux Support !! Help Me!! | 12 | 06-17-2011 03:11 AM |
| Unable to ping Solaris VM from Xp host | saurabh84g | Solaris | 4 | 01-30-2011 09:07 AM |
| unable to ping a host in another domain | melanie_pfefer | Solaris | 4 | 11-04-2008 08:38 AM |
| Unable to ping host | gavon | UNIX for Dummies Questions & Answers | 3 | 08-20-2001 08:55 PM |
|
|