Page 1 of 1

Real IP - Help!

Posted: 13. Aug 2008, 07:22
by javierg
Hi friends.. well, my english is not so good, but wetever...

I traying to run Vbox on ubuntu 8.04 and was succes setup windows XP... Its working, windows runs, but i need a real ip for the virtual machine, i need see on the lan my virtual windows for development requieres... I read this but its not working, i cant see my virtual windows on the lan.

So, what can i do ?

PD: I have 2 options if you can help me with one or another:

First case I'm conected directly to my adsl modem, and another its i can connect my machine with a router.

Greatings!

RTFM! (Read The Frickin' Manual)

Posted: 13. Aug 2008, 14:27
by egandb
Carefully study section 6, Virtual networking of the VirtualBox manual and pay very close attention to the "Host Interface Networking" section 6.5.

Brief Overview:
1.) Create a networking bridge on the host.
2.) Create a virtual interface on your host for your guest OS.
3.) Add the new virtual interface to the host's new bridge.
3.) Specify the name of the virtual interface in the settings of the virtual
machine’s virtual network card in the guest OS settings.

…again, carefully follow the directions, and you should be able to get it running.

I have two guest OS's using Host Interface Networking, and they're working great!

Good luck!

Re: RTFM! (Read The Frickin' Manual)

Posted: 13. Aug 2008, 23:13
by javierg
egandb wrote: Good luck!
Thank you egandb for your answer... my last question is: my virtual windows tcp/ip settings have to be dchp? or i have to assign it a static address?

RE: TCP/IP Settings

Posted: 14. Aug 2008, 14:48
by egandb
It depends on your network and your needs. If you don't have a DHCP server on your system already, then of course you'll need to set a static IP address, netmask, gateway and DNS hosts; otherwise, I don't think the host system cares what happens. Just make sure you don't assign the same IP address to two different machines, virtual or real. :)

Re: RE: TCP/IP Settings

Posted: 1. Sep 2008, 22:19
by javierg
egandb wrote:It depends on your network and your needs. If you don't have a DHCP server on your system already, then of course you'll need to set a static IP address, netmask, gateway and DNS hosts; otherwise, I don't think the host system cares what happens. Just make sure you don't assign the same IP address to two different machines, virtual or real. :)
Hi egandb... it me again!... jeje... well thank so much for your help... I did the bridge and everythings runs ok, im connected to a router whit DHCP an my /etc/network/interfaces file its this:

auto eth0
iface eth0 inet dhcp

#auto br0
#iface br0 inet dhcp
#bridge_ports eth0

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

auto lo
iface lo inet loopback

I have commented the bridge cause my router had problemas a now im conected directly by pppoe... My question is: Can i have internet and the bridge without problems?... I did the bridge, but the internet performace going down... i dont know why...

In summary i need:

1. Internet for my host
2. Internet for the VM
3. Nice Internet performace (pppoe).

Thank you my friend... my msn is javierz.ag@gmail.com if you add my would good for direct help!...

See you...

Posted: 1. Sep 2008, 22:58
by Sasquatch
Javierg, if possible, let your modem/router create the PPoE connection for you, so your system won't have to. It depends on the make of your modem/router to be possible. Look for the exact type on Google (or your favorite search engine) to see if it's possible and how to set it up. That way, you can use eth0 directly and with a bridge to the VM. The internet performance should be ok too.