Date: Wed, 17 May 1995 17:44:36 -0400 From: Vivek Khera <khera@kciLink.com> To: freebsd-bugs@FreeBSD.org Subject: networking failure Message-ID: <199505172144.RAA00210@pokey.kciLink.com>
next in thread | raw e-mail | index | archive | help
Hi there. I've got FreeBSD running on an old laptop. It is amazing that an old 386sx with 4Mb of RAM and an 80Mb hard drive can be so useful! Anyhow, I've hardwired my laptop using a null modem to one of my servers to connect to the internet using ppp. I noticed that when the connection is down, the laptop cannot talk to itself other than on the localhost address. I've included a typescript output to demonstrate. When the PPP link is down, I cannot ping myself using the non-loopback address. When the PPP link is up, I can. The routes look right, and it does find its own name. It just never makes the connection. I can ping localhost (127.0.0.1) but not the 204.117.82.6 address in the case when PPP is down. It just seems as if it is ignoring the routing table when the network is down. Here's my configuration: FreeBSD 2.0.950412-SNAP #0: Thu May 4 21:33:43 EDT 1995 khera@pokey.kciLink.com:/usr/src/sys/compile/POKEY Here's the typescript which demonstrates the error. Thanks for any insight into how to fix this problem. Script started on Wed May 17 17:23:45 1995 [pokey]~% netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 1 0 lo0 204.117.82.6 127.0.0.1 UGHS 0 3 lo0 [pokey]~% netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lp0* 1500 <Link> 0 0 0 0 0 lo0 16384 <Link> 3 0 3 0 0 lo0 16384 127 127.0.0.1 3 0 3 0 0 ppp0* 1500 <Link> 0 0 0 0 0 [pokey]~% ping pokey PING pokey.kciLink.com (204.117.82.6): 56 data bytes ^C --- pokey.kciLink.com ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss [pokey]~% traceroute pokey traceroute to pokey.kciLink.com (204.117.82.6), 30 hops max, 40 byte packets 1 * * * 2 *^C [pokey]~% pppd [pokey]~% netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 204.117.82.5 UGc 0 0 ppp0 127.0.0.1 127.0.0.1 UH 1 0 lo0 204.117.82.5 204.117.82.6 UH 1 0 ppp0 204.117.82.6 127.0.0.1 UGHS 0 13 lo0 [pokey]~% netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lp0* 1500 <Link> 0 0 0 0 0 lo0 16384 <Link> 13 0 13 0 0 lo0 16384 127 127.0.0.1 13 0 13 0 0 ppp0 1500 <Link> 5 0 6 0 0 ppp0 1500 204.117.82 204.117.82.6 5 0 6 0 0 [pokey]~% ping pokey PING pokey.kciLink.com (204.117.82.6): 56 data bytes 64 bytes from 204.117.82.6: icmp_seq=0 ttl=255 time=2.259 ms 64 bytes from 204.117.82.6: icmp_seq=1 ttl=255 time=2.439 ms 64 bytes from 204.117.82.6: icmp_seq=2 ttl=255 time=2.331 ms 64 bytes from 204.117.82.6: icmp_seq=3 ttl=255 time=2.350 ms ^C --- pokey.kciLink.com ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 2.259/2.344/2.439 ms [pokey]~% traceroute pokey traceroute to pokey.kciLink.com (204.117.82.6), 30 hops max, 40 byte packets 1 pokey (204.117.82.6) 3.332 ms 2.514 ms 2.364 ms [pokey]~% exit Script done on Wed May 17 17:25:22 1995 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-309-0969 PGP/RIPEM/MIME spoken here http://www.kciLink.com/home/khera/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505172144.RAA00210>