Hi there,
i have some server with 2 NIC´s but several IP´s configured as
eth0:0
eth0:1
or
eth0:blabla
I would like to assign IPs to virtual machines.
Is there any prefered way ?
cheers
Ralf
Host Networks and multi-IP config / aliases
second shot... maybe question is unclear..
i have a host (Linux) with 1 physical interface and several IP´s boudn to that.
i want to redirect some IP´s to a virtual box (all ports, dedicatet, only the virtual guest makes use of the IP).
wich would be the best method to do that, speaking about 2.14 ?
cheers,
Ralf
i have a host (Linux) with 1 physical interface and several IP´s boudn to that.
i want to redirect some IP´s to a virtual box (all ports, dedicatet, only the virtual guest makes use of the IP).
wich would be the best method to do that, speaking about 2.14 ?
cheers,
Ralf
-
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
That's a simple one. Use HIF (Host Interface). With that, your VM will become part of the network, so it can be reached using it's own IP address. See the manual for how to set it up (really easy actually).
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.
maybe i am blond...
but as i understand the manual and the vbox GUI, host interface means:
take this physical piece of network adapter and redirect alle traffic to the virtual guest.
that is not what i want. i have only 1 physical interface and several ips to be distributet to several wirtual guests, so each one has an unfiltered dedicated ip.
that way:
take that physical interface and just keep an eye on all traffic to the IP x.y.z.a , that is configured in the virtual guest.
or did i get it wrong and the setting just means: connect (like a hub) to this interface and do whatever the virtual guest configuration tells you - leave all other traffic on that interface untouched ??
cheers,
Ralf
--
visit me:
osgrid: Sharkland Tropical 1 SL: Great white shark
German opensim HowTo: http://www.ralf-haifisch.biz/Opensim%20HowTo.shtml
Cybertechnews blog: http://opensim.cybertechnews.org/
but as i understand the manual and the vbox GUI, host interface means:
take this physical piece of network adapter and redirect alle traffic to the virtual guest.
that is not what i want. i have only 1 physical interface and several ips to be distributet to several wirtual guests, so each one has an unfiltered dedicated ip.
that way:
take that physical interface and just keep an eye on all traffic to the IP x.y.z.a , that is configured in the virtual guest.
or did i get it wrong and the setting just means: connect (like a hub) to this interface and do whatever the virtual guest configuration tells you - leave all other traffic on that interface untouched ??
cheers,
Ralf
--
visit me:
osgrid: Sharkland Tropical 1 SL: Great white shark
German opensim HowTo: http://www.ralf-haifisch.biz/Opensim%20HowTo.shtml
Cybertechnews blog: http://opensim.cybertechnews.org/
-
klingoncowboy4
- Posts: 31
- Joined: 18. Feb 2009, 21:53
- Primary OS: Fedora 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 2000, Windows Xp, Debian Linux, Windows Server 2003
- Location: Alberta, Canada
Having played with "interface" modes in both virtual box and vmwares's ESX I have a fairly clear idea of how it runs.
With this mode you will get the interface shared between the host and and guest you have configured to use it. They will appear on the network as separt devices with their own MACs. You should be able to run in interface mode and reassign one of the ip addresses to the MAC address virtual box gives to your VM. That is how I am running mine. I have 2 VMs on my comp each using the same interface (however due to memory constraints I only run one at a time). On my brothers comp he runs one VM in this mode. All of them hosts and VMs have addresses assigned to their respective MACs in the router.
With this mode you will get the interface shared between the host and and guest you have configured to use it. They will appear on the network as separt devices with their own MACs. You should be able to run in interface mode and reassign one of the ip addresses to the MAC address virtual box gives to your VM. That is how I am running mine. I have 2 VMs on my comp each using the same interface (however due to memory constraints I only run one at a time). On my brothers comp he runs one VM in this mode. All of them hosts and VMs have addresses assigned to their respective MACs in the router.
thanks a lot, works great...
cheers,
Ralf
cheers,
Ralf
--
visit me:
osgrid: Sharkland Tropical 1 SL: Great white shark
German opensim HowTo: http://www.ralf-haifisch.biz/Opensim%20HowTo.shtml
opensource 3d web: http://www.maxping.org/
visit me:
osgrid: Sharkland Tropical 1 SL: Great white shark
German opensim HowTo: http://www.ralf-haifisch.biz/Opensim%20HowTo.shtml
opensource 3d web: http://www.maxping.org/