summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhasso <hasso>2004-04-17 10:09:29 +0000
committerhasso <hasso>2004-04-17 10:09:29 +0000
commita5b2b59a7cc4679a31224408746d8bb9096eab6b (patch)
tree00f300edc040fa422176c96664693a3c76dcde5d /doc
parentd355bfa7806c77ec40e789dfb8226778ec7c36f5 (diff)
Fix obviously wrong info in documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/ospfd.texi15
1 files changed, 9 insertions, 6 deletions
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