]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: add "ip address LOCAL peer PEER/SUBNET"
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Aug 2017 18:40:46 +0000 (20:40 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Aug 2017 18:40:46 +0000 (20:40 +0200)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
doc/main.texi

index 265d6295efe961a62c9255e4d0501674c58db000..9e2ca5e506e9ebe10b7174d03491c751fbedbfe8 100644 (file)
@@ -65,6 +65,17 @@ Up or down the current interface.
 Set the IPv4 or IPv6 address/prefix for the interface.
 @end deffn
 
+@deffn {Interface Command} {ip address @var{local-addr} peer @var{peer-addr/prefix}} {}
+@deffnx {Interface Command} {no ip address @var{local-addr} peer @var{peer-addr/prefix}} {}
+Configure an IPv4 Pointopoint address on the interface.
+(The concept of PtP addressing does not exist for IPv6.)
+
+@var{local-addr} has no subnet mask since the local side in PtP
+addressing is always a single (/32) address.  @var{peer-addr/prefix}
+can be an arbitrary subnet behind the other end of the link (or even on the
+link in Point-to-Multipoint setups), though generally /32s are used.
+@end deffn
+
 @deffn {Interface Command} {ip address @var{address/prefix} secondary} {}
 @deffnx {Interface Command} {no ip address @var{address/prefix} secondary} {}
 Set the secondary flag for this address. This causes ospfd to not treat the