From a5b2b59a7cc4679a31224408746d8bb9096eab6b Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 17 Apr 2004 10:09:29 +0000 Subject: Fix obviously wrong info in documentation. --- doc/ospfd.texi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/ospfd.texi b/doc/ospfd.texi index 2c24a210..509a75c7 100644 --- a/doc/ospfd.texi +++ b/doc/ospfd.texi @@ -96,17 +96,20 @@ preferred to external paths. @deffnx {OSPF Command} {network @var{a.b.c.d/m} area @var{<0-4294967295>}} {} @deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{a.b.c.d}} {} @deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{<0-4294967295>}} {} -This command specifies the OSPF enabled interface. If the interface has -an address of 10.0.0.1/8 then the command below provides network -information to the ospf routers +This command specifies the OSPF enabled interface(s). If the interface has +an address from range 192.168.1.0/24 then the command below enables ospf +on this interface so router can provide network information to the other +ospf routers via this interface. @example @group router ospf - network 10.0.0.0/8 area 0 + network 192.168.1.0/24 area 0.0.0.0 @end group @end example -the network command's mask length should be the same as the interface -address's mask. +Prefix length in interface must be equal or bigger (ie. smaller network) than +prefix length in network statement. For example statement above doesn't enable +ospf on interface with address 192.168.1.1/23, but it does on interface with +address 192.168.1.129/25. @end deffn @node OSPF area, OSPF interface, OSPF router, OSPFv2 -- cgit v1.2.1