01-15-2011 02:40 PM - edited 03-06-2019 03:00 PM
Very Simple Question :-)
Only 1 switch. 2 VLANS
TO do inter vlan routing I would
Create int vlan 10 and 20, enable ip routing, assign ip address to SVI and thats it !!
Inter-Vlan routing through connected ports.
Now if I have 2 Routed Ports, instead of the SVI, how can I link the vlan ports to them ?
My guess was its supposed to work just like SVI, but now I am not 100% sure
I know I cannot have a trunk on the same switch and put a cable between a L2 Trunk and a L3 routed port,
because the L3 routed port does not support 802.1q !!
Also, the traffic on the vlans will have no way of knowing about the L3 port, because thay have no SVI (I remove them).
Thanks
Solved! Go to Solution.
01-16-2011 10:37 AM
Thats correct . There is no reason to use a routed port if the devices are all on that one switch . You would only need to use a routed port if you are connecting to another switch or networking device. If you have a single L3 switch with devices in 2 different subnets then you have to use a SVI .
01-15-2011 03:00 PM
As long as its a L3 switch you can use routed ports just like an SVI with the exception you will not be able to extend those subnets to any other port on that switch, the routed port is your subnet boundary which you cannot extend to multiple ports like you can with an SVI . If the subnet needs to be on more than 1 port on that switch then you must use an SVI.
01-15-2011 03:09 PM
So in my situation,
Only 1 switch
5 ports in VLAN 10 and 5 ports in VLAN 20,
I MUST use SVI. for vlan 10 to talk to vlan 20.
If I have 2 routes ports, and no SVI, then although there is L3 routing between the 2 physical ports,
there is no inter vlan routing.
Remember, there is only 1 switch standalone.
I think you have answered my question, but just want to double check.
What you are saying is that it WILL work if I have just 2 PCs on the 2 routed ports !! Correct ?
01-16-2011 10:37 AM
Thats correct . There is no reason to use a routed port if the devices are all on that one switch . You would only need to use a routed port if you are connecting to another switch or networking device. If you have a single L3 switch with devices in 2 different subnets then you have to use a SVI .
01-16-2011 10:48 AM
Routed Ports do Routing Just like a router
192.168.1.0/24
L3 Sw(fa0/0)------------------
Here for fa0/0 to act as routed port,an ip address should be assigned to fa0/0 in the nw 192.168.1.0/24.
Turn on Ip routing
They will be detected as routed ports
In SH ip route it shows ip as
C 192.168.1.0/24 connected fa0/0
If we use SVI
192.168.1.0/24
L3 Sw(fa0/0)--------------
configure fa0/0 as switchport
configure a SVI in the same vlan as fa0/0 i/f
say int vlan 2
assign an ip address to the SVI in the same subnet as the vlan uses
Sh ip route shows as
C 192.168.1.0 /24 connected vlan 2
PC's now use SVI as default gateway here
HTH
Please rate if it does.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide