Date: Thu, 30 Sep 1999 20:13:10 +0800 (WST) From: Michael Kennett <mike@laurasia.com.au> To: jcm@dogma.freebsd-uk.eu.org (J McKitrick) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ailing ppp connection....(still feeling like idiot ;-) Message-ID: <199909301213.UAA01311@laurasia.com.au> In-Reply-To: <Pine.BSF.4.02A.9909301242180.44324-100000@dogma.freebsd-uk.eu.org> from J McKitrick at "Sep 30, 1999 12:43:25 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Can anyone help me figure out what is wrong? Telnet says host unreachable. > Netscape says the same thing. > > Routing tables > Internet: > Destination Gateway Flags Refs Use Netif Expire > 10.65.44.64 216.164.168.36 UH 0 0 tun0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 I'll have a stab at the problem... Let's say that you want to send a packet to 12.34.45.67. The kernel, which has to route the packet, has a look in the routing table to determine the best path to the destination. In your routing table above, there is no entry which matches the address 12.34.56.67, so the kernel ditches the packet... it doesn't know how to handle it. So add in a 'default' route... $ route add default 10.65.44.64 Now when the kernel is sending a packet with the destination 12.34.45.67, it will use the 'default' route... hopefully, the gateway mentioned in the default route will be able to handle the packet. In your case, the default route points to the gateway with the address 10.65.44.64. Now, a search is done again on the routing table for the best way of sending packets to 10.65.44.64 (the gateway) -- and a match is found for the address 216.164.168.36, which is associated with the 'tun0' device. Hope this helps, Mike Kennett (mike@laurasia.com.au) > > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006 > inet 216.164.168.36 --> 10.65.44.64 netmask 0xffffff00 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > PS. It looks like you trim down your kernel -- the 'sl0', and 'ppp0' devices are being used. 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?199909301213.UAA01311>