On Wed, Nov 05, 2014 at 01:23:20PM EST, Jason Adams wrote:
> On 11/05/2014 07:48 AM, Stefan Olsson wrote:
> > is it not enough to just append the following to /etc/dhclient.conf?:
                                                          ^^^^^^^^^^^^^

> > interface "em0" {
> > ignore routers;
> > }
> 
> Without the encapsulating {} braces, it does NOT work.
> No documentation on hostname.if suggested using braces, so it never
> occurred to me.

As above - you are looking in the wrong place.

man 5 dhclient.conf

OTHER DECLARATIONS
    [...]
    interface "name" { declaration; ...; }
            A client with more than one network interface may require
            different behaviour depending on which interface is being
            configured. [...]

Regards,

rjc

Reply via email to