Different IP for bridge in Windows and Linux guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Cyberian
Posts: 49
Joined: 17. Dec 2008, 10:21
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Fedora

Different IP for bridge in Windows and Linux guest

Post by Cyberian »

I haven't found info about this specific topic, so I hope someone here can help me.

On my Windows host I created a network bridge so my linux guest can have access to other devices in the network.
Now I have following issue: While working in Windows I need to have an IP like 192.168.0.x but the Linux guest needs to work with an IP like 192.168.1.x
The IP in each cases is static.
Is it even possible to set different static IPs for guest and host of the bridged network?

P.S.: I'm aware that in this way I can't communicate with every device connected to the network but in my case it is a development environment and the bridged device is a seperate network device directly connect to a specific system, whereas for one i can work in Windows and for the other I need Linux.
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 »

You can only access a different network with the use of a router. You can also add a second HIF and put that in the range of the network you want to access.
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