cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
13
Helpful
7
Replies

vlans on 2 switches

harinirina
Level 1
Level 1

Hi,

Our network's as follow :

router (2611XM) --- switch1 (2950G) ---- switch2 (2950T)

We've configured vlan 2,3 on switch1 and vlan 4,5 on switch2.

The router do intervlan routing :

IP: 192.168.2.254 for vlan2

IP: 192.168.3.254 for vlan3

IP: 192.168.4.254 for vlan4

IP: 192.168.5.254 for vlan5

on switch1, the port connected to router and switch2 are configured as trunk

on switch2, the port connected to switch1 are configured as trunk.

Users on vlan 2 and 3 can ping each other.

Users on vlan 4 / 5 can't ping 192.168.4.254 / 192.168.5.254.

When switch 2 is connected directly to the router, vlan 4 and 5 can ping each other.

7 Replies 7

royalblues
Level 10
Level 10

Hi

can you post show VTP status of both switches.

COuld be great if you post the config of all three

Narayan

Here are the output of switches (show vtp status - sh run - sh interfaces trunk ) and router

Modify the VTP domain name on SW1 and define all VLANs on it. After a short time SW2 will learn these settings (domain name also). I hope after this InterVlan routing will OK.

bye

FCS

Please rate me if I helped.

I don't really understand how it works.

i've changed vtp domaine name and added vlan on switch1, vlan 3 and vlan 4 could ping each other.

i've modified the pc's IP address and put it on vlan 2, it can't ping vlan 4.

could you give some url or more explanation , please ?

jgretta
Level 1
Level 1

If you do a "show vlan brief" do you see all vlans properly? Are they active? In order for VTP to work correctly, both switches will need to be in the same vtp domain. I recommend making one switch a server and the other a client, be sure to set the non-server switch to transparent and then to client mode within your VTP domain.

Best,

James

Edison Ortiz
Hall of Fame
Hall of Fame

I suggest configuring these switches as VTP server-client. The VTP server should be the switch connected to the router since this device will forward the VLANs that are known internally. It will not forward VLANs that reside in another database.

In order to fix your problem, follow these steps:

On Switch1:

config t

vtp domain cisco

vtp mode server

vlan 2

vlan 3

vlan 4

vlan 5

exit

On Switch 2:

config t

vtp domain cisco

vtp mode client

exit

Wait a minute or two and then issue SH VLAN on

switch 2, you should have all VLANs from switch1.

Make sure the port connected between switches is set

to trunk and verify if it's trunking with the command

sh int trunk.

Please let us know the outcome.

Thanks everybody.

It's working now

Review Cisco Networking for a $25 gift card