Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15183259
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-21 15:44:02

环境背景:现电信提供了2条e1的直通线路,客户需要在两地将两条e1的线路进行绑定。

解决方法:绑定两台路由器之间的多条E1链路的方法有如下几种
1.硬件IMUX              2-8
2.ATM IMA               2-32
3.Multilink ppp          2-8
4.Load balancing          2-6
其中1、2为硬件解决方式,3、4为软件解决方式

PPP multilink配置方法:
interface Multilink1
ip address 1.1.1.1 255.255.255.252
no cdp enable
ppp multilink
no ppp multilink fragmentation
!--- optional command to reduce CPU load
multilink-group 1

interface Serial0/0:1
no ip address
encapsulation ppp
ppp multilink
multilink-group 1

interface Serial0/1:1
no ip address
encapsulation ppp
ppp multilink
multilink-group 1

Load balancing  方式:

(1): cef per-packet 方式
ip cef
int s0/0:1
ip add 1.1.1.1 255.255.255.252
ip load-sharing per-packet
int s0/1:1
ip add 2.2.2.1 255.255.255.252
ip load-sharing per-packet

(2): cef per-destination方式
ip cef
int s0/0:1
ip add 1.1.1.1 255.255.255.252
ip load-sharing per-destination
int s0/1:1
ip add 2.2.2.1 255.255.255.252
ip load-sharing per-destination

(3):fast swtiching per-destination方式
int s0/0:1
ip add 1.1.1.1 255.255.255.252
int s0/1:1
ip add 2.2.2.1 255.255.255.252

(4):Process swtiching per-packet方式
int s0/0:1
ip add 1.1.1.1 255.255.255.252
no ip route-cache
int s0/1:1
ip add 2.2.2.1 255.255.255.252
no ip route-cache

静态路由:
ip route x.x.x.x x.x.x.x s0/0:1
ip route x.x.x.x x.x.x.x s0/1:1

或动态路由实现如OSPF
router ospf 100
network x.x.x.x x.x.x.x area 0
network 1.1.1.1 0.0.0.1 area 0
network 2.2.2.1 0.0.0.1 area 0

其他动态路由协议略

阅读(256) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~