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 | 3189437 | 2009-10-01 10:04:02 -0300 | [diff] [blame] | 11 | - Two easy options to test IGMPv3 joins from the receiver host: |
| 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 | |
| 19 | 2) Use the test_igmpv3_join command-line utility: |
| 20 | |
| 21 | test_igmpv3_join eth0 239.1.1.1 1.1.1.1 |
| 22 | |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 23 | - The following command generates a 100-kbps multicast stream for |
| 24 | channel 1.1.1.1,239.1.1.1 with TTL 10 and 1000-byte payload per UDP |
| 25 | packet (to avoid fragmentation): |
| 26 | |
| 27 | nepim -b 1.1.1.1 -c 239.1.1.1 -T 10 -W 1000 -r 100k -a 1d |
| 28 | |
| 29 | - Remotely you can receive that stream by running: |
| 30 | |
| 31 | nepim -j 1.1.1.1+239.1.1.1@eth0 |
| 32 | (Remember of enabling both "ip pim ssm" and "ip igmp" under eth0.) |
| 33 | |
| 34 | |
| 35 | SAMPLE DEBUG COMMANDS |
| 36 | |
| 37 | conf t |
| 38 | int eth0 |
| 39 | ip pim ssm |
| 40 | |
| 41 | test pim receive hello eth0 192.168.0.2 600 10 111 1000 3000 0 |
| 42 | test pim receive join eth0 600 192.168.0.1 192.168.0.2 239.1.1.1 1.1.1.1 |
| 43 | |
| 44 | show ip pim join |
| 45 | |
| 46 | |
| 47 | INTEROPERABILITY WITH CISCO |
| 48 | |
| 49 | ! Cisco IP Multicast command reference: |
| 50 | ! ftp://ftpeng.cisco.com/ipmulticast/Multicast-Commands |
| 51 | ! |
| 52 | ip pim ssm default ! enable SSM mode for groups 232.0.0.0/8 |
| 53 | ip multicast-routing |
| 54 | ip pim state-refresh disable |
| 55 | no ip pim dm-fallback |
| 56 | ! |
| 57 | interface FastEthernet0 |
| 58 | ip pim sparse-mode |
| 59 | ip igmp version 3 |
| 60 | |
| 61 | -x- |