cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
658
Views
5
Helpful
1
Replies

Router interface set up as vlan?

state
Level 1
Level 1

I've noticed in several configs and on some diagrams in the cisco books that router interfaces are set up as vlans. Where can I find information on setting these up and how do I do it.

1 Reply 1

konigl
Level 7
Level 7

If you have multiple VLANs in your switched network, and you can create a VLAN trunk that uses IEEE 802.1Q encapsulation from one switch port, you can connect your router to that VLAN trunk port and configure it to route between/among your VLANs using subinterfaces. Here's a helpful link:

Configuring Routing Between VLANs with IEEE 802.1Q Encapsulation

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca804.html

Note: Generally speaking, you need the "Plus" version of whatever IOS you have in order to take advantage of subinterfaces on the LAN side. This may require more RAM on your router than what it shipped with in order to run; likewise, it may take more flash memory to store the "Plus" image than what your router shipped with.

For what it's worth, you can also configure ISL trunks instead of 802.1Q trunks, if the switches and routers are all Cisco products. Again, the key here is using subinterfaces on the LAN connections:

Configuring ISL Trunks on Cisco Routers

http://www.cisco.com/en/US/tech/tk389/tk390/technologies_tech_note09186a00800949fc.shtml

or

Configuring Routing Between VLANs with ISL Encapsulation

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca802.html

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco