Gateway and VLAN

rm69

Honorable
Jan 28, 2014
8
0
10,510
There are two different physical locations in the same VLAN, but different subnets. We are trying to install a UPS at one location, and the snmp traps need to be sent to a server in the second location, but in the same VLAN. Gateway is not entered in the SNMP hardware since we were told that VLAN would handle that part, but the traps are not reaching the destination. Is it necessary to enter a gateway, if both locations are in the same VLAN?
 
Solution


What this guy said.

VLANs are a Layer 2 feature that allow your to segment a single physical network into multiple virtual networks, but communications between subnets is a routing issue...
I'm not sure how your network is setup but from the way I understand it each VLAN is it's own network with subnet. The only other thing I could think of would be a possible firewall issue since they are in different locations blocking the ports required for SNMP traffic. However if they are on the same network I would believe a gateway would not be required.
 
If they are on different subnets then there has to be a router to allow communication between them. Your client must know the address of the router in order to be able to send data to a network or subnet that it does not belong to. This router address is the default gateway. So, yes, if you are trying to communicate between subnets then your client device must have the default gateway address. Whether your talking about 2 subnets on the same network or same VLAN does not matter, you would still need a router and thus a default gateway.
It is generally bad practice to put multiple Subnets in a single VLAN. Most of the time you would do a 1 to 1 relationship with Subnet to VLAN.
 


What this guy said.

VLANs are a Layer 2 feature that allow your to segment a single physical network into multiple virtual networks, but communications between subnets is a routing issue, which is layer 3. You need a gateway to communicate among subnets.
 
Solution

TRENDING THREADS