Date: Wed, 21 Jun 2000 21:09:25 -0700 (PDT) From: The Clark Family <res03db2@gte.net> To: cjclark@alum.mit.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Confused by Loopback Message-ID: <Pine.BSF.4.21.0006212107220.46613-100000@orthanc.dsl.gtei.net> In-Reply-To: <20000621205221.A43715@pool0586.cvx20-bradley.dialup.e>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006212107220.46613-100000>