Book now with code EOY2025
mattau wrote: » you would need 4 sub interfaces on it and a seperate subnet for each vlan with all the pc's and switches default gateway assigned to the ip on the router on a stick. (relative to the vlan you are routing for)
mattau wrote: » you would also have to set up dot1q encapsulation for the vlan you are routing for and a trunk link to the router
mattau wrote: » hope i got most of that right. disclaimer i dont have any certificates
mattau wrote: » example. switches are in vlan 1. switch 1. 192.168.1.2 - dg 192.168.1.1 switch 2 192.168.1.3 - dg 192.168.1.1 pc 1 - switch 1- vlan 20 172.16.1.2 - dg 172.16.1.1 pc 2 - switch 2. vlan 30 10.10.10.2 - dg 10.10.10.1 Router on a stock int fa0/0.1 192.168.1.1 int fa0/0.20 172.16.1.1 int fa0/0.30 10.10.10.1
mattau wrote: » the management vlan for the switches is just like any old vlan. seems you have a few other vlans and want them to communicate with each other so you just point them all to the router on a stick in their respective default gateways and let that deal with finding the different vlans on the different subnets. its just like frame relay point to point links going to several different offices, the physical interface must not have an ip other wise it just wont work because the logical interfaces get treated like they are separate physical interfaces, and its not possible to have 3 subnets on 1 physical interface and still get it to work.
mattau wrote: » a router on a stick is used when you only have 1 physical interface and need to route between many subnets. say in the example you were using without a router on a stick you would have to have like 3 or 4 physical interfaces each connecting to the switches and pc's to enable the connectivity between vlans's. there would be cables n stuff everywhere. you would have to have heaps of ethernet interfaces in the router which most dont have and if you had quite a few vlans this is not a scalable solution. it would be the same thing ie. you have the switches and pcs on their own subnet and the default gateway would be on the router but you just have to think about it as in 1 cable per 1 subnet, vs just using 1 trunk link to the ROAS and as many subinterfaces as you like.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!