Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 1 | # $QuaggaId: $Format:%an, %ai, %h$ $ |
| 2 | |
| 3 | DEBUG HINTS |
| 4 | |
| 5 | - Check the source is issuing multicast packets with TTL high enough |
| 6 | to reach the recipients. |
| 7 | |
| 8 | - Check the multicast packets are not being dropped due to |
| 9 | fragmentation problems. |
| 10 | |
Everton Marques | 275e24d | 2014-08-22 11:12:23 -0300 | [diff] [blame^] | 11 | - Three easy options to test IGMPv3 joins from the receiver host: |
Everton Marques | 3189437 | 2009-10-01 10:04:02 -0300 | [diff] [blame] | 12 | |
| 13 | 1) Configure pimd on the receiver host with "ip igmp join": |
| 14 | |
| 15 | interface eth0 |
| 16 | ip pim ssm |
| 17 | ip igmp join 239.1.1.1 1.1.1.1 |
| 18 | |
Everton Marques | 275e24d | 2014-08-22 11:12:23 -0300 | [diff] [blame^] | 19 | 2) Use test_igmpv3_join command-line utility (provided with qpimd): |
Everton Marques | 3189437 | 2009-10-01 10:04:02 -0300 | [diff] [blame] | 20 | |
| 21 | test_igmpv3_join eth0 239.1.1.1 1.1.1.1 |
| 22 | |
Everton Marques | 275e24d | 2014-08-22 11:12:23 -0300 | [diff] [blame^] | 23 | 3) User the Stig Venaas' ssmping utility: |
| 24 | |
| 25 | ssmping -I eth0 1.1.1.1 |
| 26 | |
| 27 | To see multicast responses with ssmping, you will need run on |
| 28 | the host 1.1.1.1 either: |
| 29 | a) Stig Venaas' ssmpingd command-line daemon |
| 30 | OR |
| 31 | b) qpimd built-in ssmpingd service: |
| 32 | conf t |
| 33 | ip ssmpingd 1.1.1.1 |
| 34 | |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 35 | - The following command generates a 100-kbps multicast stream for |
| 36 | channel 1.1.1.1,239.1.1.1 with TTL 10 and 1000-byte payload per UDP |
| 37 | packet (to avoid fragmentation): |
| 38 | |
Everton Marques | 275e24d | 2014-08-22 11:12:23 -0300 | [diff] [blame^] | 39 | nepim -M -b 1.1.1.1 -c 239.1.1.1 -T 10 -W 1000 -r 100k -a 1d |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 40 | |
| 41 | - Remotely you can receive that stream by running: |
| 42 | |
| 43 | nepim -j 1.1.1.1+239.1.1.1@eth0 |
| 44 | (Remember of enabling both "ip pim ssm" and "ip igmp" under eth0.) |
| 45 | |
| 46 | |
| 47 | SAMPLE DEBUG COMMANDS |
| 48 | |
| 49 | conf t |
| 50 | int eth0 |
| 51 | ip pim ssm |
| 52 | |
| 53 | test pim receive hello eth0 192.168.0.2 600 10 111 1000 3000 0 |
| 54 | test pim receive join eth0 600 192.168.0.1 192.168.0.2 239.1.1.1 1.1.1.1 |
| 55 | |
| 56 | show ip pim join |
| 57 | |
| 58 | |
| 59 | INTEROPERABILITY WITH CISCO |
| 60 | |
| 61 | ! Cisco IP Multicast command reference: |
| 62 | ! ftp://ftpeng.cisco.com/ipmulticast/Multicast-Commands |
| 63 | ! |
| 64 | ip pim ssm default ! enable SSM mode for groups 232.0.0.0/8 |
| 65 | ip multicast-routing |
| 66 | ip pim state-refresh disable |
| 67 | no ip pim dm-fallback |
| 68 | ! |
| 69 | interface FastEthernet0 |
| 70 | ip pim sparse-mode |
| 71 | ip igmp version 3 |
| 72 | |
| 73 | -x- |