
PPPoEサーバ側で設定する設定値は以下の通りです。
ユーザ名:user1@example.local
パスワード:user1@pass
払い出しIPアドレス:1.1.1.100
conf t hostname PPPoE_Server username user1@example.local password 0 user1@pass interface Loopback0 ip address 192.168.254.1 255.255.255.255 exit interface FastEthernet0 no ip address duplex auto speed auto pppoe enable group PPPoE-user1 no shut exit interface Virtual-Template1 mtu 1454 ip unnumbered Loopback0 peer default ip address pool user1-pool ppp authentication chap ppp ipcp dns 8.8.8.8 exit ip local pool user1-pool 1.1.1.100 bba-group pppoe PPPoE-user1 virtual-template 1 exit exit |
conf t hostname Kyoen_A interface FastEthernet0 no ip address ip mtu 1454 duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1 no shut exit interface Dialer1 ip address negotiated ip mtu 1454 ip nat outside ip virtual-reassembly encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname user1@example.local ppp chap password 0 user1@pass ppp ipcp dns accept exit ip route 0.0.0.0 0.0.0.0 Dialer1 dialer-list 1 protocol ip permit interface Vlan10 ip address 172.20.21.254 255.255.255.0 ip nat inside ip tcp adjust-mss 1414 exit interface FastEthernet2 switchport access vlan 10 exit ip nat inside source list 100 interface Dialer1 overload access-list 100 permit ip 172.20.21.0 0.0.0.255 any exit vlan database vlan 10 state active exit |
Kyoen_A#show ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0 unassigned YES manual up up FastEthernet1 unassigned YES unset administratively down down BRI0 unassigned YES unset administratively down down BRI0:1 unassigned YES unset administratively down down BRI0:2 unassigned YES unset administratively down down FastEthernet2 unassigned YES unset up down FastEthernet3 unassigned YES unset up down FastEthernet4 unassigned YES unset up down FastEthernet5 unassigned YES unset up down FastEthernet6 unassigned YES unset up down FastEthernet7 unassigned YES unset up down FastEthernet8 unassigned YES unset up down FastEthernet9 unassigned YES unset up down Vlan1 unassigned YES unset up down NVI0 unassigned NO unset up up Virtual-Access1 unassigned YES unset up up Dialer1 1.1.1.100 YES IPCP up up Vlan10 172.20.21.254 YES manual up down Virtual-Access2 unassigned YES unset up up Kyoen_A# Kyoen_A# Kyoen_A#ping 1.1.1.100 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.1.1.100, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Kyoen_A# |
PPPoE_Server#ping 1.1.1.100 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 1.1.1.100, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms PPPoE_Server# |