On November 5, 2014 7:23:20 PM CET, Jason Adams <adams...@gmail.com> wrote:
>On 11/05/2014 07:48 AM, Stefan Olsson wrote:
>>> That needs to go in a dhclient config file, you'll need different
>config
>>> files for each interface and run dhclient from a hostname.if line
>like
>>> "!dhclient -c /etc/dhclient-nogw em0".
>> 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.

Well, this isn't hostname.if...

/Alexander

>
>I'll try with your syntax, but to date nothing has been reliable other
>than
>switching cat 5 cable.

Reply via email to