From: Popgeorgiev Nikolay (nikolay.popgeorgiev@siemens.com)
Date: Thu Feb 16 2006 - 04:30:21 GMT-3
Hi,
According to my knowledge if you use
212.18.0.0 0.0.254.255 you can allow networks like:
212.18.0.0/30
212.18.0.4/30
212.18.2.0/30
212.18.2.4/29
212.18.2.12/28
and so on... So you can match networks not only /24 but other
But if you have 212.18.0.0 0.0.254.0
you have to keep tha last octed to 0 always
212.18.0.0
212.18.2.0
212.18.4.0
Correct me if I am wrong
Best,
Nick
-----Original Message-----
From: Daniel O'Sheedy [mailto:dansheedy@gmx.net]
Sent: Thursday, February 16, 2006 9:14 AM
To: Emil Patel; ccielab@groupstudy.com
Subject: Re: Permitting odd and even routes??
Hi!
There is a great little tool for free from here:
http://www.boson.com/FreeUtilities.html
Its called the IP Subnet Calculator, and it has the Wildcard Mask Checker
built in. So you can put in the subnet you want to play with, and then play
with the mask to check different results.
If you want to just allow even, then you would use something like this:
allow 218.18.0.0 0.0.254.255 (allow just the even through)
deny any (deny the rest)
If you want to allow just the odd, then you could use something like this:
deny 218.18.0.0 0.0.254.255 (deny the even routes... they are not
interesting)
allow 218.18.0.0 0.0.255.255 (allow the 'rest' of the routes in that range
through... which are by now only the odds)
Have a play with the tool, and it comes easier with practice.
Dan
----- Original Message -----
From: "Emil Patel" <emilpatel@hotmail.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, February 15, 2006 11:47 PM
Subject: Permitting odd and even routes??
>I have following rip routes being learned from the BB routers:
>
>
>
> 218.18.0.0/24
>
> 218.18.1.0/24
>
> 218.18.2.0/24
>
> 218.18.3.0/24
>
>
>
> If I just want allow odd or even numbered routes based on 3rd octet, here
> what I have in my config:
>
>
>
> For odd routes:
>
> Access-list 10 permit 212.18.0.0 0.0.255.255
>
>
>
> For even routes:
>
> Access-list 10 permit 212.18.0.0 0.0.254.255
>
>
>
> Is this correct?
>
>
>
> Emil
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:18 GMT-3