Re: dhclient options in dispatcher scripts



On Tue, 2009-04-14 at 22:52 +0300, Nick Palamarchuk wrote:
> 
> On Tue, Apr 14, 2009 at 6:26 PM, Dan Williams <dcbw redhat com> wrote:
>         On Mon, 2009-04-13 at 23:21 +0300, Nick Palamarchuk wrote:
>         > Hello,
>         >
>         > I want to write some dispatcher scripts to add classless
>         static routes
>         > support for my connection.
>         
>         
>         The server doesn't push these down for you?
> 
> Yes, server does. And I have specific options in dhclient.conf for
> them:
> 
> option rfc3442-classless-static-routes code 121 = array of unsigned
> integer 8;

That part looks good; you'll want to grab NetworkManager 0.7.1, which
has the fix:

commit f2e8870338fbe7056bf511e8d2cd895b0e9335a8
Date:   Sun Jan 18 23:19:09 2009 -0500

    dhcp: handle classless static routes (bgo #567246)


And as long as you have the 'option rfc3442-classless-static-routes'
magic in your dhclient config for that interface, NM will do the right
thing.

dan




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