Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Route Map?

Hello Community,

I would like to know how to force all traffic from a specific network to go straight to the internet without being able to ping or otherwise communicate with my other networks eventhough there is a route in the routing table for them. I have a specific wireless network on its own interface/vlan/subnet and would like to know how to force all that traffic straight to the internet. I do not want this network to be able to ping or otherwise communicate with my other internal subnets. Would a Route Map be the best option for this? Essentially I would like a config that acts as a "all traffic from this network, send it to this next hop ip" Is this possible?

Thanks.

Chris.

  • LAN Switching and Routing
Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Route Map?

Hi,

if you want to bypass the RIB for routing packets then you must use PBR( Policy Based Routing) which is effectively

using a route-map.

eg you want all packets from 192.168.1.0 going anywhere to always take the path to x.x.x.x

access-list 100 permit ip 192.168.1.0 0.0.0.255 any

interface x/x    -----> interface in which source 192.168.1.0 enters the router

ip policy route-map NETWORK_A

route-map NETWORK_A

match ip address 100   ---->  matching the ACL 100

set ip next-hop x.x.x.x  ----> bypassing the next-hop from RIB

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
2 REPLIES
Purple

Route Map?

Hi,

if you want to bypass the RIB for routing packets then you must use PBR( Policy Based Routing) which is effectively

using a route-map.

eg you want all packets from 192.168.1.0 going anywhere to always take the path to x.x.x.x

access-list 100 permit ip 192.168.1.0 0.0.0.255 any

interface x/x    -----> interface in which source 192.168.1.0 enters the router

ip policy route-map NETWORK_A

route-map NETWORK_A

match ip address 100   ---->  matching the ACL 100

set ip next-hop x.x.x.x  ----> bypassing the next-hop from RIB

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
New Member

Route Map?

Thank you! I will use this.

181
Views
0
Helpful
2
Replies