From owner-freebsd-questions Wed Jun 21 21: 9:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtppop2.gte.net (smtppop2pub.gte.net [206.46.170.21]) by hub.freebsd.org (Postfix) with ESMTP id EFCB137C154 for ; Wed, 21 Jun 2000 21:09:38 -0700 (PDT) (envelope-from res03db2@gte.net) Received: from evrtwa1-ar4-146-005.dsl.gtei.net (evrtwa1-ar4-146-005.dsl.gtei.net [4.34.146.5]) by smtppop2.gte.net with ESMTP ; id WAA5090068 Wed, 21 Jun 2000 22:17:54 -0500 (CDT) Date: Wed, 21 Jun 2000 21:09:25 -0700 (PDT) From: The Clark Family X-Sender: res03db2@orthanc.dsl.gtei.net To: cjclark@alum.mit.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Confused by Loopback In-Reply-To: <20000621205221.A43715@pool0586.cvx20-bradley.dialup.e> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do you have an lo0 device in rc.conf? There was a bug (for a while) that caused lo0 to not be setup? People sometimes delete lo0 from their rc.conf. I'd expect a netstat -in to show up the loopback pseudo-device. [RC] On Wed, 21 Jun 2000, Crist J. Clark wrote: > I think I must be missing something... But I am not sure what. > > My loopback is configured so, > > $ ifconfig lo0 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > But if I look at the routing table, > > $ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 207.217.148.27 UGSc 11 22 tun0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 207.217.148.27 209.179.254.29 UH 12 0 tun0 > > Notice there is no LAN entry for the 127-net like the ifconfig(8) mask > says. So if I were to do something silly like, > > $ ping 127.0.0.2 > > It goes out over the tun0 interface. I noticed this because for some > perverse reason I tried, > > $ ping 127.255.255.255 > > And started getting replies from other hosts! I tried a traceroute(8) > and watched 127.0.0.2 packets make their happy way out towards the > I'net. > > Tell me I'm missing something silly here. > -- > Crist J. Clark cjclark@alum.mit.edu > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message