DEBUG 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # $QuaggaId: $Format:%an, %ai, %h$ $
  2. DEBUG HINTS
  3. - Check the source is issuing multicast packets with TTL high enough
  4. to reach the recipients.
  5. - Check the multicast packets are not being dropped due to
  6. fragmentation problems.
  7. - Three easy options to test IGMPv3 joins from the receiver host:
  8. 1) Configure pimd on the receiver host with "ip igmp join":
  9. interface eth0
  10. ip pim ssm
  11. ip igmp join 239.1.1.1 1.1.1.1
  12. 2) Use test_igmpv3_join command-line utility (provided with qpimd):
  13. test_igmpv3_join eth0 239.1.1.1 1.1.1.1
  14. 3) User the Stig Venaas' ssmping utility:
  15. ssmping -I eth0 1.1.1.1
  16. To see multicast responses with ssmping, you will need run on
  17. the host 1.1.1.1 either:
  18. a) Stig Venaas' ssmpingd command-line daemon
  19. OR
  20. b) qpimd built-in ssmpingd service:
  21. conf t
  22. ip ssmpingd 1.1.1.1
  23. - Using nepim to generate multicast stream from 1.1.1.1 to 239.1.1.1:
  24. Notices:
  25. a) The host unicast address 1.1.1.1 must be reachable from the
  26. receiver.
  27. b) nepim tool requires the receiver must be started *before* the
  28. sender.
  29. First: Start a receiver for that stream by running:
  30. nepim -q -6 -j 1.1.1.1+239.1.1.1@eth0
  31. (Remember of enabling both "ip pim ssm" and "ip igmp" under eth0.)
  32. Second: Start the sender at host 1.1.1.1.
  33. The following command generates a 100-kbps multicast stream for
  34. channel 1.1.1.1,239.1.1.1 with TTL 10 and 1000-byte payload per UDP
  35. packet (to avoid fragmentation):
  36. nepim -6 -M -b 1.1.1.1 -c 239.1.1.1 -T 10 -W 1000 -r 100k -a 1d
  37. SAMPLE DEBUG COMMANDS
  38. conf t
  39. int eth0
  40. ip pim ssm
  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. show ip pim join
  44. INTEROPERABILITY WITH CISCO
  45. ! Cisco IP Multicast command reference:
  46. ! ftp://ftpeng.cisco.com/ipmulticast/Multicast-Commands
  47. !
  48. ip pim ssm default ! enable SSM mode for groups 232.0.0.0/8
  49. ip multicast-routing
  50. ip pim state-refresh disable
  51. no ip pim dm-fallback
  52. !
  53. interface FastEthernet0
  54. ip pim sparse-mode
  55. ip igmp version 3
  56. -x-