igmp_snooping
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| igmp_snooping [2009/04/26 22:49] – blade | igmp_snooping [2012/10/17 11:40] (current) – claudiu | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| * if igmp snooping is disabled, multicast traffic is flooded to all ports in vlan, regardless of frame nature (i.e. it is igmp or not); static multicast fdb entries are ignored; | * if igmp snooping is disabled, multicast traffic is flooded to all ports in vlan, regardless of frame nature (i.e. it is igmp or not); static multicast fdb entries are ignored; | ||
| * mrouters can be statically configured while igmp snooping is disabled on vlan, but they are ignored until igmp snooping is enabled; when igmp snooping is enabled, the rules listed above apply; | * mrouters can be statically configured while igmp snooping is disabled on vlan, but they are ignored until igmp snooping is enabled; when igmp snooping is enabled, the rules listed above apply; | ||
| + | * mrouters are not activated until: interface is up AND interface has access to mrouter vlan (either access mode vlan or trunk allowed vlan) | ||
| + | |||
| + | When changing access vlan, with mrouter already configured (in new vlan): | ||
| + | < | ||
| + | 5w0d: IGMPSN: mgt: Vlan 15, port Fa0/5 port_id 7 in non-fwd mode | ||
| + | 5w0d: IGMPSN: mgt: received pmvlan_linkchange down event on vlan 15 | ||
| + | 5w0d: IGMPSN: Adding router port Fa0/5 to all GCEs in Vlan 18 | ||
| + | 5w0d: L2MM: added rport Fa0/5 on Vlan 18 | ||
| + | 5w0d: %SYS-5-CONFIG_I: | ||
| + | </ | ||
| ====== Implementation Approach ====== | ====== Implementation Approach ====== | ||
| Line 47: | Line 57: | ||
| * virtual mac must be equal (between fdb entry and packet) | * virtual mac must be equal (between fdb entry and packet) | ||
| * vlan must be equal (between fdb entry and packet) | * vlan must be equal (between fdb entry and packet) | ||
| + | * igmp group listing is done only on the slow path (upon user request) by walking the entire fdb and building the igmp group list: | ||
| + | * the kernel module is asked for a list of all igmp membership fdb entries (with the ability to filter by a specific group and/or vlan); | ||
| + | * userspace code walks the fdb entry list and builds a (temporary) list of groups and, for each group, a list of member ports | ||
| The following changes need to be made to existing code: | The following changes need to be made to existing code: | ||
igmp_snooping.1240775352.txt.gz · Last modified: by blade
