08-09-2020 03:26 PM
hi everyone, pls help me resolve the vlan based route map issue for 350 switch being used as core switch of mid size hotel network.
350 is connected through port 49 to internet modem1 and through port 50 to modem2.
I want only admin and cctv vlan to goto internet through modem1 and rest of traffic through modem2.
I cread extended access list permiting the admin and cctv to internet and then applied it as route map to admin and cctv vlan.
But still all ip under admin and cctv vlan are going through modem2 instead of modem1
What am i missing or doing wrong? How to resolve this issue?
08-09-2020 03:43 PM
Hello,
Is the CCTV vlan a different vlan than the rest of the traffic/devices?
08-09-2020 11:38 PM
08-09-2020 04:17 PM
is this SG 350 ( i have not tried but look below video)
08-09-2020 11:37 PM
@balaji.bandi , I tried as per video but the vlan traffic is not getting distributed as is to be done using plocy based routing on vlans
08-09-2020 11:45 PM
sorry it did not work, can you give more information related to your setup
VLAN information
IP address information
gateway next-hop
08-10-2020 12:23 AM
Vlan info: vlan 5 - admin and vlan18 cctv need to go through modem1 connected on port 49 of 350 switch to internet. All other vlans need to go through other modem2 to internet using port50 on 350
Config done: I configured extended access list permitting vlan 5 and 18 to goto internet then applied it to route map with match access list and set next hop as ip address 80.x of modem1. Finally applied this route map vlan interface 5 and 18.
Modem 2 configured as default GW with static route to internet and modem1 as backup GW with higher metric
Result: still ping and trace to 8.8.8.8 using source as ip from vlan 5 and 18 subnet is going through port50 modem2
ip access-list extended admin
permit ip 192.168.5.0 0.0.0.255 any ace-priority 20
exit
route-map admin 1
match ip address access-list admin
set ip next-hop 192.168.80.x
exit
int vlan 5
ip address 192.168.5.1 255.255.255.0
policy route-map admin
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