Subject: PPPoE doesn't auto-add interface route
To: None <>
From: Rick Byers <>
List: current-users
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 up
route add -ifp pppoe0 default

Luckily I have a static IP, so I just do:
route add 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.