10-21-2004 05:14 AM - edited 03-02-2019 07:26 PM
Hi
Is it possible to group static routes so that I can define that these static routes belongs to VLAN A, these to VLAN B and so on.
HW: Cisco2610XM, IOS 12.3(6) or what it needs.
regards
Robert
10-21-2004 05:24 AM
You mean to define static routes so that they would be used only for a specific vlan. You can configure the vlan to be the next hop for a specific route (along with the next hop ip address) but the routes would still be installed in the RIB and used by all traffic arriving on all other vlans. If you really want to separate vlans from one another, you might want to look at VRF lite, which will create a separate routing table for each vlan if you want. Is it what you are looking at doing?
Hope this helps,
10-21-2004 05:55 AM
I have many small networks with hosts where I can't add routes but only have a default gateway. All networks placed in a non Cisco VLAN switch. Instead of having many physical "routers" acting as default gateway telling how to come to the destination, I saw this as a cheap solution. Only one router with many VLANs, one into each small network.
But as you write VRF lite might be the answer.
I haven't worked with VRF before, is there any papers or tech-notes you could recommand?
/robert
10-21-2004 08:41 AM
If I am understanding your question, you should be able to use an 802.1q trunk comming from the non-cisco switches and assign sub-interfaces on the the singe physical router interface. Each VLAN would have its own subnet and gateway. If this is what you are looking for, I can post more info.
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