概要
検証時機器
認証情報
- 動的IP
- Username: PPPoE_user
- Password: PPPoE_pass
- Segment: 172.22.0.0/24
- 割り当て: 172.22.0.1 - 100
- 動的IP
- Username: PPPoE_static
- Password: PPPoE_pass
- Segment: 172.22.0.0/24
- 割り当て: 172.22.0.200
PPPoE Server
認証
AAA認証を有効化
aaa new-model
PPPoE用の認証を作成
aaa authentication ppp PPPoE local
aaa authorization network PPPoE local
クライアントユーザの作成
username PPPoE_user password 0 PPPoE_pass
ユーザのIP固定
aaa attribute list PPPoE_static_aaa
attribute type addr 172.22.0.200 service ppp protocol ip
username PPPoE_static password 0 PPPoE_pass
username PPPoE_static aaa attribute list PPPoE_static_aaa
PPPoE設定
PPPoE用動的払い出しPool作成
ip local pool PPPoE-Pool 172.22.0.1 172.22.0.100
DefaultGateway
interface Loopback0
ip address 172.22.0.254 255.255.255.255
PPPoE用のI/F作成
interface Virtual-Template1
mtu 1454
ip unnumbered Loopback0
peer default ip address pool PPPoE-Pool
ppp authentication chap PPPoE
ppp authorization PPPoE
PPPoEグループの作成
bba-group pppoe PPPoE_Server
virtual-template 1
PPPoE窓口となる物理I/Fの指定
interface GigabitEthernet0/0
pppoe enable group PPPoE_Server
PPPoEクライアント
PPPoE用のI/F作成
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp authentication chap callin
ppp chap hostname <USER_NAME>
ppp chap password <PASSWORD>
dialer-list 1 protocol ip permit
WAN側の物理I/Fに適応
interface GigabitEthernet0/0
pppoe enable group global
pppoe-client dial-pool-number 1