R1
Interface serial4/0/0
Link-protocol ppp
Ip address ppp-negotiate
通过ppp协商机制 自动获取ip
R2:
Ip pool aa
Gateway-list 12.1.1.2
Network 12.1.1.0 mask 255.255.255.0
Interface serial4/0/0
Link-protocol ppp
Remote address pool aa
指定给对端分配ip 的地址池
Ip address 12.1.1.2 24
最后可以发现R1通过ppp地址协商获得了ip地址