R1DCE)

username R1 password 0 cisco(R1为对方hostnamecisco为密码

Interface s0/0

ip address 10.10.10.2 255.255.255.0

encapsulation ppp(封装 ppp

ppp authentication chap(验证类型chap/pap)

clock rate 2000000(时钟)

R2(DTE)

Interface s0/0

ip address 10.10.10.3 255.255.255.0

encapsulation ppp(封装 ppp

ppp authentication chap(验证类型chap/pap)