Cisco 3560的Inter vlan间路由配置

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
Int vlan 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)

你可能感兴趣的:(职场,Cisco,路由器,路由,休闲)