マルチキャスト実践 2021

マルチキャストの実践。 senderで二つの宛先のストリームを送信する。 

vlcを使用。 

一つは、239.1.1.5宛 もう一つは、239.1.1.6宛 

レシーバーの上位のルータでの確認。 

レシーバ側のvlcで、ストリームを開き、 
1回目は 239.1.1.5を開く
2回目は 239.1.1.6を開く 

同時に二つは開けなかった。 


1回目
R2#sh ip igmp membership
Flags: A  - aggregate, T - tracked
       L  - Local, S - static, V - virtual, R - Reported through v3
       I - v3lite, U - Urd, M - SSM (S,G) channel
       1,2,3 - The version of IGMP, the group is in
Channel/Group-Flags:
       / - Filtering entry (Exclude mode (S,G), Include mode (G))
Reporter:
        - last reporter if group is not explicitly tracked
       /      -  reporter in include mode,  reporter in exclude

 Channel/Group                  Reporter        Uptime   Exp.  Flags  Interface
 *,239.1.1.5                    10.0.20.100     00:00:04 02:55 2A     Vl20
 *,239.255.255.250              10.0.20.100     00:02:22 02:42 2A     Vl20
 *,224.0.1.40                   172.16.11.1     01:34:45 02:52 2LA    Fa8

2回目
R2#sh ip igmp membership
Flags: A  - aggregate, T - tracked
       L  - Local, S - static, V - virtual, R - Reported through v3
       I - v3lite, U - Urd, M - SSM (S,G) channel
       1,2,3 - The version of IGMP, the group is in
Channel/Group-Flags:
       / - Filtering entry (Exclude mode (S,G), Include mode (G))
Reporter:
        - last reporter if group is not explicitly tracked
       /      -  reporter in include mode,  reporter in exclude

 Channel/Group                  Reporter        Uptime   Exp.  Flags  Interface
 *,239.1.1.6                    10.0.20.100     00:00:25 02:34 2A     Vl20
 *,239.255.255.250              10.0.20.100     00:02:01 01:57 2A     Vl20
 *,224.0.1.40                   172.16.11.2     01:34:24 02:08 2LA    Fa8

igmp membershipを表示すると、受信しているマルチキャストアドレスのグループしか表示されない。 

見てはいないのだが、このときルータ R2には、レシーバーが受信しているストリームしか届いていないはずだ。

送信側でストリームを送信したままにしていても、
レシーバーのvlcを終了させればレシーバーに239.1.1.5/6 宛パケットは到達しなくなる。