Network 入口 | PPPoE | IPv6 | xcast6 | MTU


This is required for Release 1.5.2 or ealier which has no "in-kernel pppoe".
NetBSD Documentation: Steps to connect via PPPoE (DSL)
The same thing in Japanese (日本語)
  1. kernel configuration
    Have following line in configuration file .
    pseudo-device  pppoe
    It is included in -current after 2001/12/14
  2. some important setup
    ifconfig pppoe create
  3. various setup
    man pppoectl ..
         ispppcontrol [-v] ifname [parameter[=value]] [...]
         pppoectl -e ethernet-ifname [-s service-name] [-a
                  access-concentrator-name] ifname
    # Need ethernet interface UP (or it won't send any packets) 
    ifconfig rtk0 up mtu 1500
    # Create a pseudo device 
    ifconfig pppoe0 create # Let pppoe0 use rtk0 as it's ethernet interface 
    pppoectl -e rtk0 pppoe0 
    # Configure authentication 
    pppoectl pppoe0 \ 
           myauthproto=pap \ 
           myauthname=???? \ 
           myauthsecret=???? \ 
    # Configure the pppoe0 interface itself. This addresses are magic 
    # meaning we don't care about either address and let the remote 
    # ppp choose them. 
    ifconfig pppoe0 up mtu 1454
    route flush 
    route add -net default -iface 
Last Update
19:52:19 03/12/08
CCBot/2.0 (
Apache/2.0.65 (Unix) mod_ssl/2.0.65 OpenSSL/1.0.1g DAV/2 PHP/5.4.26
(since 2002/03/01)