[nsp] NEWBEE PBR question

Stephen J. Wilcox steve at telecomplete.co.uk
Tue Mar 25 22:07:26 EST 2003


On Tue, 25 Mar 2003, Voll, Scott wrote:

> 
> OK.... Help me to understand PBR.  
> 
> if I have an access list such as:
> 
> 	access-list 152 permit ip SOURCE_A DESTINATION_A
> 	access-list 152 permit ip SOURCE_A DESTINATION_B
> 	access-list 152 permit ip SOURCE_A DESTINATION_C
> 	access-list 152 permit ip SOURCE_A DESTINATION_D
> 
> Then a second access list such as:
> 
> 	acess-list 153 permit ip SOURCE_A any
> 
> Then use this Route Map:
> 
> 	route-map TEST permit 10
> 	 match ip address 152
> 	 set ip next-hop IP OF  ROUTER ON SERIAL NETWORK
> 	!
> 	route-map TEST permit 20
> 	 match ip address 153
> 	 set ip next-hop IP OF ROUTER ON FASTETHERNET0/1 NETWORK
> 
> Then apply it on F0/1
> 
> 	interface fastethernet 0/1
> 	 ip address SOURCE_A 
> 	 ip policy route-map TEST
> 
> will it correctly route the SOURCE_A network on F0/1 to DESTINATION
> A,B,C, and D on the serial link and all default network traffic to the
> internet via the other router on SOURCE_A network? 

Well, it will certainly forward the traffic from SOURCEA net to the serial and 
anything else to the fa0/1 router .. whether the packets route afterwards 
depends on the routers you forward them to. Be very careful when modifying next 
hop in this way you dont set up loops. 

Steve

> 
> Thanks
> 
> Scott Voll
> Network Analyst, CCNA 
> Willamette ESD
> scott.voll at wesd.org
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 



More information about the cisco-nsp mailing list