【解決】PIM-DM【戒め】

午後の私宛


基本設定

マルチキャストのルーティングがわかってない

vIOS1=>vIOS3のマルチキャスト239.1.1.5が届かない
原因はvIOS2でマルチキャストが破棄されている。

vIOS2にて:vIOS1から受け取ったICMP Echo Requestを転送せず破棄している

そもそも何を参考にしてマルチキャストルーティングが行われるかがわかっていない。ユニキャストならルーティングテーブルだけど…。

vIOS2: showいろいろ

vIOS2#show ip igmp groups
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter   Group Accounted
239.1.1.5        GigabitEthernet0/0       00:50:48  00:02:17  172.16.1.1
224.0.1.40       GigabitEthernet0/1       00:37:25  00:02:33  10.0.0.1
224.0.1.40       GigabitEthernet0/0       00:59:49  00:02:18  172.16.1.254

vIOS2#show ip igmp interface
GigabitEthernet0/0 is up, line protocol is up
  Internet address is 172.16.1.254/24
  IGMP is enabled on interface
  Current IGMP host version is 2
  Current IGMP router version is 2
  IGMP query interval is 60 seconds
  IGMP configured query interval is 60 seconds
  IGMP querier timeout is 120 seconds
  IGMP configured querier timeout is 120 seconds
  IGMP max query response time is 10 seconds
  Last member query count is 2
  Last member query response interval is 1000 ms
  Inbound IGMP access group is not set
  IGMP activity: 2 joins, 0 leaves
  Multicast routing is enabled on interface
  Multicast TTL threshold is 0
  Multicast designated router (DR) is 172.16.1.254 (this system)
  IGMP querying router is 172.16.1.254 (this system)
  Multicast groups joined by this system (number of users):
      224.0.1.40(1)
GigabitEthernet0/1 is up, line protocol is up
  Internet address is 10.0.0.2/24
  IGMP is enabled on interface
  Current IGMP host version is 2
  Current IGMP router version is 2
  IGMP query interval is 60 seconds
  IGMP configured query interval is 60 seconds
  IGMP querier timeout is 120 seconds
  IGMP configured querier timeout is 120 seconds
  IGMP max query response time is 10 seconds
  Last member query count is 2
  Last member query response interval is 1000 ms
  Inbound IGMP access group is not set
  IGMP activity: 1 joins, 0 leaves
  Multicast routing is enabled on interface
  Multicast TTL threshold is 0
  Multicast designated router (DR) is 10.0.0.2 (this system)
  IGMP querying router is 10.0.0.1
  No multicast groups joined by this system

vIOS2#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
      P - Proxy Capable, S - State Refresh Capable, G - GenID Capable,
      L - DR Load-balancing Capable
Neighbor          Interface                Uptime/Expires    Ver   DR
Address                                                            Prio/Mode
10.0.0.1          GigabitEthernet0/1       00:43:16/00:01:42 v2    1 / S P G

vIOS2#show ip mroute summary
IP Multicast Forwarding is not enabled.
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report,
       Z - Multicast Tunnel, z - MDT-data group sender,
       Y - Joined MDT-data group, y - Sending to MDT-data group,
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed,
       Q - Received BGP S-A Route, q - Sent BGP S-A Route,
       V - RD & Vector, v - Vector, p - PIM Joins on route,
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

vIOS2#show ip mroute
IP Multicast Forwarding is not enabled.
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report,
       Z - Multicast Tunnel, z - MDT-data group sender,
       Y - Joined MDT-data group, y - Sending to MDT-data group,
       G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
       N - Received BGP Shared-Tree Prune, n - BGP C-Mroute suppressed,
       Q - Received BGP S-A Route, q - Sent BGP S-A Route,
       V - RD & Vector, v - Vector, p - PIM Joins on route,
       x - VxLAN group
Outgoing interface flags: H - Hardware switched, A - Assert winner, p - PIM Join
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

vIOS2#show ip mroute active
Use "show ip mfib active" to get better response time for a large number of mroutes.

Active IP Multicast Sources - sending >= 4 kbps
vIOS2#

vIOS1: show

vIOS1#show ip igmp groups
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter   Gd
224.0.1.40       GigabitEthernet0/0       00:49:32  00:02:35  10.0.0.1

⇒vIOS2のshow ip igmp groupsにはしっかり239.1.1.5が登録されてるんだけど、それを参照してルーティングしてくれないのかなあ。



時間の壁



解決編

vIOS1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
vIOS1(config)#ip multicast routing
^
% Invalid input detected at '^' marker.
vIOS1(config)#ip multicast-routing
vIOS1(config)#end
vIOS1#pin
*May 27 02:03:20.377: %SYS-5-CONFIG_I: Configured from console by consoleg
vIOS1#ping 239.1.1.5
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.1.1.5, timeout is 2 seconds:
Reply to request 0 from 172.16.1.1, 32 ms

(config)#ip multicast-routingでマルチキャストルーティングを有効にしてなかっただけだわ!!!!!

いや~、相変わらずちゃんとテキストを読んでない。読み飛ばす癖をいい加減に治したい。
まあ苦労して得た答えは一生忘れないっていうから結果オーライってことで…

参考

Multicast PIM-SM - Static RP Config 1

Troubleshoot Multicast Networks with CLI Tools

いいなと思ったら応援しよう!