Configuring DHCP



Hello all,

DHCP server on my network sends routes in rfc3442 format. So I have to configure NetworkManager to understand this format.

My /etc/dhcp3/dhclient.conf looks like this:

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

request subnet-mask, broadcast-address, routers,
        domain-name, domain-name-servers, host-name,
        netbios-name-servers, netbios-scope,
        rfc3442-classless-static-routes;

I also have script for setting this routes in /etc/dhcp3/dhclient-exit-hooks.d

But NetworkManager dont use this options. I found only way for making it work: to re-run dhclient by hand (or by script in /etc/network/if-up.d/ )

Tell me plz if there is better way.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]