From: Padhu (LFG) (padhu@xxxxxxxxxxxx)
Date: Fri Jan 12 2001 - 14:32:25 GMT-3
I remember seeing a problem with 0.0.0.0 mask if u are running eigrp also on
that router and doing redistribution...All of ospf routes would get
redistributed except for the local ospf interfaces... one can do
redistribute connected with a route map ...but sounds kinda crazy to
redistribute connected a ospf configured interface... I always thought
redistribution is between
2 processes ..in this case it looks like ospf "learned routes" rather than
connected.. someone suggested using the mask corresponding to the network
fixes that ..i can test this again to reconfirm. 0.0.0.255 or whatever is
the mask.
ospf ospf/eigrp eigrp
R2----------E0----r1-----E1---------E1------R3----eigrp nets here
Cheers,Padhu
-----Original Message-----
From: Brian Hescock [mailto:bhescock@cisco.com]
Sent: Thursday, January 11, 2001 9:52 PM
To: Harbir Kohli
Cc: 'Ccielab
Subject: Re: shortcut
Harbir,
If you really want a timesaving way of doing ospf (if only a few
interfaces), and less chance of making an error, use the ip address from
the interfce and use wildcards bits of 0.0.0.0. No thinking
involved. Most people incorrectly think you need the wildcard bits to
represent what the network mask is that will be advertised (hey, I used to
think that... ;-) All the network statement does is tell ospf which
interface to turn ospf on, you're not giving it a mask at all. The mask
is taken from the interface itself. The only advantage of the wildcards
bits is you can turn ospf on more than one interface at a time with fewer
commands. Example: network 0.0.0.0 255.255.255.255 We're not
advertising network 0.0.0.0, we're turning ospf on each interface on the
router because of the wildcard bits.
Brian
On Thu, 11 Jan 2001, Harbir Kohli wrote:
> Hello
> I found a couple of time-savings shortcuts in IOS 12.0.
> If you wanted to quickly see the config of just an interface so
> show run int s0 (works in 12..1.5 but not in 11.2.24)
> OSPF inverse mask
> network 10.10.10.0 255.255.255.0 (works in 12.1.5 and 11.2.24)
> the router will automatically calculate the inverse mask. I actually
> use it even to write access-lists by creating an extra OSPF process and
> later deleting it, saves me trying to figure out invese masks.
>
> Enjoy
>
> Harbir
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:27:28 GMT-3