Date: Wed, 3 May 2000 13:51:22 +0930 From: Greg Lehey <grog@lemis.com> To: Dan Langille <dan@rock.ghis.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ping 127.0.0.1 => no route to host (fwd) Message-ID: <20000503135121.L8284@freebie.lemis.com> In-Reply-To: <Pine.BSF.4.21.0005022109500.57376-100000@rock.ghis.net> References: <Pine.BSF.4.21.0005022109500.57376-100000@rock.ghis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 2 May 2000 at 21:10:15 -0700, Dan Langille wrote: > I've just swapped a hard drive from a slower box to a faster box. The > networking on the new box is fuggered. All pings give no "route to host" > including 127.0.0.1. > > Here are the system details. Thanks. > > # uname -a > FreeBSD ducky.nz.freebsd.org 3.3-19991207-SNAP FreeBSD 3.3-19991207-SNAP > #1: Wed May 3 15:07:46 NZST 2000 > root@ducky.nz.freebsd.org:/usr/src/sys/compile/DUCKY40S i386 I was expecting that. There was a problem in 3.3 where loopback didn't get installed in /etc/rc.conf. You should be able to fix things immediately with: # ifconfig lo0 127.1 For lasting relief, make sure that you have this in your /etc/rc.conf: ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. You also *used* to need to set the name in the network_interfaces variable: network_interfaces="ed0 ed1 ep0 lo0 tun0 xl0" I'm not sure whether that still applied to 3.3 or not. If you have network_interfaces in /etc/rc.conf, make sure that it includes lo0. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000503135121.L8284>