07-19-2015 06:53 AM - edited 03-08-2019 01:01 AM
I'm new to this community and am not sure if this is the best place to post this but I'm trying to connect 2 switches and using VLANs in preparation for my CCNA. I set up VTP and it appears to be working well between the Server and Client. I've set up 3 VLANs and each has a default gateway and IP address as below:
Switch 1
VLAN1: IP - 192.168.1.2; Gateway - 192.168.1.1
VLAN2: IP - 192.168.2.2; Gateway - 192.168.2.1
VLAN3: IP - 192.168.3.2; Gateway - 192.168.3.1 802.1q
Switch 2
VLAN1: IP - 192.168.1.3; Gateway - 192.168.1.1
VLAN2: IP - 192.168.2.3; Gateway - 192.168.2.1
VLAN3: IP - 192.168.3.3; Gateway - 192.168.3.1 802.1q
Each have ports assigned to them and and there is a switch port that is a trunk port connected between the 2 of them. I have no conflict with the native VLAN but I can only ping back and forth between VLAN 1. For some reason VLAN 2 is not able to ping back and forth between the switches.
I have successfully simulated a router on a stick with 1 router/1 switch and proceeded to try an additional switch (switch 2) to see if I could test my knowledge a step further.
Not sure what I'm missing or what I'm doing wrong.
07-19-2015 08:35 AM
On your trunk port between switch 1 and 2 did you add vlan 2 and 3?
Also, are you using a router to route between vlans 1,2 and 3? If so the connection between the router and the switch needs to be configured as trunk port with sub-interfaces configured on the router with .1q encapsulation and the gateway addresses (192.168.1.1, 2.1 and 3.1)
Also, can you post relevant config from all devices?
HTH
07-20-2015 11:48 AM
Did you setup the router as your VTP Server and your switches blow as VTP clients?
07-20-2015 03:14 PM
Are you using packet tracer for this? or physical equipment?
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