Re: OSPF network statement

From: John Bays (baysjohn@xxxxxxx)
Date: Thu Dec 28 2000 - 18:20:32 GMT-3


   
oops...
two commands should read 192.168.16.0 255.255.240.0 and 192.168.32.0
255.255.240.0
not a good brain day

John

At 03:26 PM 12/28/2000 -0500, John Bays wrote:
>Obviously, the way to save the most numbers is to advertise each route
>separately.
>However, if "in the fewest commands possible"...
>
>Binary, don't fail me now!!!
>
>20 = 00010100
>28 = 00011000
>36 = 00100100
>44 = 00101100
>
>Longest match is the first two of the 8bit binary number = 192
>
>So I would say 192.168.0.0 255.255.192.0 is the supernet and mask.
>
>in ospf: network 192.168.0.0 0.0.63.255 area X
>
>If two commands were permitted...
>192.168.0.0 255.255.224.0 and 192.168.32.0 255.255.240.0
>
>Did I fail binary math?
>
>John
>
>
>At 11:17 AM 12/28/2000 -0800, fwells12 wrote:
> >I have the following IP addresses configured as loopback interfaces on =
> >an OSPF router. What is the correct command to insert these networks =
> >into the OSPF process in the most efficient manner? By that, I mean =
> >conserving the maximum amount of IP addresses.
> >
> >interface Loopback0
> > ip address 192.168.20.2 255.255.248.0
> >!
> >interface Loopback1
> > ip address 192.168.28.2 255.255.248.0
> >!
> >interface Loopback2
> > ip address 192.168.36.2 255.255.248.0
> >!
> >interface Loopback3
> > ip address 192.168.44.2 255.255.248.0=20
> >
> >Cheers.
> >
> >
> >
> >
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:26:12 GMT-3