add route failed for ppp

Michael P. Soulier msoulier at
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 --> netmask 0xffffffff 
        Opened by PID 79728

It's on a different network certainly. But, 

Destination        Gateway            Flags    Refs      Use  Netif Expire
default         UGS         0  1276106   tun0          UH          0   619391    lo0
192.168.1          link#1             UC          0        0   sis0        00:0a:e6:4a:56:c2  UHLW        1    19380    lo0        00:20:78:1f:32:55  UHLW        1 29836087   sis0    816        00:0d:56:6c:2d:0e  UHLW        1     3042   sis0    945      00:14:bf:7f:da:42  UHLW        1  1307213   sis0   1195     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

Michael P. Soulier <msoulier at>
"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 :

More information about the freebsd-questions mailing list