[rbak-nsp] Source based routing on SE100
Ian Calderbank
ian at calderbankconsulting.co.uk
Wed May 18 12:29:56 EDT 2011
Pawel,
Its not clear to me what you are asking / trying to do, the explanation
seems a little confused?
If you are asking, whats the equivalent of cisco PBR (make forwarding
decision based on source IP or other arbitrary criteria), its "forwarding
policy" applied to circuit, which it seems you are already trying using.
You can apply forwarding policy by radius attribute per-subscriber, if
that's more scalable for you.
Most scalable design is to bind the subscriber to the right context in the
first place. Why are you binding all subs to context OSPF? Why not bind him
to context A in the first place, then he automatically routes through
context A?
The subscriber static route that you see is expected behaviour given that
you have defined that static subscriber and it is bound.
cheers
Ian
----------
1. Source based routing on SE100 (Pawel Jarosz)
2. Re: Source based routing on SE100 (Frans Legdeur)
3. Re: Source based routing on SE100 (Pawel Jarosz)
Message: 3
Date: Wed, 18 May 2011 14:46:53 +0200 (CEST)
From: Pawel Jarosz <pj at hostersi.pl>
To: Frans Legdeur <frans at falco-networks.com>
Cc: redback-nsp at puck.nether.net
Subject: Re: [rbak-nsp] Source based routing on SE100
Message-ID: <alpine.DEB.2.00.1105181429570.13990 at popfs02.hostersi.pl>
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
On Wed, 18 May 2011, Frans Legdeur wrote:
> What about per mac adres in a different context?
> Would that work Pawel?
>
> This would be possible using (static/dynamic) clips, as long as these
> are subscribers.
This border router, so there is no l2 information.
With static clips it partially works, works towards context A or B but it
does not work backwards (bellow sample config):
context ospf
interface klips multibind
ip unnumbered ospf-area
ip pool 10.0.0.0/16
interface ospf-area
description OSPF core member
ip address 10.11.0.0/24
subscriber name s2
ip address 10.0.0.5
forward policy fwd-b
ip route 0.0.0.0/0 context A
!
forward policy fwd-b
redirect destination next-hop ip-of-context-b !
port ethernet 2/1
bind interface ospf-area ospf
service clips
clips pvc 1
bind subscriber s1 at ospf
Now I have working ospf, working forward subscriber, but in routing table
there is entry:
Type Network Next Hop Dist Metric UpTime
Interface
SUB A 10.0.0.5/32 10.0.0.5 15 0 klips
not what I have expected.
Is there a way to supress this route? I do not mean to configure it by hand
in config - this is not flexible.
> Else you would need intercontext routing with route filters and ACL's.
Could you provide an example?
Than you,
Pawel
------------------------------
More information about the redback-nsp
mailing list