Page 1 of 1

Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:35
by sanlen
Hi,

I just loaded VirtualBox 3.0 and have Ubuntu 9.04 as guest, and Windows XP as Host. I tried to ping those two systems. i can only get the reply when ping from XP to Ubuntu, and no reply at all while i ping from Ubuntu to XP. The network setting in VirtualBox as below:

- Adapter Type: PCnet-PCI II (Am79C790A)
- Attached to: Host-Only Adapter
- Name: VirtualBox Host-Only Ethernet Adapter

Can you please advice how can i solve the above problems? (able to ping from Ubunut to XP)

Thanks you very much for your time and any advice you may give me.

Best Regards,
sanlen

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:38
by baf
Firewall on in XP?

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:42
by sanlen
Hi,

The firewall in XP is already disabled, but it still does not work.

Best Regards,
sanlen

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:45
by baf
OK what does ipconfig in xp say
and ifconfig in ubuntu

and how do you ping? Exact command please.

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:54
by sanlen
Hi,

The PING command that i used:
ping 192.168.1.2 (from XP to Ubuntu)
ping 192.168.1.3 (from Ubuntu to XP)


The information from ipconfig and ifconfig as below:

--------------------------------------------------------------------

C:\Documents and Settings\SANLEN>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

-------------------------------------------------------------------------------

sanlen@ubuntu:~$ ifconfig

eth1 Link encap:Ethernet HWaddr 08:00:27:6d:5e:5f

inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::a00:27ff:fe6d:5e5f/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:8302 (8.3 KB) TX bytes:18013 (18.0 KB)

Interrupt:11 Base address:0xd020



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:38 errors:0 dropped:0 overruns:0 frame:0

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

collisions:0 txqueuelen:0

RX bytes:3000 (3.0 KB) TX bytes:3000 (3.0 KB)



Best Regards,
sanlen

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 10:57
by baf
Try switching adapter type to one of the intel ones.

Re: Cannot PING from Ubuntu guest to XP Host

Posted: 4. Jul 2009, 11:07
by sanlen
baf wrote:Firewall on in XP?
It works now after i disabled my Symantec Endpoint Protection. Thanks you very much for all the advices.

Best Regards,
sanlen