利用しているOS は FreeBSD 4.7-RELEASE
OS標準でサポートしてくれているので、特に必要なソフトはありません。
/etc/ppp/ppp.conf に以下を追加
pppoe: set device PPPoE:fxp1 set authname ユーザ名 set authkey パスワード set log Phase tun command set dial set login set ifaddr 0 0 set mru max 1452 set mtu max 1452 add default HISADDR nat enable yes
接続する
# ppp -ddial pppoe
OSの起動時に、自動的に接続する場合は、/etc/rc.conf に以下を追加
ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="pppoe"
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::xxxx:xxff:fexx:xxxx%fxp0 prefixlen 64 scopeid 0x1 ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect (100baseTX <full-duplex>) status: active fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::xxxx:xxff:fexx:xxxx%fxp1 prefixlen 64 scopeid 0x2 ether 00:00:00:00:00:00 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1452 inet 218.228.xxx.xxx --> 218.228.yyy.yyy netmask 0xffffffff Opened by PID xxx
Copyright© All rights reserved. Junkie 2002
Last Update 2002.10.31