cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
584
Views
0
Helpful
2
Replies

Route Map?

Craddockc
Level 3
Level 3

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.

1 Accepted Solution

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

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.

View solution in original post

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

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.

Thank you! I will use this.

Review Cisco Networking for a $25 gift card