PPPoA、PPPoE

PPPoA的配置

host R1

int ATM0/0

no ip address

pvc 0/42

encapsulation aal5mux ppp dialer

dialer pool-member 1

int dialer 2

encapsulation ppp

ip address negotiated

dialer pool 1

ppp authentication chap callin

ppp chap hostname name

ppp chap password secret

ip route 0.0.0.0 0.0.0.0 dialer 2

PPPoE的配置

interface Ethernet0
no ip address
duplex auto
pppoe enable
pppoe-client dial-pool-number 1

interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname name
ppp chap password 7 secret
ppp pap sent-username name password 7secret

ip route 0.0.0.0 0.0.0.0 dialer 1


你可能感兴趣的:(interface,password,Address)