Re: Redistributing only even subnets.

From: Cliff Ward (cliffw2@xxxxxxxxxxxxx)
Date: Tue Oct 30 2001 - 00:53:07 GMT-3


   
Thanks Very much. Good points from all.

Infact my theories were OK, but the lab I was using was setup rather
carelessly meaning I didn't have everything working properly anyway.
Interesting reading for additional knowledge - thanks again - I only just
joined the posting.

Cliff.
----- Original Message -----
From: "Jay Hennigan" <jay@west.net>
To: "Jason Sinclair" <sinclairj@powertel.com.au>
Cc: "'Cliff Ward'" <cliffw2@attglobal.net>; <ccielab@groupstudy.com>
Sent: Tuesday, October 30, 2001 11:09 AM
Subject: RE: Redistributing only even subnets.

> On Tue, 30 Oct 2001, Jason Sinclair wrote:
>
> > Cliff,
> >
> > Try this:
> >
> > Access-list 101 permit ip 158.168.0.0 0.0.254.255 any
> >
> > As you know to make the numbers even you must have the last bit of the
third
> > octet off, but don't care about the rest (eg
> > 00000000.00000000.11111110.11111111)
>
> But the task was:
>
>
> I'm running OSPF to EIGRP redistribution and want to
> advertise a group of class B subnets. 158.168.1.0 through
> 158.168.92.0. However odd number subnets need not be advertised.
> EG. Advertise 158.168.2.0 and 158.168.4.0 through...
> but not 158.168.3.0 or 158.168.5.0 etc, etc.
>
> Now, this has the typical error that one sees in a lot of practice
> scenarios of counting from 1 instead of 0. Assuming that the task is
> really the even /24 subnets within the range of 158.168.0.0 through
> 158.168.95.255, which aligns things a bit better,
>
> access-list 101 permit ip 158.168.0.0 0.0.62.255 any
> access-list 101 permit ip 158.168.64.0 0.0.30.255 any
>
> would do it. Of course you could also use a standard access list.
>
> To answer the question as stated starting at 151.168.1.0 and including
> only through 158.168.92.0 would require four lines according to my
> thinking. I'll let someone else post the solution.
>
> --
> Jay Hennigan - CCIE #7880 - Network Administration - jay@west.net
> NetLojix Communications, Inc. - http://www.netlojix.com/
> WestNet: Connecting you to the planet. 805 884-6323



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:28 GMT-3