1. First off, if it is a brand-new switch with no routing interfaces already on the device (usually straight out of the box), then you need to enable IP routing on the switch. This enables the switch to do routing on the device itself.
a. #configure terminal
b. #ip routing
2. Now that routing is enabled, we can create our SVI, or our vlan interface. This is creating a default gateway on the switch itself to allow inter-vlan routing within the switch. This eliminates the need for a router in between the switch and its separate networks/VLANs.
a. #configure terminal
b. #interface vlan 100
c. #ip address X.X.X.1 255.255.255.0
d. #no shut (don’t forget to do this since your SVI interfaces can be shut down by default. Just check to be sure)
3. Now you can test your traffic and ensure it passes through.
References: https://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/41860-howto-L3-intervlanrouting.html
a. #configure terminal
b. #ip routing
2. Now that routing is enabled, we can create our SVI, or our vlan interface. This is creating a default gateway on the switch itself to allow inter-vlan routing within the switch. This eliminates the need for a router in between the switch and its separate networks/VLANs.
a. #configure terminal
b. #interface vlan 100
c. #ip address X.X.X.1 255.255.255.0
d. #no shut (don’t forget to do this since your SVI interfaces can be shut down by default. Just check to be sure)
3. Now you can test your traffic and ensure it passes through.
References: https://www.cisco.com/c/en/us/support/docs/lan-switching/inter-vlan-routing/41860-howto-L3-intervlanrouting.html
No comments:
Post a Comment