PPP over Ethernet

假設R1(AS100),R2(AS200)之間必須使用PPPoE保持連線。由R1初始PPPoE連線(Client),R2負責回應(Server)。R1上設定username AS100,R2上設定username AS200,彼此之間使用MD5 password CISCO進行PPP認證。

R1(config)#username AS100 password CISCO
R1(config)#int f0/0
R1(config-if)#pppoe enable
R1(config-if)#pppoe-client dial-pool-number 1

R1(config)#int dialer 1
R1(config-if)#encapsulation ppp
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#dialer pool 1
R1(config-if)#dialer persistent
R1(config-if)#ppp authentication chap
R1(config-if)#ppp chap username AS200
R1(config-if)#mtu 1492



R2(config)#username AS200 password CISCO
R2(config)#vpdn enable

R2(config)#vpdn-group 1
R2(config-vpdn)#accept-dialin
R2(config-vpdn-acc-in)#protocol pppoe
R2(config-vpdn-acc-in)#virtual-template 1

R2(config)#int f0/0
R2(config-if)#pppoe enable

R2(config)#int virtual-template1
R2(config-if)#encapsulation ppp
R2(config-if)#ip address 10.1.1.2 255.255.255.0
R2(config-if)#ppp authentication chap
R2(config-if)#ppp chap username AS100
Post a Comment

Popular posts from this blog

Pairwise Master Key (PMK) vs Parewise Transient Key(PTK) vs PseudoRandom Function(PRF) vs GTK (Groupwise Transient Key)

DSSS(直接序列展頻技術) vs OFDM(正交頻率多重分割)

DTMF Relay : RTP-NTE vs SIP INFO vs SIP NOTIFY