现实的问题又一次摆在了我们面前,我们必须另辟蹊径,找出解决问题的方法,在科技网用户(广州信息中心)的鼎立支持下,我们终于在路由器的配置上找到了答案:Cisco路由器的"Inverse MUX Application using Multilink PPP"功能为我们解决此问题提供了最佳途径。下面我们用一简单实例,来进一步说明此功能的用法:
RouterA
hostname RouterA
username RouterB password abc
ip subnet-zero
multilink virtual-template 1
!
interface Virtual-Template1
ip unnumbered Ethernet0
ppp authentication chap
ppp multilink
!
interface Serial0
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial1
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial2
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial3
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Ethernet0
ip address 10.17.1.254 255.255.255.0
!
router ripnetwork 10.0.0.0
!
end
---------------------------------------------
RouterB
hostname RouterB
username RouterA password abc
ip subnet-zero
multilink virtual-template 1
!
interface Virtual-Template1
ip unnumbered Ethernet0
ppp authentication chap
ppp multilink
!
interface Serial0
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial1
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial2
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Serial3
no ip address
encapsulation ppp
no fair-queue
ppp multilink
pulse-time 3
!
interface Ethernet0
ip address 10.17.2.254 255.255.255.0
!
router ripnetwork 10.0.0.0
!
end 通过此方法,我们可将多条低带宽线路合并成为一条线路,并通过虚拟端口Virtual-Template 1进行数据的传输。按此方法配置完成后,我们会发现在显示端口状态(sh interface)时,凭空多出一个端口Virtual-Access 1,此端口的数据流量恰恰等于各实际端口的流量总和,并且通过它将数据流量均分到各个实际端口当中去。从而达到合并低带宽线路的目的。