Avatar of jostafew
Flag for Canada asked on

Need help with basic layer 3 switch configuration

Hi everyone, I could use some assistance doing what should be a pretty basic layer 3 switch configuration.

I've got a site with three existing VLANs and subnets. Currently the physical router device is routing inter-VLAN traffic. They are as follows:

VLAN 1 (default):

VLAN 2 (mgmt.):

VLAN 3 (guest):

Another group will be joining the existing network, that group will have their own subnet which I will be placing on VLAN 4 at the main site. I have a layer 3 switch (Netgear GSM7328FS) that I will be using to route VLAN 4 to VLAN 1 as I should get better performance routing with this device than the physical router. This group will also be sharing VLANs 2 and 3. Switch port connecting to this office will be configured as a trunk (Cisco language), so it will be an untagged member of VLAN 4 and tagged member of VLANs 2 and 3.

The switch management interface is on VLAN 2.

I've assigned IP addresses to the VLAN interfaces as follows:

Routing is enabled on the device and the interfaces. I've got a route statement in my physical router for next hop

Now for the question, why I'm not able to reach (VLAN 4) from the other side?

If I attempt to ping from I get:
Reply from TTL expired in transit.
Reply from TTL expired in transit.
Reply from TTL expired in transit.
Reply from TTL expired in transit.

If I attempt tracert, I get:
Tracing route to over a maximum of 30 hops

  1     <1 ms    <1 ms    <1 ms
  2       1 ms     1 ms      <1 ms
  3   145 ms     2 ms        2 ms
  4       1 ms     1 ms        2 ms
  5       2 ms     2 ms        2 ms
  6       2 ms     2 ms        2 ms  ...

I have no idea why the x.x.131.0 subnet is even involved. Hopefully this behaviour will throw up a flag for someone, and you can point me in the right direction. Thanks in advance

*** Edit ***
After sitting for a while, now the pings just time out, as does tracert. I've also thrown up a quick screen shot of the routes as configured in the device. I feel like the problem lies in something that's there (or not there).

Switches / HubsNetworkingNetwork Architecture

Avatar of undefined
Last Comment

8/22/2022 - Mon
Predrag Jovic

That's called routing loop. :)
Next hop address should always point to some neighbor router as the way to get to some remote network. Your default route points to itself.

Can you attach your network topology and route tables of devices?

Hi Predrag, thanks for the reply. I agree it does look like some sort of loop but the default route next hop address ( is the usual gateway / router on that subnet which I believe makes sense.

The switch's IP address on that subnet is

I will post the requested topology and route tables shortly.

Posting the network topology here:
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

Gathered some new knowledge on this one; it looks to me like a routing issue within the switch. Firstly it reports the interface on VLAN4 as being down, presumably because the SFP port with PVID 4 has nothing plugged into it. I'm assuming that port down = VLAN interface down = gateway does not respond to ping even when I plug a PC into another port on the same VLAN.

Secondly, I got fed up and tried plan b - doing the routing in the down-stream HP 1920 switch instead of this device. Sure enough, I had that going in about 10 minutes. Looking at the routes that the HP switch automatically generated, there were some missing from the Netgear's route table. However, upon trying to add the corresponding routes (addresses and subnets adjusted of course) it would present an error message and wouldn't let me add them. I could add other nonsense routes, but not the ones I actually needed.

Unless someone has a bright idea why the Netgear switch won't let me add the required routes (maybe something to do with primary VLAN or something) I'm going to throw the towel on that device and go with plan b. Thanks for reading
Predrag Jovic

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you very much, I appreciate the thorough explanation. This project has been a learning one and the info you provided has added to that.

You confirming that the interface needs to be up in order for the router to learn about the subnet combined with the mention that simply having a tagged port using that VLAN is enough to bring it up (with Cisco) did the trick for me. I tagged a port on this switch and on another downstream switch so as to include VLAN 4 in that trunk and voila, interface up. Upon checking the learned routes I see one for the subnet. A quick test from a client at that site and I am able to ping the gateway on that new subnet. Success!

I guess I'll hang on to my towel a little longer ;-) Have a good day