NCTUns and Multicast
Hi !
I'm trying to do something a little bit hard for me.
Let me explain what I would like to do.
First, the testbed architecture :
Two computers : one network emulator with NCTUns, one computer with OpenVZ virtual machines.
<OpenVZVirtualMachine>..193.1.2.0/24...<OpenVZServer>.......199.0.62.0/24.........<NCTUns>
<OpenVZVirtualMachine>..193.1.1.0/24....
Each OpenVZ virtual machine has an image in the NCTUns world.
Addressing :
<real world>........<NCTUns World>
193.1.1.1............1.0.1.1
193.1.2.1............1.0.1.2
NCTUns network :
<1.0.1.1>........1.0.1.0/16.........<1.0.2.1>
Current situation :
When I want to use NCTUns with unicast communication, everything works.
Data are routed from the OpenVZ Virtual Machines to NCTUns, are routed into the simulated network. So, virtual machines can communicate through the simulated network.
To do it, I had to configure routes on the OpenVZ Server to join the NCTUns simulated network :
ip route on OpenVZ Server:
1.0.0.0/8 via 199.0.62.175 // to join NCTUns network, send packets to NCTUns Simulator.
ip route on NCTUns Simulator :
193.0.0.0/8 via 199.0.62.176 // to join OpenVZ virtual machines, send packets to openVZ Server.
But now, I have to do it with Multicast.
So, I want each OpenVZ Virtual Machine to be able to send data using the multicast address 224.0.67.67 through NCTUns network.
What do I have to do it ?
Well, I have to send data to OpenVZ Server and the OpenVZ server MUST send data to NCTUns Simulator.
That WORKS.
Then, NCTUns Simulator MUST capture data and send them into the simulated network. How could I do it ? The destination packet is not the destination address of a node in the simulated netwok, but a multicast address (224.0.67.67).
So, NCTUns do not correctly forward packets into the simulated network. Do you know how I could do it ? (with ip route or other tool).
Thanks a lot it you can help me !
Last edited by zahikel; 09-11-2008 at 03:53 AM.
|