Subject: Re: Interface specification in route(8)
To: Lucio de Re <lucio@proxima.alt.za>
From: Kevin M. Lahey <kml@nas.nasa.gov>
List: tech-net
Date: 02/22/1999 13:34:47
In message <19990222201618.B624@jocelyn.rhein.de>Ignatios Souvatzis writes
>On Mon, Feb 22, 1999 at 07:51:00PM +0200, Lucio de Re wrote:
>> I have the following active network configuration in a NetBSD-1.3.3-i386
>> system:
>> 
>> # netstat -in
>> Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs
>...
>> ne1   1500  192.168.30.16 192.168.30.22        84263     0      693     0   
>...
>> ppp0  1500  192.168.30.16 192.168.30.22        12758     0    12568     0   
>
>There is your problem.
>
>Our (or any BSD) kernel doesn't support multiple equal routes in-kernel, as
>far as I understand. You want to remove the ppp0 route to make it find the ne1
>one.

Hmmm.  Could you get it to work by adding the default route before
cranking up the ppp?  Once it knows what interface to go out, I don't
think it'll get confused by the routing table.   That said, why is the 
subnet on the ppp link so big?  I'm confused...

Kevin
kml@nas.nasa.gov