04-10-2018 10:17 AM - edited 03-08-2019 02:35 PM
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.
04-10-2018 12:40 PM
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,
04-12-2018 07:46 AM
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)
04-12-2018 08:14 AM
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,
04-12-2018 08:27 AM
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.
04-12-2018 07:55 AM
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.
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