Re: add route failed for ppp

2007-07-17 Thread Steve Bertrand
Michael P. Soulier wrote:
 Hi,
 
 I'm on an ADSL connection at home, and ppp in BSD is working great. But, I get
 this in the logs. 
 
 Jul 16 17:34:54 kanga ppp[79728]: Phase: Pap Input: SUCCESS ()
 Jul 16 17:34:54 kanga ppp[79728]: Phase: deflink: lcp - open
 Jul 16 17:34:54 kanga ppp[79728]: Phase: bundle: Network
 Jul 16 17:34:54 kanga ppp[79728]: Warning: Add! route failed: 0.0.0.0/0:
 errno: Network is unreachable
 
 Now, everything is working fine, but I'm wondering why ppp is complaining
 about not being able to set up the route. 

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.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: add route failed for ppp

2007-07-17 Thread Michael P. Soulier
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=8051UP,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 0x 
Opened by PID 79728

It's on a different network certainly. But, 

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default209.87.255.1   UGS 0  1276106   tun0
127.0.0.1  127.0.0.1  UH  0   619391lo0
192.168.1  link#1 UC  00   sis0
192.168.1.200:0a:e6:4a:56:c2  UHLW119380lo0
192.168.1.300:20:78:1f:32:55  UHLW1 29836087   sis0816
192.168.1.400:0d:56:6c:2d:0e  UHLW1 3042   sis0945
192.168.1.199  00:14:bf:7f:da:42  UHLW1  1307213   sis0   1195
209.87.255.1   216.106.102.70 UH  10   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 [EMAIL PROTECTED]
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


pgpkyHuHwdCyq.pgp
Description: PGP signature


add route failed for ppp

2007-07-16 Thread Michael P. Soulier
Hi,

I'm on an ADSL connection at home, and ppp in BSD is working great. But, I get
this in the logs. 

Jul 16 17:34:54 kanga ppp[79728]: Phase: Pap Input: SUCCESS ()
Jul 16 17:34:54 kanga ppp[79728]: Phase: deflink: lcp - open
Jul 16 17:34:54 kanga ppp[79728]: Phase: bundle: Network
Jul 16 17:34:54 kanga ppp[79728]: Warning: Add! route failed: 0.0.0.0/0:
errno: Network is unreachable

Now, everything is working fine, but I'm wondering why ppp is complaining
about not being able to set up the route. 

Thanks,
Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
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


pgpH5FtceLF0J.pgp
Description: PGP signature