route_enable vs dhclient

Volodymyr Kostyrko c.kworr at gmail.com
Wed Jul 15 17:31:57 UTC 2009


Hi all.

Back before in the days of 7.2 I have found that configuring dchlient 
via dhclient.conf have a drawback - you can't add manual routes that 
would be enabled after acquiring the address. Now in 8.0 routing is 
initialized just before dhclient resulting in:

route: writing to routing socket: Network is unreachable
add net 172.16: gateway 172.24.14.254: Network is unreachable
route: writing to routing socket: Network is unreachable
add net 193.33.172: gateway 172.24.14.254: Network is unreachable
Additional routing options: IP gateway=YES.
DHCPREQUEST on fxp0 to 255.255.255.255 port 67
DHCPACK from 172.24.14.254
bound to 172.24.14.13 -- renewal in 43200 seconds.
Waiting 30s for the default route interface: .............................

Can someone revert the old behavior where routing turns in after 
enabling dhcp on interfaces?

-- 
Sphinx of black quartz judge my vow.



More information about the freebsd-current mailing list