[Xorp-hackers] [Xorp-users] Policy network4 operator

Kristian Larsson kristian at spritelink.se
Mon Nov 20 12:53:17 PST 2006


On Mon, Nov 20, 2006 at 11:45:00AM -0800, Pavlin Radoslavov wrote:
> > > Seriously, though, is it only the person who originally implemented
> > > this feature in XORP (Andrea and probably later updated by Marko?),
> > > Atanu and me who think that comparing network addresses indeed means
> > > comparing network addresses?
> > 
> > Maybe :-)  The operators seem reverse to the last time I implemented it,
> > and the way I'm used to it in a Cisco notation.
> 
> Again, as I mentioned earlier, the Cisco notation reasoning doesn't
> apply here.
> In Cisco, the comparison is network address vs. prefix length.
> In our case we have network address vs. network address.
> 
> 
> This thread is getting too long, so let me repeat again my question
> about the short/medium term solution.
> If you can't accept the current behavior, would you like us to
> invest some time trying to implement the Juniper-like keywords:
> 
> "network4 exact 10.0.0.0/8"     SAME AS "network4 == 10.0.0.0/8"
> "network4 longer 10.0.0.0/8"    SAME AS "network4 < 10.0.0.0/8"
> "network4 orlonger 10.0.0.0/8"  SAME AS "network4 <= 10.0.0.0/8"
> "network4 shorter 10.0.0.0/8"   SAME AS "network4 > 10.0.0.0/8"
> "network4 orshorter 10.0.0.0/8" SAME AS "network4 >= 10.0.0.0/8"
> "network4 not 10.0.0.0/8"       SAME AS "network4 != 10.0.0.0/8"
> 
> If yes, then please indicate whether we should use the
> "shorter/orshorter/not" keywords or something else.

As long as it doesn't take too long to implement I
find it a more than welcome interrim solution :)

> If you prefer a different solution, now is the time to suggest it
> (flipping the operator direction excluded).
> 
> If there are no replies, then probably nothing will change until the
> rtrmgr is reimplemented (bug #677) and we are in the position to
> implement the long-term solution.

 -K

-- 
Kristian Larsson                                   KLL-RIPE
Network Engineer                      Net at Once [AS35706]
+46 704 910401			     kristian at spritelink.se



More information about the Xorp-hackers mailing list