rhel7 pxe boot issue with dhcp gets wrong address

I am trying to setup a new PXE boot setup and all seems to be okay, but when it tries to get kickstart file, it says network unreachable

enter image description here

when I am looking at dhcp logs it says it’s getting worng network

Jan 18 02:39:24 rhel7m dhcpd: DHCPDISCOVER from 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:25 rhel7m dhcpd: DHCPOFFER on 192.168.5.10 to 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:26 rhel7m dhcpd: DHCPREQUEST for 192.168.5.10 (192.168.5.111) from 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:26 rhel7m dhcpd: DHCPACK on 192.168.5.10 to 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:26 rhel7m in.tftpd[2912]: tftp: client does not accept options
Jan 18 02:39:35 rhel7m dhcpd: DHCPDISCOVER from 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:35 rhel7m dhcpd: DHCPOFFER on 192.168.5.10 to 00:0c:29:ae:dd:83 via eno16777736
Jan 18 02:39:35 rhel7m dhcpd: DHCPREQUEST for 192.168.130.128 (192.168.130.254) from 00:0c:29:ae:dd:83 via eno16777736: wrong network.
Jan 18 02:39:35 rhel7m dhcpd: DHCPNAK on 192.168.130.128 to 00:0c:29:ae:dd:83 via eno16777736

[root@rhel7m ~]# cat /etc/dhcp/dhcpd.conf
#option domain-name-servers 145.253.2.75, 193.174.32.18;

default-lease-time 86400;
max-lease-time 604800;

authoritative;

subnet 192.168.5.0 netmask 255.255.255.0 {
        range 192.168.5.10 192.168.5.49;
        filename "pxelinux.0";
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.5.255;
        option routers 192.168.5.111;
}

any thoughts please?

Related:


Leave a Reply