From: David Lamparter Date: Tue, 29 Aug 2017 18:40:46 +0000 (+0200) Subject: doc: add "ip address LOCAL peer PEER/SUBNET" X-Git-Tag: frr-4.0-dev~358^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6ae5f93eb1014bb2ef5634f41c589e3ba89c14af;p=mirror%2Ffrr.git doc: add "ip address LOCAL peer PEER/SUBNET" Signed-off-by: David Lamparter --- diff --git a/doc/main.texi b/doc/main.texi index 265d6295ef..9e2ca5e506 100644 --- a/doc/main.texi +++ b/doc/main.texi @@ -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