PBR for Local Originated Traffic and ISDN

From: gladston@br.ibm.com
Date: Thu Jun 16 2005 - 20:32:37 GMT-3


Do you have problems with ip local policy when the next-hop is ISDN?

It works fine for other interfaces, but not for ISDN. Debug shows PBR is doing its job:

*Mar 1 00:49:46: IP: local to Virtual-Access2 142.20.45.5.
*Mar 1 00:49:48: IP: s=142.20.4.1 (local), d=142.20.5.1, len 100, policy match
*Mar 1 00:49:48: IP: route map Test, item 10, permit
*Mar 1 00:49:48: IP: s=142.20.4.1 (local), d=142.20.5.1 (Virtual-Access2), len 100, policy routed
*Mar 1 00:49:48: IP: local to Virtual-Access2 142.20.45.5.
*Mar 1 00:49:50: IP: s=142.20.4.1 (local), d=142.20.5.1, len 100, policy match
*Mar 1 00:49:50: IP: route map Test, item 10, permit
*Mar 1 00:49:50: IP: s=142.20.4.1 (local), d=142.20.5.1 (Virtual-Access2), len 100, policy routed

...but debug ip packet on local router and remote router shows that packets does not reach the BRI interface, although PBR shows it sends the traffic to it.

The ISDN interface goes up
Ping to 142.20.45.5 (remote site) works fine.

PBR applyed to e0/0 forcing traffic goes to BRI works fine. The problem is just for local traffic. (ping and telnet tested)

I tried to use dialer map for the destination address 142.20.5.1 on the hope this was an encapsulation failed problem, but it did not help.
I reload the router, without changes.

interface BRI0/0
 ip address 142.20.45.4 255.255.255.0
 encapsulation ppp
 ip ospf message-digest-key 10 md5 cisco
 ip ospf cost 9999
 dialer map ip 142.20.45.5 name Rack2R5 broadcast 5551111111
 dialer map ip 142.20.5.1 name Rack2R5 broadcast 5551111111
 dialer load-threshold 1 outbound
 dialer-group 1
 isdn switch-type basic-ni
 isdn spid1 444111111100
 isdn spid2 444222222200
 no cdp enable
 ppp authentication chap
 ppp multilink
end
!
ip local policy route-map Test
!
route-map Test permit 10
 match ip address 166
 set ip next-hop 142.20.45.5
!
access-list 166 permit ip h 142.20.4.1 h 142.20.5.1



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:41 GMT-3