11-27-2020 12:29 AM
Hi all together,
I have problem with Inter routing on SG350.
The configuration is :
Default vlan1 : 192.168.1.3
Network: 192.168.1.0/24
Default gateway: 192.168.1.1
VLAN2: 10.0.15.1/24
VLAN3: 10.0.20.1/24
VLAN5: 192.168.2.1/24
I can't see hosts in vlan1 (default) from any network, but the hosts in vlans2, 3 and 5 can see each other without problems.
Also hosts in vlan's2 , 3 and 5 can't see the default g (192.168.1.1) , they only can ping 192.168.1.3 and no more.
IPv4 Routing is enabled on the switch.
Any ideas?
Thanks in advance,
Solved! Go to Solution.
11-27-2020 01:27 AM - edited 11-27-2020 01:27 AM
Hi there,
Your problem is two-fold. For devices in VLAN1 their DGW is 192.168.1.1, so traffic sourced from the other VLANs is sent to the wrong gateway.
The VLAN1 hosts require routes for the VLANs 2,3,5 to go via the SG350 SVI (192.168.1.3).
Likewise the DGW for VLAN1 also needs the same set of routes configured:
! ip route 10.0.15.0 255.255.255.0 192.168.1.3 ip route 10.0.20.0 255.255.255.0 192.168.1.3 ip route 192.168.2.0 255.255.255.0 192.168.1.3 !
cheers,
Seb.
11-27-2020 01:27 AM - edited 11-27-2020 01:27 AM
Hi there,
Your problem is two-fold. For devices in VLAN1 their DGW is 192.168.1.1, so traffic sourced from the other VLANs is sent to the wrong gateway.
The VLAN1 hosts require routes for the VLANs 2,3,5 to go via the SG350 SVI (192.168.1.3).
Likewise the DGW for VLAN1 also needs the same set of routes configured:
! ip route 10.0.15.0 255.255.255.0 192.168.1.3 ip route 10.0.20.0 255.255.255.0 192.168.1.3 ip route 192.168.2.0 255.255.255.0 192.168.1.3 !
cheers,
Seb.
11-27-2020 04:34 AM
Hi Seb Rupik,
Thank you for your answer, much appreciated!
I'm getting error in this case :
sg350(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.3
Gateway cannot be one of the addresses configured on this device.
The problem is with 192.168.1.3
Many thanks,
Xan
11-28-2020 06:48 AM
the gateway should be 192.168.1.1
11-28-2020 08:49 AM
you mean on the switch?
11-27-2020 05:38 AM
Hello again,
Those routes need to be configured on the device which has the SVI 192.168.1.1 (the VLAN default gateway).
cheers,
Seb.
11-28-2020 05:34 AM
Hi Seb,
I will check and I will post result here.
Cheers,
Xan
11-28-2020 06:37 AM
Hi again,
I added route on the Mikrotik for the
10.0.15.0 /24
and now I can access the router (192.168.1.1) and behind (the internet) from 10.0.15.0/24 hosts
also from the 192.168.1.0/24 I can see everything in 10.0.15.0/24
The only "issue" is that I can't ping anything in 192.168.1.0/24( except 192.168.1.1) from 10.0.15.0/24.
This is just for debugging
11-28-2020 11:37 PM - edited 11-28-2020 11:39 PM
I created dhcp pool on mikrotik and get address for my test client - and now- inter vlan routing between default vlan(192...) and others are working.
mikrotik vlan 2 addr 10.0.15.1/24
ip dhcp server pool :10.0.15.100 -10.0.15.130
cisco vlan 2 int. addr : 10.0.15.2/24
test client ip addr. 10.0.15.100 ( from dhcp pool)
Everything is working in both directions.
Thank you all!
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