[rbak-nsp] Source based routing for specified network

Pawel Jarosz pj at hostersi.pl
Wed Oct 12 15:07:57 EDT 2011


On Wed, 12 Oct 2011, Piotrek S. wrote:

> Hi,
>
> Is it possible to force next hop for specified (source) network ?
>
> On cisco i made it like that:
Hi,
there is a solution, se bellow. Maybe it helps:

Configure port and interface
port ethernet X/Y
  [...]
  bind interface ctx ctx_if
  forward policy my-policy in

configure forward policy:
forward policy my-policy
  access-group v policy_ctx policy_acl
   class my_class
    redirect destination next-hop nn.nn.nn.nn

configure access list in policy_ctx:
policy access-list policy_acl
  seq 10 permit ip host xxx.xxx.xxx.xx any class my_class

This works for me ;-)
I wonder, if there is a simpler solution?

Regards,
 	Pawel

-- 
Pawel Jarosz (PJ2179-RIPE)
Hostersi, Rybnik, Dworek 23, tel. 0 801 000 601
e-mail: pj at hostersi.pl, http://www.hostersi.pl/



More information about the redback-nsp mailing list