PPP协议两边的网段可以不在同一个网段,因为数据链路帧用0xff表示帧,不用arp,所以可以不同网段。
R1:
aaa
local-user test password cipher admin
local-user test service-type ppp
interface Serial4/0/0
link-protocol ppp
ppp authentication-mode chap
remote address 10.0.0.2
ip address 10.0.0.1 255.255.255.0
R2:
interface Serial4/0/0
link-protocol ppp
ppp chap user test
ppp chap password cipher admin
ip address ppp-negotiate
R1
interface Serial4/0/1
restart //最后重新发起lcp协商