Cannot PING from Ubuntu guest to XP Host

This is for discussing general topics about how to use VirtualBox.
Post Reply
sanlen
Posts: 10
Joined: 3. Mar 2009, 06:51

Cannot PING from Ubuntu guest to XP Host

Post 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
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Cannot PING from Ubuntu guest to XP Host

Post by baf »

Firewall on in XP?
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
sanlen
Posts: 10
Joined: 3. Mar 2009, 06:51

Re: Cannot PING from Ubuntu guest to XP Host

Post by sanlen »

Hi,

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

Best Regards,
sanlen
Best Regards,
sanlen
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Cannot PING from Ubuntu guest to XP Host

Post by baf »

OK what does ipconfig in xp say
and ifconfig in ubuntu

and how do you ping? Exact command please.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
sanlen
Posts: 10
Joined: 3. Mar 2009, 06:51

Re: Cannot PING from Ubuntu guest to XP Host

Post 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
Best Regards,
sanlen
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Cannot PING from Ubuntu guest to XP Host

Post by baf »

Try switching adapter type to one of the intel ones.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
sanlen
Posts: 10
Joined: 3. Mar 2009, 06:51

Re: Cannot PING from Ubuntu guest to XP Host

Post 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
Best Regards,
sanlen
Post Reply