duplicate network route on DHCP client.

Latest response

Noob alert!!!!

I've configured a DHCP server to boot a test server but it comes with a duplicated route to the network, here is my config:

dhcpd.conf


allow booting; allow bootp; # option definitions common to all supported networks... option domain-name "xxxx.xxx.com"; option domain-name-servers 10.x.x.x, 10.x.x.x, 10.x.x.x; default-lease-time 10; max-lease-time 7200; # Use this to enble / disable dynamic dns updates globally. ddns-update-style none; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 10.59.32.0 netmask 255.255.254.0 { option routers 10.59.32.1; option broadcast-address 10.59.33.255; option subnet-mask 255.255.254.0; host vldloginf105 { option host-name "vldloginf105.xxxxt.xxx.com"; hardware ethernet 00:50:56:AD:45:A4; fixed-address 10.59.32.38; filename "pxelinux.0"; } }

Responses

when the DHCP client boots, it comes up with the following route table:

[root@vldloginf105 ~]# ip route show
default via 10.59.32.1 dev ens192 proto static metric 100
10.59.32.0/23 dev ens192 proto kernel scope link src 10.59.32.38
10.59.32.0/23 dev ens192 proto kernel scope link src 10.59.32.38 metric 100

thnx

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.