my Guest BS is an SuSE 9.3 and the Host is running under XP SP2.
Now i have a NIC in my host, where an embedded System is connected to.
The Embedded System is trying to get an IP from the DHCP Server which is running on the guest system in the virtual box.
But every configuration i tried does not work.
internet access from the virtual Machine works fine and a Ping is also workin in both directions.
Where is my mistake?
Axel
DHCP on the Guest and Client behind a host NIC
-
- Posts: 5
- Joined: 31. May 2007, 20:08
Could it be that the creating of Host interfaces is buggy in Virtual Box?
Everytime when i trie to install an virtual Host interface i get an error message like this:
Assertion failed: [VBOX_SUCCESS (vrc)] at 'E:\vbox\1.3-w32-rel\src\VBox\Main\MachineImpl.cpp' (4087) in Machine::openConfigLoader.
VERR_OPEN_FAILED (-101) - File/Device open failed..
Please contact the product vendor!.
Result Code:
E_FAIL (0x80004005)
Component:
Machine
Interface:
IMachine {fd443ec1-0009-4f5b-9282-d72760a66916}
Everytime when i trie to install an virtual Host interface i get an error message like this:
Assertion failed: [VBOX_SUCCESS (vrc)] at 'E:\vbox\1.3-w32-rel\src\VBox\Main\MachineImpl.cpp' (4087) in Machine::openConfigLoader.
VERR_OPEN_FAILED (-101) - File/Device open failed..
Please contact the product vendor!.
Result Code:
E_FAIL (0x80004005)
Component:
Machine
Interface:
IMachine {fd443ec1-0009-4f5b-9282-d72760a66916}
-
- Volunteer
- Posts: 180
- Joined: 17. May 2007, 16:02
Re: DHCP on the Guest and Client behind a host NIC
Can you rephrase the question ? What is the problem ?belatronix wrote:my Guest BS is an SuSE 9.3 and the Host is running under XP SP2.
Now i have a NIC in my host, where an embedded System is connected to.
The Embedded System is trying to get an IP from the DHCP Server which is running on the guest system in the virtual box.
But every configuration i tried does not work.
internet access from the virtual Machine works fine and a Ping is also workin in both directions.
Where is my mistake?
Axel
You say "internet access from the virtual Machine works fine and a Ping is also workin in both directions." so what is the problem ?
If you want your guest ot have a local IP, from your LAN (local dhcp server), I suggest you look into a bridged network connection.
If is a virtual machine, is it still broken ?
-
- Volunteer
- Posts: 180
- Joined: 17. May 2007, 16:02
-
- Posts: 5
- Joined: 31. May 2007, 20:08
The Embedded System is trying to get an IP from the DHCP Server which is running on the guest system in the virtual box.
That doesn´t work!
Pings from the host side to the guest´s and back are workin!
DHCP not!
But the same configuration on my laptop only with Linux and two cards works well!
You see, no broken Connection between Brain and Keyboard!
-
- Volunteer
- Posts: 180
- Joined: 17. May 2007, 16:02
LOL, no offense intended, I have brain farts myself from time to timebelatronix wrote:
The Embedded System is trying to get an IP from the DHCP Server which is running on the guest system in the virtual box.
That doesn´t work!
Pings from the host side to the guest´s and back are workin!
DHCP not!
But the same configuration on my laptop only with Linux and two cards works well!
You see, no broken Connection between Brain and Keyboard!
I do not understand the problem. You say the connection of working with linux.
If is a virtual machine, is it still broken ?
-
- Posts: 5
- Joined: 31. May 2007, 20:08
Problems are solved!
To use an DHCP running on the Guest BS from outside of the Host i define an TAP Interface in the Virtual Box. The new generated Device on the Host System has to connect over a bridge with the host device (select both interfaces and press the right Button on your Mouse!)
Both interfaces must get their IP´s from an DHCP, which is the DHCP on the Guest System. Now you can use this DHCP Service on your Host NIC without an DHCP Relay Agent!
Bela
To use an DHCP running on the Guest BS from outside of the Host i define an TAP Interface in the Virtual Box. The new generated Device on the Host System has to connect over a bridge with the host device (select both interfaces and press the right Button on your Mouse!)
Both interfaces must get their IP´s from an DHCP, which is the DHCP on the Guest System. Now you can use this DHCP Service on your Host NIC without an DHCP Relay Agent!
Bela