03-06-2018 05:46 AM - edited 03-05-2019 10:02 AM
i have two vlans vlan 100 and 101 , both are connected in different L2 switch ..vlan 100 and 101 having different subnet , they need to communicate each other .
we dont have l3 switch and router .
how to do that ?
canyone help me ..
thanks
Solved! Go to Solution.
03-06-2018 07:42 AM
Hi,
In this case you always need a L3 device: router, multilayer switch or firewall. Now you could try using 1 VLAN and create the second network as secondary, for example:
vlan 100
name Hybrid
interface vlan 100
no shutdown
ip address 192.168.100.1 255.255.255.0
ip address 192.168.101.1 255.255.255.0 secondary.
Are you using the computers without gateway?
03-06-2018 06:10 AM
If subnet is different and switches are L2, then you can't communicate between two VLANs
03-06-2018 06:56 AM
03-06-2018 08:17 AM - edited 03-06-2018 08:18 AM
I did a little more research on this. What I described may or may not work. It also depends on whether a host, without a default gateway, considers its active/connected network interface as a default for all other networks. If it does, it should ARP, and as long as different networks are within the same broadcast domain (such as interconnecting two VLANs), other network hosts should "see" and respond to the ARP. However, if the host does not consider its active/connected network interface as a default, then it shouldn't ARP for hosts other than on its "own" network.
03-07-2018 09:02 AM
Joseph's suggestion to interconnect the vlans may make it possible for all the devices to communicate with each other. But let us acknowledge one thing - when you interconnect the vlans you no longer really have two vlans you actually have one big vlan with two names. Remember that the basic definition of a vlan is that the vlan defines a broadcast domain. When you interconnect the vlans you create one large broadcast domain.
HTH
Rick
03-07-2018 09:19 AM
03-07-2018 09:38 AM
Joseph makes a good point that the original post sets up a situation with mutually contradictory requirements. A network built with only layer 2 switches can not effectively communicate between two vlans. If the requirement is for several vlans and for them to communicate then the network must provide layer 3 switches or routers. If the requirement is for just layer 2 switches then the network must provision only one vlan.
HTH
Rick
03-06-2018 07:42 AM
Hi,
In this case you always need a L3 device: router, multilayer switch or firewall. Now you could try using 1 VLAN and create the second network as secondary, for example:
vlan 100
name Hybrid
interface vlan 100
no shutdown
ip address 192.168.100.1 255.255.255.0
ip address 192.168.101.1 255.255.255.0 secondary.
Are you using the computers without gateway?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: