NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Proper workaround of an iface route to pppoe



Hi.


According to pppoe(4):

           #! /sbin/route add default -iface 0.0.0.1
           up
     The commented out call to route(8) may be omitted and the route
     added in
     the ip-up script called by ifwatchd(8) when the real IP address is
     known.
     This is easy in the ``connect always'' mode (link1 not set), but
     hard to
     accomplish in the ``dial on demand'' mode (link1 set).  In the
     latter
     case adding an iface route is an easy workaround.

The 'easy workaround' must remember the dynamic IP and delete its iface
route
to be able to renew it when the interface is going up again.

¿Some ideas for this workaround?


Regards
--
César Catrián Carreño
-- 
  César Catrián C.
  http://mioficina.cjc.cl



Home | Main Index | Thread Index | Old Index