Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Policy Routing, need help.

Status
Not open for further replies.

rcasta

Technical User
Aug 8, 2002
211
CA
Hello all,

Listen, my scenario is as follows:

* Our network has 4 T1 links towards an ISP1, and 2 more T1's to a different one(ISP2).
* The egp is BGP+4 and the way traffic is being handled is by means of loopbacks on account of balancing.
* Traffic is being load balanced between our 2 ISPs.
* A subnet, obviously coming from our LAN, needs to be routed towards ISP1 ONLY.

Let me post a snippet of my config on the border router and below a detailed explanation>

router bgp 65534
network 172.16.0.0
neighbor 192.168.254.1 description ISP1
neighbor 192.168.254.1 update-source Loopback0
neighbor 148.140.140.1 description ISP2
neighbor 148.140.140.1 update-source Loopback0

! 4 T1 links, each with its own ip address, ISP1
ip route 192.168.254.1 255.255.255.255 Serial1/0:1
ip route 192.168.254.1 255.255.255.255 Serial1/1:1
ip route 192.168.254.1 255.255.255.255 Serial1/2:1
ip route 192.168.254.1 255.255.255.255 Serial1/3:1

! 2 T1 links, each with its own ip address, ISP2
ip route 148.140.140.1 255.255.255.255 Serial2/2:1
ip route 148.140.140.1 255.255.255.255 Serial2/3:1

route-map changenh, permit, sequence 10
Match clauses:
ip address (access-lists): 2
Set clauses:
ip next-hop 192.168.254.1

access-list 2 permit ip 172.16.53.0 0.0.0.255

*The BGP part, I reckon, is self-explanatory, loopback addresses are being used as to balance packets.
*In the route-map section, my intention is making subnet 172.16.53.0/24 exit via ISP1's loopback address (192.168.254.1)

I would expect that traffic coming from network 172.16.53.0/24 exits via the 4 T1 links, is this doable?
Someone suggested on setting the 4-T1 links' IP addresses in the route map. Nevertheless, if understood correctly, the router will forward traffic to the first active next hop rather than move it on a round robin basis.

Any thoughts or comments?

Best regards,

 
How are you activating the policy?
interface ethernet0/0
ip policy route-map changenh
 
Like this>

interface GigabitEthernet0/0.1
description Corporate LAN
encapsulation dot1Q 10
ip address 10.2.25.24 255.255.255.192
ip policy route-map changenh

interface Serial1/0:1
....


Best regards,
 
Certainly, nevertheless, it seems like not.

Should CEF need to be enabled?
 
Does this config make sense?

I'll try it out at once.

Thank you all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top