Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2007 09:50:18 +0100
From:      Tom Evans <>
To:        Peter Boosten <>
Cc:        FreeBSD Questions <>
Subject:   Re: "late filesystems" and switching net configs
Message-ID:  <1183539018.1213.7.camel@localhost>
In-Reply-To: <>
References:  <20070704052737.GB40018@demeter.hydra> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote:
> Chad Perrin wrote:
> > I have a couple of niggling little, er, "quirks" that I'd like to get
> > sorted out on my FreeBSD Thinkpad.
> >=20
> >   2. For some reason, if I use DHCP at all then want to switch back to =
> >   static IP setup, I have to restart the computer to get it to access t=
> >   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 ar=
> >   correct.
> >=20
> Check your default gateway when switching from DHCP to static. IIRC a
> /etc/rc.d/netif stop/start will recreate the default route.
> Peter

Not as I recall though. You will need to do a /etc/rc.d/routing restart
if your default router changes. The only time you might not need it is
when your routes are setup via DHCP.

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.4.7 (FreeBSD)



Want to link to this message? Use this URL: <>