add route failed for ppp
Michael P. Soulier
msoulier at digitaltorque.ca
Wed Jul 18 00:15:32 UTC 2007
On 17/07/07 Steve Bertrand said:
> What is the next hop for the route you are trying to add?
>
> This error generally means you have set a next-hop IP address of a
> subnet of which you are not directly connected, and either a previous
> line in your config(s) set an appropriate route (hisaddr for instance),
> or a later line in the process as to make things work.
Well, I guess it's supposed to set up my peer as the default gateway.
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet6 fe80::20a:e6ff:fe4a:56c2%tun0 prefixlen 64 scopeid 0x5
inet6 2001:410:90fc:4:20a:e6ff:fe4a:56c2 prefixlen 64 autoconf
inet 216.106.102.70 --> 209.87.255.1 netmask 0xffffffff
Opened by PID 79728
It's on a different network certainly. But,
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 209.87.255.1 UGS 0 1276106 tun0
127.0.0.1 127.0.0.1 UH 0 619391 lo0
192.168.1 link#1 UC 0 0 sis0
192.168.1.2 00:0a:e6:4a:56:c2 UHLW 1 19380 lo0
192.168.1.3 00:20:78:1f:32:55 UHLW 1 29836087 sis0 816
192.168.1.4 00:0d:56:6c:2d:0e UHLW 1 3042 sis0 945
192.168.1.199 00:14:bf:7f:da:42 UHLW 1 1307213 sis0 1195
209.87.255.1 216.106.102.70 UH 1 0 tun0
it did put the default route in place.
Perhaps it's just complaining because the route is already there, and ppp
restarted.
Mike
--
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070718/7a7c051a/attachment.pgp
More information about the freebsd-questions
mailing list