DragonFly BSD
DragonFly users List (threaded) for 2013-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: router doesn't work if rebooted while network is down

From: Pierre Abbat <phma@xxxxxxxxxxxx>
Date: Sat, 15 Jun 2013 23:36:55 -0400

On Saturday, June 15, 2013 11:55:01 Matthew Dillon wrote:
>     What is happening is that the cable modem is serving a non-routable
>     IP address to your computer when the cable modem does not have
>     connectivity, instead of the routable address it would normally serve
>     out.
>     The easiest solution is to tell your computer's dhclient to not accept
>     that broken address, so dhclient just tries forever until it gets the
>     real address.
>     You can do this via /etc/dhclient.conf like this:
> # specify the correct interface here
> #
> interface "em0" {
>         supersede routers;
>         request subnet-mask;
>         require subnet-mask;
>         reject;
>         reject;
> }
>     Where you have a reject line for the IP the cable modem would otherwise
>     try to assign you.

If I do that, will it stick for hours in the boot sequence until the cable 
signal comes back? Or will the pf rules fail because em0 has no address?

The lease time for 100.1 is a minute. When the signal comes back, I get a real 
address shortly.

loi mintu se ckaji danlu cu jmaji

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