cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1026
Views
0
Helpful
5
Replies

Cisco Switch SG300-28 interVLAN routing

Caj2581
Level 1
Level 1

I am having issues with interVLAN routing on my SG300-28 switch. I have 2 VLANs 10 and 20. IPs are 10.1.1.254/24 and 10.1.2.254/24, respectively. I have them going to a Netgear R7800 which is connected through VLAN 10. VLAN 10 has internet access but VLAN 20 does not. I can ping the router from VLAN 20 but no internet access.

5 Replies 5

Diana Karolina Rojas
Cisco Employee
Cisco Employee

Hello!

 

 

Can you do ping from the other VLAN (from a PC on vlan 10 to the gateway 10.1.2.254)? Which routes do have configured in the device?

 

------Do not forget to rate useful answers.-----

 

Regards,

Yes. I can ping vlan 10 from PC on vlan 20 but I can't ping pc on vlan 20. The same goes for you router to the internet, I can ping it but I have no internet connectivity from it. The router to the internet is on vlan 10, so that vlan has internet connection. 

 

Switch

Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static


S   0.0.0.0/0 [1/1] via 10.1.1.1, 46:10:18, vlan 10
C   10.1.1.0/24 is directly connected, vlan 10
C   10.1.10.0/24 is directly connected, vlan 20

 

Router

10.1.10.0 255.255.255.0 10.1.1.254(svi for vlan 10)

 

Hello!

 

I thing your problem is that your router is not doing the NAT for both VLANs, I thing this only is doing the nat for vlan 1 because its LAN port is in that vlan, can you try to add the nat in that router? 

Do not forgget to rate useful answers.

 

Regards,

I will try this a little later. Don't have access at the moment. I'm also not able to ping from a PC in VLAN 10 to a PC in VLAN 20 either. I'm not sure why that isn't possible either. 

Yes. I can ping vlan 10 from PC on vlan 20 but I can't ping pc on vlan 20. The same goes for you router to the internet, I can ping it but I have no internet connectivity from it. The router to the internet is on vlan 10, so that vlan has internet connection. 

 

Switch

Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static


S   0.0.0.0/0 [1/1] via 10.1.1.1, 46:10:18, vlan 10
C   10.1.1.0/24 is directly connected, vlan 10
C   10.1.10.0/24 is directly connected, vlan 20

 

Router

10.1.10.0 255.255.255.0 10.1.1.254(svi for vlan 10)

 

I'm not real sure what I'm missing here.