Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a host machine(windows) which has a rhel6 guest running in virtual box. I want to boot my laptop through PXE server configured in this guest machine. I have configured all the necessary servers for pxe boot in the rhel guest but unable to figure out how will the laptop get the IP from the dhcp server running in rhel. The adapter should be in Bridged or NAT mode ?? I can ping the host from the guest but I have no idea how will my laptop (connected physically to the windows machine),will be able to communicate with the virtual machine.

share|improve this question
up vote 2 down vote accepted

Best/easy way is to switch it in bridge mode so both DHCP request broadcast and TFTP requests can reach the virtual server.

share|improve this answer
Just to clarify, this will not work at all unless you use Bridge mode. – fukawi2 Sep 3 '13 at 4:44
In some complicated situations - it will. This is simple desktop case. – GioMac Sep 3 '13 at 4:46
This is whta my dhcpd.conf looks like : subnet netmask { option routers; option domain-name-servers; option subnet-mask; range dynamic-bootp; filename "/pxelinux.0"; next-server; } do I necessarily have to aasign a static IP to my rhel machine(which is in bridged mode), and will my host network card abel to get the IP from the guests dhcp server ?? – Gr33n Sep 3 '13 at 6:05
this is dhcpd configuration, do you need some help? – GioMac Sep 3 '13 at 6:06
Yes, it must be static, otherwise you have to change dhcpd configuration on every new ip address assigned to the server – GioMac Sep 3 '13 at 6:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.