All of lore.kernel.org
 help / color / mirror / Atom feed
* [iproute PATCH] ip-address.8: Document autojoin flag
@ 2016-07-09 10:14 Phil Sutter
  2016-07-12  7:56 ` [iproute PATCH v2] " Phil Sutter
       [not found] ` <7a471e4823c94189afee7f60c1cba183@HQ1WP-EXMB11.corp.brocade.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Sutter @ 2016-07-09 10:14 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Description copied from related kernel support commit message with a
little tailoring to fit.

While at it, fix font of non-terminal CONFFLAG-LIST in synopsis.

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 man/man8/ip-address.8.in | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
index 7cb9271731339..ab59d270321d9 100644
--- a/man/man8/ip-address.8.in
+++ b/man/man8/ip-address.8.in
@@ -77,14 +77,15 @@ ip-address \- protocol address management
 .IR FLAG " := "
 .RB "[ " permanent " | " dynamic " | " secondary " | " primary " |"
 .RB [ - ] tentative " | [" - ] deprecated " | [" - ] dadfailed " |"
-.BR temporary " | " CONFFLAG-LIST " ]"
+.BR temporary " |"
+.IR CONFFLAG-LIST " ]"
 
 .ti -8
 .IR CONFFLAG-LIST " := [ "  CONFFLAG-LIST " ] " CONFFLAG
 
 .ti -8
 .IR CONFFLAG " := "
-.RB "[ " home " | " mngtmpaddr " | " nodad " | " noprefixroute " ]"
+.RB "[ " home " | " mngtmpaddr " | " nodad " | " noprefixroute " | " autojoin " ]"
 
 .ti -8
 .IR LIFETIME " := [ "
@@ -249,6 +250,22 @@ address, and don't search for one to delete when removing the address. Changing
 an address to add this flag will remove the automatically added prefix route,
 changing it to remove this flag will create the prefix route automatically.
 
+.TP
+.B autojoin
+Joining multicast group on ethernet level via "ip maddr" command would not work
+if we have an Ethernet switch that does igmp snooping since the switch would
+not replicate multicast packets on ports that did not have IGMP reports for the
+multicast addresses.
+
+Linux vxlan interfaces created via "ip link add vxlan" have the group option
+that enables then to do the required join.
+
+Using the
+.B autojoin
+flag when adding a multicast address enables similar functionality for
+openvswitch vxlan interfaces as well as other tunneling mechanisms that need to
+receive multicast traffic.
+
 .SS ip address delete - delete protocol address
 .B Arguments:
 coincide with the arguments of
-- 
2.8.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [iproute PATCH v2] ip-address.8: Document autojoin flag
  2016-07-09 10:14 [iproute PATCH] ip-address.8: Document autojoin flag Phil Sutter
@ 2016-07-12  7:56 ` Phil Sutter
       [not found] ` <7a471e4823c94189afee7f60c1cba183@HQ1WP-EXMB11.corp.brocade.com>
  1 sibling, 0 replies; 3+ messages in thread
From: Phil Sutter @ 2016-07-12  7:56 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Description copied from related kernel support commit message with a
little tailoring to fit.

While at it, fix font of non-terminal CONFFLAG-LIST in synopsis.

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
Changes since v1:
- Set commands/flags in bold font instead of quotes.
- Make capitalization consistent for 'Ethernet' and 'IGMP'.
- Set 'VXLAN' and 'Openvswitch' in upper case.
- Fix typo: then -> them.
- Misc grammar and language fixup.
---
 man/man8/ip-address.8.in | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
index 7cb9271731339..7d6eb9b2b1915 100644
--- a/man/man8/ip-address.8.in
+++ b/man/man8/ip-address.8.in
@@ -77,14 +77,15 @@ ip-address \- protocol address management
 .IR FLAG " := "
 .RB "[ " permanent " | " dynamic " | " secondary " | " primary " |"
 .RB [ - ] tentative " | [" - ] deprecated " | [" - ] dadfailed " |"
-.BR temporary " | " CONFFLAG-LIST " ]"
+.BR temporary " |"
+.IR CONFFLAG-LIST " ]"
 
 .ti -8
 .IR CONFFLAG-LIST " := [ "  CONFFLAG-LIST " ] " CONFFLAG
 
 .ti -8
 .IR CONFFLAG " := "
-.RB "[ " home " | " mngtmpaddr " | " nodad " | " noprefixroute " ]"
+.RB "[ " home " | " mngtmpaddr " | " nodad " | " noprefixroute " | " autojoin " ]"
 
 .ti -8
 .IR LIFETIME " := [ "
@@ -249,6 +250,26 @@ address, and don't search for one to delete when removing the address. Changing
 an address to add this flag will remove the automatically added prefix route,
 changing it to remove this flag will create the prefix route automatically.
 
+.TP
+.B autojoin
+Joining multicast groups on Ethernet level via
+.B "ip maddr"
+command does not work if connected to an Ethernet switch that does IGMP
+snooping since the switch would not replicate multicast packets on ports that
+did not have IGMP reports for the multicast addresses.
+
+Linux VXLAN interfaces created via
+.B "ip link add vxlan"
+have the
+.B group
+option that enables them to do the required join.
+
+Using the
+.B autojoin
+flag when adding a multicast address enables similar functionality for
+Openvswitch VXLAN interfaces as well as other tunneling mechanisms that need to
+receive multicast traffic.
+
 .SS ip address delete - delete protocol address
 .B Arguments:
 coincide with the arguments of
-- 
2.8.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [iproute PATCH v2] ip-address.8: Document autojoin flag
       [not found] ` <7a471e4823c94189afee7f60c1cba183@HQ1WP-EXMB11.corp.brocade.com>
@ 2016-07-20 19:22   ` Stephen Hemminger
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2016-07-20 19:22 UTC (permalink / raw)
  To: Phil Sutter; +Cc: Stephen Hemminger, netdev

On Tue, 12 Jul 2016 07:56:16 +0000
Phil Sutter <phil@nwl.cc> wrote:

> Description copied from related kernel support commit message with a
> little tailoring to fit.
> 
> While at it, fix font of non-terminal CONFFLAG-LIST in synopsis.
> 
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Applied

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-20 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-09 10:14 [iproute PATCH] ip-address.8: Document autojoin flag Phil Sutter
2016-07-12  7:56 ` [iproute PATCH v2] " Phil Sutter
     [not found] ` <7a471e4823c94189afee7f60c1cba183@HQ1WP-EXMB11.corp.brocade.com>
2016-07-20 19:22   ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.