10-16-2013 07:29 PM
Hello everybody,
I am setting up a small lab (before I roll this out to production) and I as the subject of this discussion indicates, I don't have access to the internet from inside the configured vlans.
Here is my setup
Internet
I
Broadband Router (TrendNET TW100-S4W) LAN IP: 192.168.77.1/24 - This will eventually be replaced with Sonicwall firewall TZ205
I
I link to router using interface gi10
I
SG300-10P IP:192.168.77.254/24
I
VLANs 10, 20
ip default-gateway 192.168.77.1
VLAN Interfaces
VLAN10: 192.168.10.254/24 - PROD
VLAN20: 192.168.20.254/24 - FACULTY
I am able to configure the VLANs and I am able to ping between them.
So for example if I configure a PC on VLAN 10 with IP 192.168.10.4, it can ping a PC on VLAN 20 with an IP of 192.168.20.45
From inside the switch, I can ping both of the above PCs, the router's LAN interface (192.168.77.1) AND the internet both by ip (8.8.8.8) and with dns resolution (www.google.com)
However, from each one of the above PCs on VLANs 10 & 20, I can also ping the switch's IP (192.168.77.254) BUT I CANNOT ping the router's LAN interface (192.168.77.1) nor the internet.
I am using interface gi10 to connect both the SG300 and the router, any ideas as to what am I missing?
I have attached the configuration file.
Also, I have been reading about changing the native vlan from 1 to something else. Is this recommended why/why not and what is the process to do this?
10-19-2013 06:42 AM
Hi Robert, you need a static route on your gateway device to point back to the switch SVI. Your modem box essentially has no idea where to send the traffic.
-Tom
Please mark answered for helpful posts
10-28-2013 10:46 AM
Thanks Tom, This resolved my issue.
09-10-2018 02:56 AM
Hi
Please let me know where you add static route switch sg300-10P or modem
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