Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 08:34:01 -0400
From:      Steve Bertrand <iaccounts@ibctech.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: add route failed for ppp
Message-ID:  <469CB739.9030606@ibctech.ca>
In-Reply-To: <20070717010708.GR18911@tigger.digitaltorque.ca>
References:  <20070717010708.GR18911@tigger.digitaltorque.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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