Date: Fri, 07 Sep 2001 13:53:24 +0930 From: David Hunt <davidh@apdata.com.au> To: freebsd-net@FreeBSD.ORG Subject: PPP not adding an interface route Message-ID: <3B984BBC.38C0FA7B@apdata.com.au>
next in thread | raw e-mail | index | archive | help
Hi All
I am running FreeBSD 4.4-RC, compiled on the 7-september and have found
that PPP is not adding a local interface route when the link comes up. I
am using a legal subnet as follows:
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet6 fe80::260:97ff:fe7b:3dc2%tun0 prefixlen 64 scopeid 0xa
inet 192.168.252.2 --> 192.168.252.1 netmask 0xfffffffc
Opened by PID 117
but the route table shows:
bash-2.04# netstat -arn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
127.0.0.1 127.0.0.1 UH 2 180 lo0
192.168.6 link#1 UC 1 0 xl0
192.168.6.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 xl0
192.168.252.1 192.168.252.2 UH 2 59 tun0
Internet6:
Destination Gateway Flags
Netif Expire
::1 ::1 UH
lo0
fe80::%xl0/64 link#1 UC
xl0
fe80::260:97ff:fe7b:3dc2%xl0 0:60:97:7b:3d:c2 UHL
lo0
fe80::%lo0/64 fe80::1%lo0 Uc
lo0
fe80::1%lo0 link#4 UHL
lo0
fe80::%tun0/64 fe80::260:97ff:fe7b:3dc2%tun0 Uc
tun0
fe80::260:97ff:fe7b:3dc2%tun0 link#10 UHL
lo0
ff01::/32 ::1 U
lo0
ff02::%xl0/32 link#1 UC
xl0
ff02::%lo0/32 ::1 UC
lo0
ff02::%tun0/32 fe80::260:97ff:fe7b:3dc2%tun0 UC
tun0
With the link up and able to ping the remote end 192.168.252.1 just fine
from the server, if you try to ping the local interface, you get the
following:
bash-2.04# ping 192.168.252.2
PING 192.168.252.2 (192.168.252.2): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- 192.168.252.2 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
bash-2.04# route -n get 192.168.252.2
route: writing to routing socket: No such process
Please indicate where the problem with this may be.
Thanks
David Hunt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B984BBC.38C0FA7B>
