Anurag Gurtu | To illustrate this procedure, we'll set up our network configuration which consists of a linux server, and an ISR Router with a AXP network module bryce blade. In our example, the blade will send multicasting messages via the router to the linux server. I am assuming that communicating between the server, router and blade 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 'mping'. Use the AXP packaging tool to package this program, and be sure to configure this package so that you will have console access to the guest os shell inside AXP. See the topic ''How do I get console access to my third party application?'' for more information. Install the mping program as an add on package into AXP. You also need a copy of mping on the linux server. 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 bryce blade 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 bryce blade, 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! |
| Please sign in to flag this as inappropriate. |