I am bit new to this and trying to setup PXE server on Ubuntu 14.04 VM using Virtual Box 4.3. For this I have followed following link for my installation: PXE Boot Server Installation Steps in Ubuntu Server VM

  1. Installed Virtual Box on Mac Yosemite.
  2. Deployed Ubuntu VM 14.04 on Virtual box.
  3. Installed and configured DHCP server on Ubuntu. Edited /etc/default/isc-dhcp-server for eth0.

    dhcp.d has following configuration

    default-lease-time 600;
    max-lease-time 7200;
    subnet netmask {
        option subnet-mask;
        option routers;
        option broadcast-address;
        filename "pxelinux.0";
  4. Configured static IP address on Ubuntu VM

    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback
    auto eth0
    iface eth0 inet static
  5. Setup TFTP service

    # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
    tftp    dgram   udp wait    root    /usr/sbin/in.tftpd  /usr/sbin/in.tftpd -s /var/lib/tftpboot
  6. Added PXE boot files with following structure

     |-- pxelinux.0
     |-- pxelinux.cfg/
     |   `-- default
     `-- pmagic/
         |-- bzimage
         `-- initramfs
  7. On Mac configured en06 interface with

    IP Addr:
    Router :
    DNS Server

made network adapter bridged on virtual box. Disabled WiFi.

  1. Host and VM both can ping each other now.
  2. Connected Mac with Cat6 Ethernet cable to remote Lenovo machine which I want to PXE boot.
  3. When I try to boot Lenovo using PXE as first preference it show error that:

    no dhcp offer received

Could you help me here to figure out what I am missing? Thanks

1 Answer 1


1G network card may let you connect both laptop using a direct cable. But for some 100M network cards and most old ones you have to use a crossover cable.

I'm not sure about this, but i have noticed that sometimes DHCP daemon get killed when network connection drops while reboot/reset of the client machine, I would recommend placing an Ethernet switch between the two machines.

If you don't have switch, here what I used to make it works:

  1. Power on VM PXE server
  2. Power on PXE client machine
  3. Wait to get no IP error
  4. Restart DHCP service in VM PXE server
  5. Try Reset PXE client machine multiple times till it gets an IP (don't power off, some brands accept Ctrl+Alt+Del for reset)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .