« Back to Admin - Networking

How to configure AXP to do multicasting via the router

To illustrate this procedure, we'll set up our network configuration which consists of a linux server, and an ISR Router with a AXP service module. In our example, an application installed onto the service module will send multicasting messages via the router to the linux server.  It is assumed that communication between the server, router and service module is already established, so these configuration details will be excluded from this discussion. If this communcation has not been established, please review the AXP User Guide for assistance in setting up this functionality.

As an example, we'll use a multicasting program called 'mping'.  I packaged this program with the AXP packaging tool and configured the package to provide console access to the guest os shell inside AXP.   I installed the mping program as an add on package into AXP.  In addition I have the mping program running on my linux server since that will be my listener.

1. The router should be configured as specified below:

      config t
            ip multicast-routing
            interface fa0/0
                  ip pim sparse-dense-mode
                  ip igmp version 3
            exit
            interface Integrated-Service-Engine1/0
                  ip pim sparse-dense-mode
                  ip igmp version 3
            end

2. Since the service module will be our multicast server, we need to specify the required multicast ip route, mask and gateway.

      config t
            ip route 224.0.0.0 240.0.0.0 <router side ip>
      end

3. We're just about ready to test our program. If your linux server has more than one ethernet card, you may need to specify a route so that the mping message will be properly returned via the correct interface. For example on my linux box I added a route via the command:route add -net 224.0.0.0 netmask 255.0.0.0 dev eth1

4. At this time, all three components: our AXP service module, ISR router, and linux server should be configured for multicasting. Now let's test multicasting with our mping program. On the linux server, I will start the listener.

      ./mcreceive 224.1.2.6 5002

On the blade we'll access our guest os shell, go to the directory where mping is installed and then type:

      ./mcsend 224.1.2.6 5002

      mcsend will request that you type a message, and then press return.

Voila! Your multicast message appears on the linux server under mcreceive! 

Here are a few commands to check your multicasting packets and set up on the router:

debug ip mpacket fastswitch <multicast group i.e 224.1.2.6>

show ip pim interface
show ip mroute <multicast group i.e 224.1.2.6>

For more detail about troubleshooting multicasting

IP Multicast Troubleshooting Guide

0 Attachments
2931 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments