3、方案:链路捆绑:
现在为了增加两台机器之间的带宽,我们可以用端口绑定的方法来实现:
具体配置如下:

配置R1:
[R1]int eth 0
[R1-Ethernet0]ip add 192.168.4.1 24 给eth0端口配置ip
[R1-Ethernet0]quit
[R1]int virtual 10 创建虚拟接口模版10;
[R1-Virtual-Template10]ip add 192.168.6.2 24 为虚拟接口配置ip 地址
[R1-Virtual-Template10]quit
[R1]int s0 进入s0端口
R1-Serial0]ppp mp int virtual 10 将该接口绑定到虚拟接口上
[R1-Serial0]int s1 进入S1端口
[R1-Serial1]ppp mp int virtual 10 将该接口绑定到虚拟接口上
[R1-Serial1]ppp mp 开启该端口绑定功能
[R1-Serial1]int s0
[R1-Serial0]ppp mp 开启多路绑定
[R1-Serial0]quit
[R1]ospf enable 打开ospf协议
[R1]int vir 10 进入虚拟端口
[R1-Virtual-Template10]ospf enable area 0 把该虚拟端口加入到ospf的0区域
R0的配置:
[R0]int eth 0
[R0-Ethernet0]ip add 192.168.1.1 24 给eth0端口配置ip
[R0-Ethernet0]quit
[R0]int virtual 10 进入虚拟端口
[R0-Virtual-Template10]ip add 192.168.6.1 24 配置虚拟地址
[R0-Virtual-Template10]quit
[R0]int s0
[R0-Serial0]ppp mp 开启该端口的多路绑定
[R0-Serial0]ppp mp int virtual 10 把该端口绑定到虚拟链路中
[R0-Serial0]int s1
[R0-Serial1]ppp mp 开启s1端口的多链路绑定
[R0-Serial1]ppp mp int virtual 10 绑定到虚拟链路中
[R0-Serial1]quit
[R0]ospf enable 打开ospf协议
Start OSPF task...
OSPF enabled
[R0-ospf]int virtual 10
[R0-Virtual-Template10]ospf enable area 0 把虚拟接口加入到区域0
[R0-Virtual-Template10]quit
[R0]dis cu
Now create configuration...
Current configuration
!
version 1.74
local-user user1 service-type administrator password simple 123
sysname R0
firewall enable
aaa-enable
aaa accounting-scheme optional
!
interface Aux0
async mode flow
link-protocol ppp
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet1
!
interface Serial0
clock DTECLK1
link-protocol ppp
ppp mp
ppp mp interface Virtual-Template10
!
interface Serial1
link-protocol ppp
ppp mp
ppp mp interface Virtual-Template10
!
interface Virtual-Template10
link-protocol ppp
ip address 192.168.6.1 255.255.255.0
ospf enable area 0.0.0.0
!
quit
ospf enable
!
quit
!
Return
查看其通信结果:

