Catalsty 4908G-L3 VLAN间的路由和桥接


必备知识:
首先我门应当了解Catalsty 4908G-L3,实际上他是一台路由器,完全使用CISCO的IOS配置接口 。默认的状态下所有的接口都是可以路由的接口 。Catalsty 4908G-L3并不支持面向二层协议,VLAN主干协议,动态主干协议,端口聚合协议 。
Catalsty 4908不支持以下几种:基于12.0(7)版本的IOS
1 访问控制列表 。
2 802.1q
3 apple talk routing
4 port snooping
Catalsty 4908 swtich-router running Cisco IOS 12.0 ( 7 )W5 (15D)
Three Catalsty 3512xl switch running cisco iso 12.0 ( 5 )xu
配置Catalsty 4908交换机达到两个目的 。
让五个VLAN 1 10 20 30 40 运行在二层交换机上
不同的VLAN间可以进行通讯
两个Catalsty 3512xl交换机使用使用吉比特以太网链路连接到4908G-L3,其他的一个使用单一的吉比特链路连接 。来支持内部VLAN的路由,集成路由和桥接 。所有的端用户和服务器都连接到Catalsty 3512XL,假如一个VLAN中的设备想连接到另一个VLAN中的设备的时候,数据将会发送到4908G-L3,他将数据路由到虚拟的桥接的接口上 。
以下配置应当应用的交换机上:
基本的出始化的配置
IP地址和默认的网关应当分配到交换机上为治理
VTP模式应当配置成透明的模式,以便在3512XL交换机上配置VLAN
吉比特以太网通道在4908G-L3和3512XL01 3512XL02
桥节和虚拟接口,IP和IPX的路由应当配置在4908上
ISL TRUNKS应当配置在4908G-L3和3512XL桥接应当配置在TRUNK的子接口上
Vlan IP subnet IPX NETWORK
1 10.10.1.0/24 N/A
10 10.10.10.0/24 1000
20 10.10.20.0/24 2000
30 10.10.30.0/24 3000
40 10.10.40.0/24 4000
在Catalsty3512xl上配置一个IP地址和默认的网关为交换机的治理,默认网关的地址是桥接虚拟接口的地址在Catalsty 4908G-L3上 。
Switch#configure terminal
Switch(config)#hostname 3512xl-switch01
3512xl-switch01(config)#interface vlan 1
3512xl-switch01(config-if)#ip address 10.10.1.10 255.255.255.0
3512xl-switch01(config-if)#management
3512xl-switch01(config-if)#exit
3512xl-switch01(config)#ip default-gateway 10.10.1.1
3512xl-switch01(config)#end
3512xl-switch01#
3512xl-switch02(config)#interface vlan 1
3512xl-switch02(config-if)#ip address 10.10.1.20 255.255.255.0
3512xl-switch02(config-if)#management
3512xl-switch02(config-if)#exit
3512xl-switch02(config)#ip default-gateway 10.10.1.1
3512xl-switch02(config)#end
3512xl-switch02#
3512xl-switch03(config)#interface vlan 1
3512xl-switch03(config-if)#ip address 10.10.1.30 255.255.255.0
3512xl-switch03(config-if)#management
3512xl-switch03(config-if)#exit
3512xl-switch03(config)#ip default-gateway 10.10.1.1
3512xl-switch03(config)#end
3512xl-switch03#
由于Catalsty 4908G-L3并不支持VTP所以Catalsty 3512xl配置成透明的模式,
3512xl-switch01#vlan database
3512xl-switch01(vlan)#vtp transparent
3512xl-switch01(vlan)#vlan 10 name vlan10
3512xl-switch01(vlan)#vlan 20 name vlan20
3512xl-switch01(vlan)#vlan 30 name vlan30
3512xl-switch01(vlan)#vlan 40 name vlan40
配置以太网通道
在3512XL-01上的GIG0/1和GIG0/2分别连接到4908G-L3上的GIG1和GIG2上,在3512XL-02上的GIG0/1和GIG0/2连接到4908G-L3上的GIG3和GIG4上
4908G-L3#configure terminal
4908G-L3(config)#interface port-channel 1
4908G-L3(config-if)#exit
4908G-L3(config)#interface gig1
4908G-L3(config-if)#no shutdown
4908G-L3(config-if)#channel-group 1
4908G-L3(config-if)#exit
4908G-L3(config)#interface gig2
4908G-L3(config-if)#no shutdown
4908G-L3(config-if)#channel-group 1
4908G-L3(config-if)#exit
4908G-L3(config)#interface port-channel 2

推荐阅读