09-23-2003 02:07 PM - edited 03-02-2019 10:32 AM
Here's my situation. I have 2 trunked switches.... One 6513 switch/with MSFC & a 6509 L2 swtich. The MSFC is set up with a couple of static routes and a default route that points to a router that provides
internet access for the entire organization. I'd like to provide pc's(VLAN8) on the L2 switch with the ability to use a different default route to a second router that would provide external Inet access. Can I enter another default route on the MSFC on the 6513 for the devices on VLAN8? Or will this conflict with the default route already on the MSFC?
Solved! Go to Solution.
09-23-2003 02:40 PM
Sounds like you're actually looking for Policy Based Routing (PBR). On the default gateway for vlan8 pc's configure pbr to set next hop of your second router for vlan8 external internet traffic.
09-23-2003 11:11 PM
Hi,
1) Are you sure the
access-list 4 permit vlan8_gateway is correct?
I think it should be
access-list 4 permit vlan8_IP_subnet wildcard
i.e. access-list 4 permit 10.8.0.0 0.0.255.255
if you are using 10.8.0.0 subnet for your VLAN8.
2) Wouldn't it be more correct to configure the second router IP address as the default gateway on the PCs in VLAN8?
Regards,
Milan
09-23-2003 02:40 PM
Sounds like you're actually looking for Policy Based Routing (PBR). On the default gateway for vlan8 pc's configure pbr to set next hop of your second router for vlan8 external internet traffic.
09-23-2003 04:36 PM
i've tried to set it as follows with no success..
------------------------------------------------
access-list 4 permit vlan8_gateway
!
interface vlan8
ip policy route-map test
!
route-map test permit 10
match ip address 4
set ip default next-hop 2nd_router_address
-----------------------------------------------
09-23-2003 11:11 PM
Hi,
1) Are you sure the
access-list 4 permit vlan8_gateway is correct?
I think it should be
access-list 4 permit vlan8_IP_subnet wildcard
i.e. access-list 4 permit 10.8.0.0 0.0.255.255
if you are using 10.8.0.0 subnet for your VLAN8.
2) Wouldn't it be more correct to configure the second router IP address as the default gateway on the PCs in VLAN8?
Regards,
Milan
09-24-2003 07:08 AM
Seems like this solution will make all traffic from vlan 8 go to the internet. If they need to access other nets at your site you need to test on the destination not the source. Make a list of local nets and if it does not match implement the policy.
09-24-2003 02:38 PM
THANKS EVERYONE!! Actually the PBR solution is just what I needed. WORKS GREAT.
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