Cisco 3560的Inter vlan间路由配置-应用技巧

王朝数码·作者佚名  2010-10-13
窄屏简体版  字體: |||超大  

Cisco3560基本配置如下, 3560作为主交换机 划分3个VLAN. VLAN2内接3台2610路由器, VLAN3 VLAN4各接一台2960交换机。 是否可以通过静态路由指定VLAN3 VLAN4 通过相应的路由器访问不同的网络。 3台路由器是在同一个VLAN内,也不想划分不同网段起3层路由端口,因为尽量不想更改路由器的任何现有配置。

VLAN 2

interface VLAN2

ip address 192.168.0.254 255.255.255.0

int f0/1

switchport mode access

switchport access VLAN 2

(联接router1)

int f0/2

switchport mode access

switchport access VLAN 2

(联接router2)

int f0/3

switchport mode access

switchport access VLAN 2

(联接router3)

intVLAN 3

interface VLAN3

ip address 192.168.1.254 255.255.255.0

int f0/10

switchport mode access

switchport access VLAN 3

(联接switch 1)

VLAN 4

interface VLAN4

ip address 192.168.2.254 255.255.255.0

int f0/11

switchport mode access

switchport access VLAN 4

(联接switch 2)

ip routing

ip route 10.1.1.0 255.255.255.0 192.168.0.1(route1)

ip route 10.2.2.0 255.255.255.0 192.168.0.2(route2)

ip route 10.3.3.0 255.255.255.0 192.168.0.3(route3)

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航