cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
0
Helpful
2
Replies

vlan query Distribution SW

krahulbgp
Level 1
Level 1

can vlan 5 of Dsw1can communicate with  vlan 10 ?

can vlan 5 of dsw 1 can communicate with vlan 10 of dsw2 ?

means each other'vlan  of dsw1 & dsw 2 

config..........

Dsw 1.......

en

conf t
hostname Dsw1
int e0/0
no switchport
ip add 192.168.60.1 255.255.255.252
no shut
int e0/3
no switchport
ip add 192.168.60.9 255.255.255.252
no shut
vlan 5
vlan 10
int range e0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,5,10
int vlan 5
ip add 192.168.1.1 255.255.255.0
no shut
int vlan 10
ip add 192.168.2.1 255.255.255.0
no shut

ip routing

dsw2.........

Dsw 2
en
conf t
hostname Dsw2
int e0/0
no switchport
ip add 192.168.60.5 255.255.255.252
no shut
int e0/3
no switchport
ip add 192.168.60.10 255.255.255.252
no shut
vlan 5
vlan 10
int range e0/1-2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1,5,10
int vlan 5
ip add 192.168.1.2 255.255.255.0
no shut
int vlan 10
ip add 192.168.2.2 255.255.255.0
no shut

ip routing

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Sure it will have communication.

make sure switchports belong to access port VLAN 5 or 10 to belong to respected VLAN, and the device has the right gateway configured.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

you have two switches with 'ip routing' enabled, which essentially makes them layer 3 devices. You have configured the same Vlans with the same IP address spaces on both switches, which won't work unless you use Network Address Translation (which the switches don't support). So, there will be no communication between both Vlans on both switches with this configuration.

What are you trying to accomplish ? Is this the full configuration ? There also is no routing at all between both switches (static or dynamic)...

Review Cisco Networking for a $25 gift card