Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 17:43:23 +0000
From:      Pollywog <lists-fbsd@shadypond.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: loopback won't enable automatically
Message-ID:  <200709051743.24064.lists-fbsd@shadypond.com>
In-Reply-To: <20070905161207.GB20668@slackbox.xs4all.nl>
References:  <200709050147.47555.lists-fbsd@shadypond.com> <20070905161207.GB20668@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 05 September 2007 16:12:07 Roland Smith wrote:
> On Wed, Sep 05, 2007 at 01:47:47AM +0000, Pollywog wrote:
> > I have to manually set the loopback interface after each reboot on one
> > machine (it is a laptop):
> >
> > ifconfig lo0 127.0.0.1 netmask 255.0.0.0
> >
> > Then everything is fine.
> >
> > I added ifconfig_lo0="127.0.0.1 netmask 255.0.0.0"  to /etc/rc.conf
> > but for unknown reasons it now looks like this and I still need to set
> > lo0 manually after reboots:
>
> Have you tried setting network_interfaces? Here's the relevant part of
> my rc.conf:
>
> # Network settings
> network_interfaces="lo0 rl0 rl1"
> ifconfig_lo0="inet 127.0.0.1"
> ifconfig_rl0="inet 10.0.0.150/24 polling"
> ifconfig_rl1="inet 192.168.0.1/24 polling"

Yes, that is how I fixed the problem, but I don't know why the problem 
occurred in the first place, since in /etc/default/rc.conf I have:

network_interfaces="auto"

Setting network_interfaces="lo0 vr0" in /etc/rc.conf fixed the problem


thanks

>
> HTH,
>   Roland





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709051743.24064.lists-fbsd>