NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
rand__
Jun 18, 2017Aspirant
Same VLAN on two switches (S3300's) will not communicate
Hi, probably its just a stupidity issue on my side but I can't get this to work. I am trying to get two boxes to communicate over two switches using a particular vlan. This is actually the simplifi...
- Jun 28, 2017
That's correct. Functionality of VLANs is to separate the actual/physical networks. VLANs also have a default gateway even if it is set to static and even if they are working on the same subnet. You should have a default gateway(router) configured if not the traffic will not route across the network. Have you tried the setup that I suggested? That is also how VLAN works even if you use different switches. Every network has its own default gateway even if we are not talking about VLANs.
Regards,
JohnC_V
Jun 21, 2017NETGEAR Employee Retired
Hi rand__,
Welcome to the community!
It seems that we need to pass VLAN 6 on both switches and I notice that you don't have a trunk going to your firewall/router that will provide dhcp or default gateway for VLAN 6 devices. You may try this setup:
e.g.
Switch A
g1 - T (VLAN 6) - PVID 1 - goes to Switch B
g2 - T (VLAN 6) - PVID 1 - goes to Firewall/Router(it should have VLAN 6 and the port should be set as trunk)
Switch B
g1 - T (VLAN 6) - PVID 1 - goes to Switch A
g2 - U (VLAN 6) - PVID 6 - goes to the Windows Box
Basically, VLAN aware devices should be set as T and for non-VLAN aware devices should be set as U then specify the PVID.
You may also open a case/chat online on NETGEAR support to further assist you setting up this VLAN.
Regards,
rand__
Jun 22, 2017Aspirant
Hi JohncarloV,
thanks for your answer.
I would think that I wouldnt need to define a gateway if all VLAN 6 members are on the same L2/Subnet? I've been assigning static IPs for this in the same /24 Class C subnet, so there should be no routing involved. Since this is a flat/single subnet there is no default gw to add in the first place (as none of the switches would qualify as router/have a routing interface).
Is that a misconception on my side?
Happy to try your setup o/c if you think this might resolve the issue, but would not really cover the final solution design I was looking for to be honest.
Thanks,
regards
- JohnC_VJun 22, 2017NETGEAR Employee Retired
Hi rand__,
We cannot separate a single network address to VLANs. VLANs are created to have a group of logical networks so it should have its own IP address and default gateway. If they are going to be working on the same subnet/network, no need to create VLANs anymore as it will be working on default VLAN 1. VLANs should be created first in the firewall or to your DHCP server that will serve as the gateway as the functionality of the switch is just an additional port from the router.
e.g.
VLAN 1 - 192.168.1.x /24
VLAN 6 - 192.168.6.x /24One network per VLAN ID.
Regards,
- rand__Jun 25, 2017Aspirant
Hi,
the separation into VLANs additionally to subnets was to separate the actual networks physically to prevent broadcast/multicast messages from impacting the other services. Additionally I need those to separate two DHCP servers running in my network (one internal, one DMZ).
My Vlan1 currently spans a /22 net, my other VLANs are on 12 /24 nets for various activities
My primary DHCP (Sophos FW VM) resides on VLAN 1 running at the other switch I can't reach.
Is your idea now to add 12 additional interfaces (one for each vlan) to that vm so that each of them has a default GW it could get assigned?
Still don't understand why - what is the purpose of the default GW if all IPs are in the same vlan - I thought a trunked vlan kind of extendes the L2 network to the other switch so ll hosts are in the same domain ... might be wrong o/c but have not found a good explanation anywhere...
Thanks
- rand__Jun 27, 2017Aspirant
Could of course also add a single interface being member of all secondary vlans and spanning all subnets ... might be simpler.
Still dont understand why this is necessary when communication works fine on the same switch and no routing/L3 should be involved.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!