add route failed for ppp

Steve Bertrand iaccounts at ibctech.ca
Tue Jul 17 12:34:07 UTC 2007


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


More information about the freebsd-questions mailing list