mpd5でPPPoEする

NTT東日本 フレッツ光で、直接モデムと接続する場合を想定。
光プレミアムとか、ひかり電話契約をしていると話が異なる。
が、mpd5を使おうとする人には無用な注釈である。

設定たれ流し

startup:
# Webからの管理画面必要なら以下コメント解除。(使った記憶が無い。
# configure mpd users
#       set user admin admin admin
# configure the console
#       set console self 127.0.0.1 5005
#       set console open
# configure the web server
#       set web self 0.0.0.0 5006
#       set web open

# Default configuration
default:
        load pppoe_ocn

pppoe_ocn:
# PPPoE client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
        create bundle static B1
        set iface route default
        set iface enable tcpmssfix
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0

        create link static L1 pppoe
        set link action bundle B1
        set link max-redial 0
        set link keep-alive 10 60
        set link mtu 1448
        set link mru 1448
        set link disable pap chap
        set link accept chap
        set auth authname XXX@isp-domain
        set auth password ぱすわーど
        set pppoe iface vr0
        set pppoe service ""
        open
os/freebsd/mpd5/pppoe/start.txt · 最終更新: 2011/08/24 10:07 (外部編集)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0