The network command under OSPF works differently then
RIP and IGRP. The network command tells OSPF which
interfaces participate in OSPF -- not what networks
are announced.
--- Jerry Seven wrote:
> Hi Group,
>
> If I define a static route with interface, and use
> "network xxx" in router
> rip/igrp domain, rip or igrp will automatically
> redistribute this route for
> it's treated as directed connected.
>
> But OSPF seems doesn't redistribute this when I do
> this, for example:
>
> router ospf 10
> log-adjacency-changes
> network 118.0.0.0 0.255.255.255 area 1
> network 192.168.0.0 0.0.255.255 area 1
> !
> ip classless
> ip route 192.168.80.0 255.255.255.0
> GigabitEthernet1/1
>
> It works after I add the mandatory redistribution
> command:
> redistribute static metric 10
>
> Why it's different to rip and igrp?
>
> Thanks,
>
> Jerry
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
> FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=2221&t=2219
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]