Answer the question
In order to leave comments, you need to log in
Difference between routing through int vlan and no switchport?
Suppose we have two abstract L3 switches with one physical link between them, behind each switch there are several subnets that are terminated on them.
To connect subnets from different sides, it is necessary to configure routing between L3 switches, and then the question arises how to configure interfaces that look at each other?
I see two options:
1) no switchport
SW1(config-if)#no switchport
SW1(config-if)#ip address 1.1.1.1/30
SW1(config)#ip route 192.168.0.0/16 1.1.1.2
SW2(config-if)#no switchport
SW2(config-if)#ip address 1.1.1.2/30
SW2(config)#ip route 10.0.0.0/16 1.1.1.1
SW1(config-if)#switchport access vlan 8
SW1(config)#int vlan8
SW1(config-if)#ip address 1.1.1.1/30
SW1(config)#ip route 192.168.0.0/16 1.1.1.2
SW2(config-if)#switchport access vlan 8
SW2(config)#int vlan8
SW2(config-if)#ip address 1.1.1.2/30
SW2(config)#ip route 10.0.0.0/16 1.1.1.1
Answer the question
In order to leave comments, you need to log in
The issue you raised is one of the hotly debated on the forums. In part, you yourself have answered. Generally - depends on topology. If you dig deeper, the difference will be in delays. Moreover, on this Cisco presentation, page 24
www.cisco.com/web/TH/assets/docs/seminar/200912_ni...
they say that on the Routed interface, the time to raise the interface is less than on the SVI (8ms versus 150-200ms) , but there are also opposite results! Much depends on the specific hardware, topology, and device configuration.
I'm embarrassed to ask what to do if it "lives" behind one switch:
10.10.1.0/24
10.10.2.0/24
10.10.3.0/25
10.10.4.128/26
And behind the second:
10.10.5.0/24
10.10.6.0/24
10.10 .3.128/25
10.10.4.192/26
???
Write 4 routes on each side? And if there are 20 such networks on each side?
Isn't it easier to raise OSPF/BGP and live in peace?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question