02-07-2013 07:55 AM
Hi,
I'm trying to configure a SG300 to be reachable beyond its own subnet. Its IP address is configured by DHCP to 192.168.2.2/255.255.255.0. It is possible to ping the switch from the same subnet but not from outside. The switch is set to layer 2 mode. All routing should be done by the gateway.
Here's what I have checked so far:
Is there some kind of firewall setting that prohibits the switch to respond to ip packets from outside the subnet?
02-07-2013 07:58 AM
I just set the ip address manually, and now it works. Is there any reason why setting the gateway by DHCP should not work?
02-07-2013 09:11 AM
Hi Dirk, for a layer 2 switch the default gateway must be specified to access the management IP from any subnet outside of the subnet of the switch management.
There is no particular reason why a DHCP assigned gateway wouldn't work. I am assuming you had the switch to management set to receive DHCP. If not, the gateway would not be set to be dynamic.
-Tom
Please mark answered for helpful posts
02-07-2013 09:28 AM
Could this be caused by setting Administration > File Management > DHCP Auto Configuration to disabled (I don't want the switch to automatically get any TFTP servers for configuration files)?
02-07-2013 09:35 AM
No, I do not believe so.
If you want to test the theory-
Factory reset the switch and let the DHCP server give it whatever info it wants. Then from a different routed subnet try to access the switch.
Just make sure you don't have a wireless connection overlap a wired connection.
-Tom
Please mark answered for helpful posts
02-07-2013 09:40 AM
That's not possible - the switch is currently in use. As a workaround, I'll set the ip address/gateway manually. Thanks for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide