At first DHCP should work on SAN. We use PXE server as DHCP server.
Run compute unit. On PXE boot attempt no ip address shold be assigned.
If IP-address is assigned that means that previous step is not completed, virtualization host is interact with "pxenet" network.
Install kea-dhcp-server service according to BLFS book.
cd /usr/share/blfs-systemd-units make install-kea-dhcpd
Open /etc/kea/dhcp4.conf
Define interfaces
"Dhcp4": {
// Add names of your network interfaces to listen on.
"interfaces-config": {
"interfaces": [ "eth1" ]
},
Define DHCP requests hahdling in "pxenet"
"subnet4": [
{
"id": 1001, // Each subnet requires a unique numeric id
"subnet": "192.168.180.0/24",
"pools": [ { "pool": "192.168.180.100 - 192.168.180.200" } ],
"option-data": []
}
],
Save changes
Enable and start service
systemctl enable kea-dhcp4-server
systemctl start kea-dhcp4-server
Run compute unit. On PXE boot attempt ip address should be assigned.
If IP-address is not assigned check kea configuration on PXE server and compute unit connection to "pxenet" network.