Page 1 of 1

Get TCP/IP Address from Route

Posted: 17. May 2011, 22:23
by flu
I tried to get a ipadress from my router on 192.168.1.1

host ist a win7 home premium 64 bit
virtualbox is 4.0.8 r71778
client openSUSE 11.4

my client has tow networkadapter (nat and bridget)
on my host i have definet a networkbridge

from my client I can accsess the internet but my ipaddress comes not from the router
where I have to configure the dhcp-server (routeraddress)
I tried in yast with Nameserver 1 or with a fixed address.

Any help out there? Thanks.
Stefan

Re: Get TCP/IP Address from Route

Posted: 17. May 2011, 22:56
by Sasquatch
You don't have to create a bridge on the Host in order to use Bridged network for the VM. Just open the VM settings, select Bridged option and select the real interface you want the VM to use for connectivity. That's it, your VM should get an IP address from your router. Do make sure that you have configured the interface for it, because if you have two interfaces defined in the VM, only one will be configured in Linux by default. So tell Yast to configure the other one as well. Or, disable the second adapter and leave the first attached to bridged. After all, NAT and bridged provide the same functionality at the end.

Re: Get TCP/IP Address from Route

Posted: 18. May 2011, 21:04
by flu
Thanks for answering
After disable my 2nd networkadapter and changing my first on bridge it works.
Now, I can se my tomcat from my host and use my virtual machine as homewebserver.