11-11-2004 08:15 AM - edited 03-02-2019 07:53 PM
I have 2 vlans on 2 different switches belonging to 2 different vtp domains. I want these networks to conect to each other.
e.g Vlan 5 on Switch5 under vtp five
and Vlan 10 on Switch 10 under vtp ten
I need devices on vlan 5 to be able to connect to devices on vlan 10.
How can I go about doing this?
Thanks
11-11-2004 08:27 AM
I presume these VLANs are on different IP (sub)networks. And I presume the two switches are not connected in any way. In that case, you will need a router or a layer-3 switch. Send each VLAN through to a router, using one router physical interface for each switch if necessary, and then route between the two.
Kevin Dorrell
Luxembourg
11-12-2004 03:05 AM
Sorry I forgot to add that the 2 switches are Cisco 3550 so they are L3 device.
So how do I go about doing this?
Thanks
11-12-2004 05:41 AM
londint,
You have to create the Layer 2 vlans in the Catalysts, and then configure one Switched Virtual Interface (SVI) for each layer 2 vlan. For example, if you have VLan 2 on SWITCH 1, and VLAN 3 on SWITCH2, and you want inter-VLAN routing, you would do this:
SWITCH 1: (assuming it is a VTP Server)
#conf t
#vlan database
vtp domain mydomain
vlan 2
vlan 3
exit
#interface vlan 2
ip address x.x.x.x y.y.y.y
no shut
SWITCH 2:
#vlan database
#vtp domain mydomain
exit
#interface vlan 3
ip address w.w.w.w z.z.z.z
no shut
After that, you will have to connect both switches using Layer 3 routed interfaces and configuring this connection as member of another VLAN, for example VLAN 4. Then configure one static route in SWITCH 1 like this:
#ip route w.w.w.w z.z.z.z vlan3
and the same thing on SWITCH 2:
#ip route x.x.x.x y.y.y.y vlan 3
And that should work.
11-15-2004 04:19 AM
Thanks. Where do I use vlan4. And for the ip route on Switch 2 should it be
ip route x.x.x.x y.y.y.y vlan 2?
Also I already have configured on Switch 2 ip route 0.0.0.0 0.0.0.0 vlan9 as the devices on this switch are already on Vlan 9. Vlan 9 traffic goes over another WAN link to another network.
And on switch 1
ip route 0.0.0.0 0.0.0.0 vlan10 as the devices on this switch are already configured for vlan 10. Vlan 10 goes over another WAN Link to another network.
So my objective is to connect these 2 switches together.
Thanks
11-11-2004 09:49 AM
Yes, you will need a router to pass traffic between these two vlans.
Good Luck!
07-27-2020 07:28 AM
Hi all, i have the same issue but it works, a switch from the provider with a VLAN ID connected to our switch with another VLAN ID
i have the native VLAN mismatch, It's for IPTV, but it works
is there a problem with this array ?
07-27-2020 12:11 PM
We do not have enough information about your situation to give good advice. Is the port on your switch configured as an access port or as a trunk port? Is there a single vlan involved or are multiple vlans involved?
07-28-2020 07:03 AM
07-28-2020 06:38 AM
07-28-2020 07:06 AM
07-28-2020 08:28 AM
Diego
Thanks for the clarification. If the interface on your switch connected to the provider is an access port then it participates in a single vlan. And it expects to receive Ethernet frames that do not have vlan tags. Since it is working then this indicates that it is receiving frames with no vlan tags.
In this case the message is an informational message and not an error message. There is a single vlan and that vlan is working ok.
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