Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2007 07:59:41 +0200
From:      Peter Boosten <peter@boosten.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: "late filesystems" and switching net configs
Message-ID:  <468B374D.3020202@boosten.org>
In-Reply-To: <20070704052737.GB40018@demeter.hydra>
References:  <20070704052737.GB40018@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad Perrin wrote:
> I have a couple of niggling little, er, "quirks" that I'd like to get
> sorted out on my FreeBSD Thinkpad.
> 
>   2. For some reason, if I use DHCP at all then want to switch back to my
>   static IP setup, I have to restart the computer to get it to access the
>   Internet.  I haven't been able to figure out why.  If I recall
>   correctly, I can switch to static IP on bge0 and access other systems
>   on the network, but I can't do anything related to the Internet.  Yes,
>   by the way, I am checking to make sure the contents of resolv.conf are
>   correct.
> 

Check your default gateway when switching from DHCP to static. IIRC a
/etc/rc.d/netif stop/start will recreate the default route.

Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468B374D.3020202>