From owner-freebsd-questions Tue May 2 21:21:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 60E1137B574 for ; Tue, 2 May 2000 21:21:51 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA10101; Wed, 3 May 2000 13:51:22 +0930 (CST) Date: Wed, 3 May 2000 13:51:22 +0930 From: Greg Lehey To: Dan Langille Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ping 127.0.0.1 => no route to host (fwd) Message-ID: <20000503135121.L8284@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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