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
Get TCP/IP Address from Route
-
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
Re: Get TCP/IP Address from Route
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.
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.
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.
-
flu
- Posts: 4
- Joined: 16. May 2011, 21:55
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: openSUSE
Re: Get TCP/IP Address from Route
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.
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.