两种配置方法。一种是通过配置虚拟模板接口(Virtual-Template,VT)来实现MP,另一种是利用MP-Group接口实现MP。
方法一mp group:
interface Multilink1
ip address 192.168.0.1 255.255.255.0
ppp multilink
multilink-group 1
!
interface Serial0/0
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
multilink-group 1
!
interface Serial0/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
multilink-group 1
!
注意事项:
1.输入ppp multilink group 1会自动转换为
ppp multilink
multilink-group 1
2.保障接口 no shutdown
参考资料:
http://dreamearth.blog.51cto.com/616542/149360
http://www.ipcpu.com/2010/05/mppp-configure/
—————————————-
方法二:使用virtual-template:
multilink virtual-template 1
!
interface Virtual-Template1
ip address 192.168.0.1 255.255.255.0
ppp multilink
!
interface Serial0/0
encapsulation ppp
ppp multilink
!
interface Serial0/1
encapsulation ppp
ppp multilink
实验验证:
Router#sh ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset up up
Serial0/1 unassigned YES unset up up
Virtual-Access1 192.168.0.1 YES TFTP up up
Virtual-Template1 192.168.0.1 YES manual down down
Router#sh int virtual-access 1
Virtual-Access1 is up, line protocol is up
Hardware is Virtual Access interface
Internet address is 192.168.0.1/24
MTU 1500 bytes, BW 3088 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
切断一条链路后
Router#sh ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset up down
Serial0/1 unassigned YES unset up up
Virtual-Access1 192.168.0.1 YES TFTP up up
Virtual-Template1 192.168.0.1 YES manual down down
参考资料:
http://ltyluck.blog.51cto.com/170459/214877
http://www.ipcpu.com/2010/05/mppp-configure/