PXE boot for Centos 7 on VirtualBox

Issues related to configuring your network
Post Reply
mahmood
Posts: 59
Joined: 2017/06/04 12:21:09

PXE boot for Centos 7 on VirtualBox

Post by mahmood » 2018/01/09 16:30:50

I have setup a test framework with VirtualBox. I have done this before (as far as I remember for Ubuntu). However, there are some problems with Centos7.

The server has two NIC. the first is set to internal network for clients to boot up. The dhcp server is running fine. I created another machine which has one NIC and I set that to internal network. I just enabled the network boot option for the client. As the client starts up with iPXE, I see these messages on the server log

Code: Select all

Jan  9 11:23:04 rocks-7 dhcpd: DHCPDISCOVER from 08:00:27:f7:53:d0 via enp0s3: network 10.1.1.0/24: no free leases
Jan  9 11:23:05 rocks-7 dhcpd: DHCPDISCOVER from 08:00:27:f7:53:d0 via enp0s3: network 10.1.1.0/24: no free leases
Jan  9 11:23:07 rocks-7 dhcpd: DHCPDISCOVER from 08:00:27:f7:53:d0 via enp0s3: network 10.1.1.0/24: no free leases
Jan  9 11:23:11 rocks-7 dhcpd: DHCPDISCOVER from 08:00:27:f7:53:d0 via enp0s3: network 10.1.1.0/24: no free leases
That MAC address is for the client. So, they are communicating! but dhcp doesn't assign an IP. The client finally fails with connection timeout.
What did I miss? Is that related to VirtualBox or Centos?

Post Reply