NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
sblair
May 21, 2019Aspirant
M4300/M4200 Inter-VLAN routing not over default gateway
I'm having some issues working out Inter-VLAN routing. I've doing a simple test config with 2 VLANs (80 and 90) and trying to ping between 1 device located on each VLAN. My routing IP's in the swit...
sblair
May 21, 2019Aspirant
Ignore the "over default gateway" part of the subject above. It auto-suggested that from previous topics and didn't realized it entered that (I had already read through all of those hoping to find my answer but didn't....)
Thanks
Scott
- schumakuMay 21, 2019Guru - Experienced User
Still, we talk of a static IPv4 routing environment. There is no "magic" inter-VLAN routing. So either the two test systems have the connected VLAN-IP as the default gateway, or the effective default gateway has working static routes to the other subnet. Based on the switch config only, we can just guess.
- sblairMay 21, 2019Aspirant
If you could provide some better guidance it would be appreciated. I'm trying to test this in a sandbox network here. In some cases I'll have a gateway connection from this switch to the internet, in many cases I won't. I'm looking for how to use the L3 features of the switch so that I can establish routing between the two VLANs whether I have an external gateway present or not...
- schumakuMay 21, 2019Guru - Experienced User
sblair wrote:
I'm looking for how to use the L3 features of the switch so that I can establish routing between the two VLANs whether I have an external gateway present or not...
In this case the direct connected VLAN IPv4 address must be the default gateway configured on the connected systems.
The "Inter-VLAN" routing does not work on some dynamic or protocol analysis - it must be configued on all systems properly.
The system connected to the VLAN with the 192.168.80.0/24 subnet must use 192.168.80.254 for the default gateway.
The system connected to the VLAN with the 192.168.90.0/24 subnet must use 192.168.90.254 for the default gateway.
The point is that the IP stack say on a system with the example IP 192.168.80.123 can either communicate with addresses on the same subnet (so 192.168.80.0/24) - any other traffic will be sent to the default gateway.
The point is that the IP stack say on a system with the example IP 192.168.90.234 can either communicate with addresses on the same subnet (so 192.168.90.0/24) - any other traffic will be sent to the default gateway.
That's static IPv4 routing. Your switch must become a core part of the IPv4 routing. Anything he can't handle then can be sent ahead to the "next hop" gateway, e.g. to the Internet.
Related Content
NETGEAR Academy

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