Subject: PPPoE doesn't auto-add interface route
To: None <email@example.com>
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 18.104.22.168 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 22.214.171.124 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.