[rbak-nsp] redirect policy on incoming traffic didnt work

Michael J. Gage mgage at localtel.net
Thu Aug 9 02:33:42 EDT 2012


You need to apply the policy to the subscriber as an attribute and not the interface as PPPoE connections are virtual circuits when connected.

Michael J Gage

On Aug 8, 2012, at 6:39 PM, "Ahmad Rifai" <ahmad.rifai at gmail.com> wrote:

> Hi All,
> I try to redirect traffic using redirect policy on the interface that facing subscriber, but it seems didnt work since the interface is using pppoe encapsulation (L2) does anybody have alternate way to redirect traffic from certain ip pool to designated next-hop ?
> 
> Thx and Regards,
> 
> Fai
> 
> in context BASIC :
> Heres the config i use :
>  policy access-list Source_based_routing
>   seq 10 permit ip 10.10.0.0 0.0.7.255 any class redirectedsubs
> 
> in context local :
> forward policy Source_based_redirect 
>  access-group Source_based_routing BASIC
>   class redirectedsubs
>    redirect destination next-hop 1.1.1.1 default 
> 
> apply in interface facing subscriber :
> port ethernet 3/3
>  description TO_SUBSCRIBER
>  no shutdown
>  encapsulation dot1q
>  forward policy Source_based_redirect in 
>  dot1q pvc 1127 encapsulation pppoe 
>   bind authentication chap pap maximum 8000
>  dot1q pvc 1137 encapsulation pppoe 
>   bind authentication chap pap maximum 8000
> _______________________________________________
> redback-nsp mailing list
> redback-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/redback-nsp



More information about the redback-nsp mailing list