08-28-2013 07:21 PM - edited 03-07-2019 03:11 PM
Hi Experts,
I've set up the following configuration:
PC A --- SW A --- SW B --- SVR A (via VLAN 2)
PC B --- SW A --- SW B --- SVR B (via VLAN 3)
I've set:
1. two vlan 2 access ports on switch A to connect PC A and SW B
2. two vlan 3 access ports on switch A to connect PC B and SW B
3. two vlan 2 access ports on switch B to connect SW A and SVR A
4. two vlan 3 access ports on switch B to connect SW A and SVR B
all using separate physical ports and switchport mode access.
This setup does not work, is it the correct behavior or I missed out somthing?
Cheers,
Elvin
Solved! Go to Solution.
08-29-2013 12:08 AM
I could not understand why are you connecting an access port to the switch on other end (interface ethernet 1/g21 -- to SW B).
Please get the same configured as trunk and then pass the desired vlan from therein.
i.e.
PC-----access port -----SW A -------trunk port ---------------SW B ---------access port--------PC.
The trunk port can be configured to carry the desired vlans.
Thanks
Parvesh
Note: Please do not forget to rate the post helpful if you find it worth.
08-28-2013 08:17 PM
Can you post the running config from the switches please?
08-28-2013 11:41 PM
Switch A:
interface ethernet 1/g1 -- to PC A
switchport access vlan 2
exit
interface ethernet 1/g2 -- to PC B
switchport access vlan 3
exit
interface ethernet 1/g21 -- to SW B
switchport access vlan 2
exit
interface ethernet 1/g22 -- to SW B
switchport access vlan 3
exit
Switch B:
interface ethernet 1/g1 -- to SVR A
switchport access vlan 2
exit
interface ethernet 1/g2 -- to SVR B
switchport access vlan 3
exit
interface ethernet 1/g21 -- to SW A
switchport access vlan 2
exit
interface ethernet 1/g22 -- to SW A
switchport access vlan 3
exit
other ports are shutdown.
ip address of PC A: 192.168.1.10/24
ip address of PC B: 10.1.1.10/28
ip address of SVR A: 192.168.1.1/24
ip address of SVR B: 10.1.1.1/28
08-29-2013 12:06 AM
When you say "this setup does not work", could you be more specific please? You need to break the problem down into sections for easy diagnosis. For example, can each PC ping its own gateway address on the SVI?
Kevin Dorrell
Luxembourg
08-29-2013 12:08 AM
I could not understand why are you connecting an access port to the switch on other end (interface ethernet 1/g21 -- to SW B).
Please get the same configured as trunk and then pass the desired vlan from therein.
i.e.
PC-----access port -----SW A -------trunk port ---------------SW B ---------access port--------PC.
The trunk port can be configured to carry the desired vlans.
Thanks
Parvesh
Note: Please do not forget to rate the post helpful if you find it worth.
09-04-2013 05:58 PM
Hi,
I found out what's wrong.
I've set to RSTP and because of that, its layer 2 STP shutting down one ports regardless of VLAN.
Cheers,
Elvin
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