2015年3月17日火曜日

Cisco機器での検証用PPPoEサーバ構築(端末払い出し)

普通のBフレ等でアドレスが降ってくるパターンのPPPoE検証サーバのConfig
試したのは1812Jの12.4(6)T1

以下コマンドは必要なところのみ抜粋


ip name-server 192.168.101.1
ip name-server 192.168.101.2

username test password 0 test

bba-group pppoe test
 virtual-template 1

interface Loopback0
 ip address 1.1.1.1 255.255.255.255


interface FastEthernet2
 switchport mode access
 spanning-tree portfast

interface Virtual-Template1
 ip unnumbered Loopback0
 peer default ip address pool user1-pool
 ppp authentication chap

interface Vlan1
 no ip address
 pppoe enable group test

ip local pool user1-pool 192.168.100.1


192.168.100.1がユーザに払い出されるアドレス
DNSサーバもip name-serverコマンドで指定すれば払い出されます

ちなみに以前「Cisco機器での検証用PPPoEサーバ構築」で書いたのは固定IPの例