不废话mppp就是链路捆绑,把2条小带宽的绑成一条逻辑上大带宽的链路。
当然现在运营商也提供E1复用器,直接在那上面就能绑。
客户端有2条2M E1链路,分别采用不同运营商的电路,通过mppp捆绑可以做负载均衡,在电路故障的情况下可以互为备份链路。
拓扑
s0/0/0--------------------China Telecom-----------------s0/0/0
SiteARouter HQ ROUTER
s0/1/0--------------------China Unicom------------------s0/1/0
相关配置 2端配置差不多,所以只贴一端的config
Router A
创建mppp interface ,mppp group
interface Multilink1
description Multilink1 to HQ Multilink1
bandwidth 3968
ip address 10.254.250.6 255.255.255.252
ppp multilink
ppp multilink group 1
分别配置2条专线
!
interface Serial0/0/0
description IPLC to HQ S0/0/0 China Unicom # L2025129
bandwidth 1984
ip address 10.254.250.2 255.255.255.252
ip accounting output-packets
encapsulation ppp
load-interval 30
-----------------------------------------------------定义mppp 并划入 muppp group 1
ppp multilink
ppp multilink group 1
!
interface Serial0/1/0
description IPLC to HQ S0/1/0 China CNC # L2025131
bandwidth 1984
ip address 10.254.251.2 255.255.255.252
ip accounting output-packets
encapsulation ppp
load-interval 30
ppp multilink
ppp multilink group 1
完了之后配上eigrp
router eigrp 10
network 10.254.250.0 0.0.0.3
network 10.254.250.4 0.0.0.3
network 10.254.251.0 0.0.0.3
network 192.168.209.0
no auto-summary
no eigrp log-neighbor-changes
测试mppp命令show ppp multilink
基本上配置是非常简单的。
客户端还有voice和viedo conference的应用,所以最后还需要做一些qos方面的设定。
定义访问控制列表匹配
access-list 121 remark VoIP IP address
access-list 121 permit ip host 192.168.209.250 any
access-list 122 remark VC IP address
access-list 122 permit ip host 10.216.242.1 any
access-list 122 permit ip host 10.216.242.2 any
定义策略路由,针对不同的业务设置不同的优先级
匹配voip流
route-map TOS-Mark permit 10
match ip address 121
set ip precedence critical
匹配视频会议流!
route-map TOS-Mark permit 20
match ip address 122
set ip precedence flash-override
默认设置
route-map TOS-Mark permit 30
set ip precedence routine
定义Qos map & Policy
class-map match-all VC
match access-group name TOS-4
class-map match-all VoIP
match access-group name TOS-5
!
!
policy-map QoS
class VoIP
priority 288
class VC
priority 640
class class-default
fair-queue
匹配到接口
interface Multilink1
service-policy output QoS
在内部接口上应用策略路由,让voip/video数据包优先
interface FastEthernet0/0
ip address 192.168.209.254 255.255.255.0
ip policy route-map TOS-Mark
load-interval 30
基本上这也是常见的mpls ce端的配置,qos部分也基本上可以做为模板使用。