[[nsp] Policy Route Maps]

Joshua Sahala joshua.ej.smith at usa.net
Thu Jul 17 13:26:59 EDT 2003


r1---r2---r3---server 
 
on r1 
int $inbnd_int 
ip policy route-map MY_SERVER 
 
route-map MY_SERVER permit 100 
descr route-map to push traffic where i want it 
match ip address 111 
set ip next-hop $r2_inbnd_int 
 
route-map MY_SERVER permit 200 
descr catch-all statement to permit non-interesting traffic 
 
access-list 111 permit ip xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx host $server 
 
on r2 
int $inbnd_int 
ip policy route-map MY_SERVER_2 
 
route-map MY_SERVER_2 permit 100 
descr route-map to push traffic where i want it 
match ip address 112 
set ip next-hop $r3_inbnd_int 
 
route-map MY_SERVER_2 permit 200 
descr catch-all statement to permit non-interesting traffic 
 
access-list 112 permit ip xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx host $server 
 
r3 should know where the server lives, if not, you can set up an similar
route-map 
to push the traffic to the correct next hop or interface. 
 
ugly yes, but it works for me - ymmv 
 
/joshua 
 
Carl Jagerski <carll at forcomm.net> wrote: 
>  
> Hi all, 
>  
> Need to route-map next-hop to an ip address 2 routers away (not on same  
> network).  What do I need on the in between routers to pick up the next hop 

> and carry it forward to the final router and subsequently to a server off  
> of that router. 
>  
> TIA 
>  
>  
>  
>  
>  
>  
> Carl Jagerski 
> Network Administrator, Forward Communications 
> carll at forcomm.net 
> 724-378-4490  
>  
> _______________________________________________ 
> 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/ 
>  
 


"Walk with me through the Universe,
 And along the way see how all of us are Connected.
 Feast the eyes of your Soul,
 On the Love that abounds.
 In all places at once, seemingly endless,
 Like your own existence."
     - Stephen Hawking -





More information about the cisco-nsp mailing list