Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLANs, 2 switches and 2 routers.

Status
Not open for further replies.

fabepach00

IS-IT--Management
Apr 11, 2008
7
I have configured a router on a stick, but now I am trying to found out if this config is possible.

switch1 to router1 to router2 to switch2.
2924 2621 2621 2924

I want to create vlans in switch1, then via vtp have them show up switch2. I also need to communicate from vlan1 i switch1 to vlan 1 in switch2.

switch1 config
int vlan 1 192.168.16.2 255.255.255.240
int vlan 2 192.168.32.2 255.255.255.240
fa0/1 is vlan 1
fa0/2 is vlan 2
fa0/24 is the trunk running dot1q to the router

router1 config
sub int fa0/0.1 dot1q 1
ip address 192.168.16.1 255.255.255.240
sub int fa0/0.2 dot1q 2
ip address 192.168.32.1 255.255.255.240

My question is what IP address do I assign on router2 sub interface and the switch interfaces?

Any help would be greatly appreciated.

Thank you.
 
I am confused by your topology. How are the routers connected? You mention router on a stick and then you talk about two routers. Which One is it?
 
I think he wants router-on-a-stick at both locations, each with 2 vlans, and propagate the vlans across the two routers.

Burt
 
Burt, you are correct. I'm having difficulty trying to config the routers and switches to do this. I am using a .252 address for the serial interfaces which connect the 2 routers. All my subnets are 192.168.16.0 using a subnet mask of .240 or /28. How do I get the Vlans to talk accross the routers?

Thanks.
 
Thanks Brian, I think you are correct. I was racking my brain. I knew I could do router on a stick and add as many switches as I needed too. As long as VTP and STP were working properly. This could be the reason I could not find any sample configs out there. I'm not sure why I even asked the question but I'm sure I had a good reason. Hopefully I can remember.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top