static IP similar to host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
vijay
Posts: 5
Joined: 18. Sep 2009, 02:19
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: xp

static IP similar to host

Post by vijay »

I am able to browse etc., with my xp on ubuntu [ typical installation ]

but iam not able to talk to any of the machines in the host network

what are the tips and tricks ?


trick-1
--------
assigned static ip similar to that of host and assigned the same gateway - restarted
result : fail - unable to ping any of the machines in the host network.


thanks,
Vijay
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: static IP similar to host

Post by Perryg »

Are you using NAT?
If you have a router then use Bridged. If not then you will need to use host-only and add a second adapter to use NAT for the Internet.
vijay
Posts: 5
Joined: 18. Sep 2009, 02:19
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: xp

Re: static IP similar to host

Post by vijay »

yes,
the host ubuntu is in private space of the NAT on the router with ip 10.221.212.1
my xp [10.0.2.15] is on ubuntu [ donno how the networking here is implemented ?? bridging ? i dont see any info on ifconfig ]


i also have another ubuntu 10.221.212.2 in the same private space of the same NAT/router.

from xp iam able to access google.com but not 10.221.212.2
vijay
Posts: 5
Joined: 18. Sep 2009, 02:19
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: xp

Re: static IP similar to host

Post by vijay »

gotcha
reading thru the pdf for bridging :)
vijay
Posts: 5
Joined: 18. Sep 2009, 02:19
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: xp

Re: static IP similar to host

Post by vijay »

ok i dont have "bridged netoworking" option my virtualbox GUI version is 1.5.6_OSE

is there an upgrade or something? iam running virtual box on ubuntu
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: static IP similar to host

Post by Perryg »

Older versions of VirtualBox like you are using called it host interface.
vijay
Posts: 5
Joined: 18. Sep 2009, 02:19
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: xp

Re: static IP similar to host

Post by vijay »

awesome
purged 2 x x
upgrade to 3
all good.


This is an awesome product ... ***** to sun micro

thanks.
Post Reply