Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Policy routing PBR

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Policy routing experimental environment GNS3 policy routing: better than the routing table, more flexible, can specify the next-hop forwarding address, has a stronger control. Specific other online search, a lot. I won't explain it in detail.

Experimental procedure

Step 1: set each IP address and refer to a default route to R3 on R1Magic R2 and R4 respectively (there is no route entry on R3)

Ip route 0.0.0.0 0.0.0.0 23.1.1.3

Step 2: set ACL on R3, catch the entry, and let the entry go straight to the next hop

Route-map aa permit 10

Match ip address 10

Set ip next-hop 34.1.1.4

Route-map bb permit 10

Match ip address 20

Set ip next-hop 34.1.1.4

Int f0/0

Ip policy route-map aa (configured in the interface)

Int f0/1

Ip policy route-map bb

Access-list 10 permit 13.1.1.0 0.0.0.255

Access-list 20 permit 23.1.1.0 0.0.0.255

The experiment is relatively simple, but not only this way of play, there are a lot of fun waiting for us to dig.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report