您的位置:首页 > 理论基础 > 计算机网络

负载分担――――网络改造

2011-11-06 20:23 405 查看


原来是核心交换只和华三路由相连,现根据需要增加一台华为路由做双机。
并使用ospf动态路由协议。
华三简单配置为:

interface LoopBack0
ip address 172.30.1.11 255.255.255.255
#
interface GigabitEthernet3/0/0
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet3/0/1 //和华为路由连接的接口
description to_hauwei
ip address 172.31.253.42 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet3/1/0.109 //上行接口
vlan-type dot1q vid 109
ip address 172.31.255.42 255.255.255.252
ospf network-type p2p
#
interface GigabitEthernet3/1/1
description to fw
#
interface GigabitEthernet3/1/1.60 //指向交换的接口
description to fw
vlan-type dot1q vid 60
ip address 172.31.59.1 255.255.255.248
ospf cost 50
#ospf 109 router-id 172.30.1.11
area 0.0.0.109
network 172.30.1.11 0.0.0.0
network 172.31.255.42 0.0.0.0
network 172.31.253.40 0.0.0.3
network 172.31.59.1 0.0.0.0
华为路由配置为:
interface GigabitEthernet3/0/0
description to shangxing //上行接口
port shaping 8 //流量整形,定位8M
#interface GigabitEthernet3/0/1
description to huasan //连接华三路由的接口
undo shutdown
ip address 172.31.253.41 255.255.255.252
ospf network-type p2p //ospf网络类型为点对点
interface GigabitEthernet3/0/2.120
vlan-type dot1q 120
description to FW4120
ip address 172.33.59.1 255.255.255.248
interface LoopBack0
ip address 172.30.2.11 255.255.255.255[/i]
#
ospf 109
area 109
network 172.30.2.11 0.0.0.0[/i] decription lopback
network 172.33.59 0.0.0.7[/i] description 6506R
network 172.31.253.41 0.0.0.3 [/i] description sr6608

核心交换简单配置:

interface Vlan-interface60
description to huasan // 到华三路由
ip address 172.31.59.2 255.255.255.248
ospf cost 50
#
interface Vlan-interface120
description to huawei //到华为路由
ip address 172.33.59.2 255.255.255.248
#
interface Vlan-interface300
ip address 172.27.1.1 255.255.255.0
#
interface GigabitEthernet3/0/1
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 60 120
宣告OSPF配置省略........

本文出自 “星不落” 博客,请务必保留此出处http://xingbuluo.blog.51cto.com/2039150/707567
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: