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 switch for each VLAN are 192.168.80.254 and 192.168.90.254.
PC #1 is set to 192.168.80.200 and PC #2 is set to 192.168.90.201. From each PC I can ping both of the .x.254 routing IP's but I can't ping either of the PC's. I did put both PC's on the same VLAN and verify that the PC's could ping each other with no issue first (i.e. no firewall issues).
I'm not sure what I'm missing in the config at this point to be able to access devices across VLANs.
This config was done on an M4200, but basically the same as M4300 from a configuration point of view which I'm also working with.
!Current Configuration: ! !System Description "M4200-10MG-PoE+ ProSAFE 8-port 2.5 Gigabit L2+ Intelligent Edge Managed Switch with 2 10G Uplinks, 12.0.2.20, 1.0.0.6" !System Software Version "12.0.2.20" !System Up Time "0 days 5 hrs 4 mins 46 secs" !Additional Packages QOS,IPv6,IPv6 Management,Routing !Current SNTP Synchronized Time: SNTP Last Attempt Status Is Not Successful ! serviceport protocol none vlan database vlan 80,90 vlan routing 1 1 vlan routing 80 2 vlan routing 90 3 exit configure line console exit line telnet exit line ssh exit ! interface 0/1 vlan pvid 80 vlan participation auto 1 vlan participation include 80 exit interface 0/2 vlan pvid 90 vlan participation auto 1 vlan participation include 90 exit interface 0/3 vlan pvid 80 vlan participation auto 1 vlan participation include 80 exit interface 0/4 vlan pvid 90 vlan participation auto 1 vlan participation include 90 exit interface 0/5 vlan pvid 80 vlan participation auto 1 vlan participation include 80 exit interface vlan 80 routing ip address 192.168.80.254 255.255.255.0 exit interface vlan 90 routing ip address 192.168.90.254 255.255.255.0 exit router rip exit exit
Thanks.
10 Replies
- sblairAspirant
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
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.
- sblairAspirant
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...
Related Content
NETGEAR Academy

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