Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 20:15:15 -0400
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        Steve Bertrand <iaccounts@ibctech.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: add route failed for ppp
Message-ID:  <20070718001515.GT18911@tigger.digitaltorque.ca>
In-Reply-To: <469CB739.9030606@ibctech.ca>
References:  <20070717010708.GR18911@tigger.digitaltorque.ca> <469CB739.9030606@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--bxfI0o3bCF0nmU/u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 17/07/07 Steve Bertrand said:

> What is the next hop for the route you are trying to add?
>=20
> 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.=20

tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet6 fe80::20a:e6ff:fe4a:56c2%tun0 prefixlen 64 scopeid 0x5=20
        inet6 2001:410:90fc:4:20a:e6ff:fe4a:56c2 prefixlen 64 autoconf=20
        inet 216.106.102.70 --> 209.87.255.1 netmask 0xffffffff=20
        Opened by PID 79728

It's on a different network certainly. But,=20

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.=20

Perhaps it's just complaining because the route is already there, and ppp
restarted.=20

Mike
--=20
Michael P. Soulier <msoulier@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

--bxfI0o3bCF0nmU/u
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFGnVuTKGqCc1vIvggRApJDAKCWb0Hatiw939Z8j1wIWdTnqDgBdgCeLMab
EGXAjI6B/z6lD1cE6H0HsyU=
=gkXJ
-----END PGP SIGNATURE-----

--bxfI0o3bCF0nmU/u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070718001515.GT18911>