Network 入口 | PPPoE | IPv6 | xcast6 | MTU

PPPoE

pkgsrc
This is required for Release 1.5.2 or ealier which has no "in-kernel pppoe".
http://www.fml.org/home/fukachan/ja/netbsd.rp-pppoe.html
NetBSD Documentation: Steps to connect via PPPoE (DSL)
http://www.jp.netbsd.org/Documentation/network/pppoe/
The same thing in Japanese (日本語)
http://www.jp.netbsd.org/ja/Documentation/network/pppoe/
  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 ..
    SYNOPSIS
         ispppcontrol [-v] ifname [parameter[=value]] [...]
    
         pppoectl -e ethernet-ifname [-s service-name] [-a
                  access-concentrator-name] ifname
    
    #!/bin/sh 
    # 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=???? \ 
           hisauthproto=none 
     
    # 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 0.0.0.0 0.0.0.1 up mtu 1454
     
    route flush 
    route add -net default 0.0.0.1 -iface 
    
Last Update
19:52:19 03/12/08
CCBot/2.0 (https://commoncrawl.org/faq/)
Apache/2.4.62 (Unix) OpenSSL/3.0.12
Count.cgi
(since 2002/03/01)