Subject: PPPoE doesn't auto-add interface route
To: None <firstname.lastname@example.org>
From: Rick Byers <rb-netbsd@BigScaryChildren.net>
Date: 12/08/2001 18:50:07
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 126.96.36.199 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 188.8.131.52 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.