Subject: bin/1955: route doesn't work propperly when default route exists
To: None <firstname.lastname@example.org>
From: Peter Simons <email@example.com>
Date: 01/18/1996 00:21:21
>Synopsis: route doesn't work propperly when default route exists
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Wed Jan 17 18:50:04 1996
>Originator: Peter Simons
private Internet site
>Release: NetBSD 1.1 GENRIC Kernel
System: NetBSD peti.rhein.de 1.1 NetBSD 1.1 (INSTALL) #0: Fri Nov 24 13:47:14 EST 1995 firstname.lastname@example.org:/exp/src/sys/arch/amiga/compile/INSTALL amiga
My system is an Internet gateway for several other machines.
phoenix.rhein.de, the one routing the dial-in sites, is
connected to peti.rhein.de via the Ariadne ethernet card. What
I did was to configure ae0 using ifconfig, what worked fine.
Then pppd was fired up and connected succesfully, setting the
After that, I started
$ route add -net 126.96.36.199 phoenix -netmask 255.255.255.248
to route the dial-in sites back to phoenix via ae0. After
testing "netstat -r", though, I saw that this subnet is
accessed via ppp0, the default route. I tried everything to
make it be directed via ae0, but it didn't work.
Everything worked fine after removing the default route,
As a work-around, I just make sure that the subnet is routed
_before_ pppd is started up.