Possible regression in ifconfig under7.0 - removes validdefault route

Jim Pingle lists at pingle.org
Mon Nov 17 14:23:46 PST 2008


Jeremy Chadwick wrote:
> Summary: confirmed.  Above two tests show that even if changing the IP
> to something else within the same network block, the default route is
> removed and not put back.
> 
> This is pretty major, if you ask me.

I've encountered similar issues before, and typically just added ";
/etc/rc.d/routing restart" or "&& /etc/rc.d/routing restart" after the
ifconfig statement just to be safe.

Typically I had adjusted rc.conf, then used "/etc/rc.d/netif restart;
/etc/rc.d/routing restart"

Jim



More information about the freebsd-stable mailing list