Subject: PPPoE doesn't auto-add interface route
To: None <current-users@netbsd.org>
From: Rick Byers <rb-netbsd@BigScaryChildren.net>
List: current-users
Date: 12/08/2001 18:50:07
Hi,
The in-kernel PPPoE doesn't appear to automatically add a route to
localhost for the interface address like other interfaces do. Here is the
relevant section from my /etc/rc.d/pppoe:
ifconfig pppoe0 create
pppoectl -e ne0 pppoe0
pppoectl pppoe0 myauthproto=pap ...
ifconfig pppoe0 209.183.141.172 0.0.0.1 up
route add -ifp pppoe0 default 0.0.0.1
Luckily I have a static IP, so I just do:
route add 209.183.141.172 localhost
But what about people with dynamic IPs? Shouldn't PPPoE automatically add
a route to lo0 for whatever IP is negotiated for the pppoe interface?
This is on 1.5Z from Nov 30.
Thanks,
Rick