1
1
I have been searching for a long time on this forum, and although there are many questions about the topic, I wasn't able to get a concrete solution to the problem.
I want to have multiple IP addresses assigned by DHCP to a single computer using a single network adapter. The purpose of this is that the computer emulates various end nodes involved in a network simulation.
I know that this must be possible, since virtual machine software like VMware can also use a virtual network adapter with its own MAC address bridged with the real network adapter of the host to get an external IP address for the virtual machine from DHCP. Also software like GNS3 can do those tricks, where it is possible to assign an external IP from DHCP to various simulated network nodes.
An often proposed solution is to use a Microsoft loop-back adapter in bridged mode with the real network adapter. However, I don't understand how this is supposed to work. If I install a loop-back adapter and bridge it with the real network adapter, a new 'multiplexor driver' adapter is created called 'Ethernet 3'. This adapter gets assigned an IP from the DHCP, however there is no sign of a second IP address for the virtual network adapter, nor for the real adapter.
I would be really happy if you can help me and explain how the solution of the loop-back adapter is supposed to work. If it can't work that way, I hope you can help me with another solution to achieve the same goal. I have read in many places that it is possible to setup, but nowhere a detailed solution is given that helps me out.
Thanks for you answer. I'm not very experienced with virtualisation, but it seems that the virtual switches you are talking about are meant to connect different virtual machines to a single real network adapter. Now is it also possible to connect a single real machine with different virtual network adapters to a single real network adapter? This way, the machine should be able to obtain multiple IP addresses from the DHCP. – Niels – 2015-05-20T07:00:03.887
Well, it seams that my processor is not even capable of running Hyper-V, although virtualisation is enabled in the BIOS. Furtermore, Open Virtual Switch seams to be only for Linux systems? – Niels – 2015-05-20T08:38:59.330
How to create virtual network using Virtualbox?: http://www.youtube.com/watch?v=bAxpBChGxas VMware Workstation Tutorial - VMware Virtual Network Overview: http://www.youtube.com/watch?v=QkKQrngBbbs ;Yes, Open Virtual Switch seams to be only for Linux systems. And may use virtual switch adapter without Hyper-V - Creating V-switches within the hyper-V environment fails: https://support.microsoft.com/en-us/kb/2486812
– STTR – 2015-05-20T21:15:14.660I know how to creat virtual networks for virtual machines, but that's not what I want. I want a virtual network for the real machine with multiple virtual network apdaters for the same real machine. How can I do that? – Niels – 2015-05-21T08:11:39.190