cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3615
Views
0
Helpful
3
Replies

No internet access SG300

rsalgado99
Level 1
Level 1

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?

3 Replies 3

Tom Watts
VIP Alumni
VIP Alumni

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

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

Thanks Tom, This resolved my issue.

Hi 

 

Please let me know where you add static route switch sg300-10P or modem