Real IP - Help!

Discussions related to using VirtualBox on Linux hosts.
Post Reply
javierg
Posts: 5
Joined: 13. Aug 2008, 07:09

Real IP - Help!

Post 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!
egandb
Posts: 7
Joined: 13. Jun 2008, 17:21

RTFM! (Read The Frickin' Manual)

Post 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!
javierg
Posts: 5
Joined: 13. Aug 2008, 07:09

Re: RTFM! (Read The Frickin' Manual)

Post 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?
egandb
Posts: 7
Joined: 13. Jun 2008, 17:21

RE: TCP/IP Settings

Post 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. :)
javierg
Posts: 5
Joined: 13. Aug 2008, 07:09

Re: RE: TCP/IP Settings

Post 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...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply