Skip to contentSkip to conversation

multicast?

DISCUSSION David Becker 3 participants 4 messages Mar 11, 2004 – Mar 18, 2004

lore
Share & tools
lore
#0 lore raw

I trying to use udpcast in Domain 0 without any luck. I built a xenolinux-2.4.25 with CONFIG_IP_MULTICAST=y but do not see any multicast packets get in or out.

Anyone know if multicast ought to work? Or is this a TODO item?

David

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 6 lines

I trying to use udpcast in Domain 0 without any luck. I built a xenolinux-2.4.25 with CONFIG_IP_MULTICAST=y but do not see any multicast packets get in or out.

Anyone know if multicast ought to work? Or is this a TODO item?

I'm afraid multicast hasn't been a big priority for us. This is certainly something to bear in mind for the new IO world....

However, there are a couple of hacks that might work.

If you can find out what mcast IP address is being used, you could try using xc_dom_control to add that address to the domain.

Alternatively, try building the xeno-1.3vnet.bk repository. This can be (build time) configured to provide L2 switching rather than L3 routing. I think mcast might 'just work' in this environment.

Ian

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw
In reply to David Becker

Multicast certainly does not have explicit support within Xen at the moment -- the current zero-copy code kind of implies single-sender, single-receiver. If you are just trying to get a single guest to participate in a (physically) external multicast group though it should work fine. You'll just need to add vfr rules to map the multicast address in to (and out of) that domain.

Copying packets and allowing multiple-guest delivery is on the list of things to address in the next iteration of the network code, as it's something we would like to have for i.e. traffic logging. This is pretty unlikely to happen until the I/O subsystem reorganization is complete though.

a.

Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of David Becker
Sent: Thursday, March 11, 2004 11:00 PM
To: [email protected]
Subject: [Xen-devel] multicast?

I trying to use udpcast in Domain 0 without any luck. I built a xenolinux-2.4.25 with CONFIG_IP_MULTICAST=y but do not see any multicast packets get in or out.

Anyone know if multicast ought to work? Or is this a TODO item?

David

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#3 lore raw

" Multicast certainly does not have explicit support within Xen at the moment " -- the current zero-copy code kind of implies single-sender,

I'm no multicast expert, but from the reading of the sources it looks to me like multicast sends are no problem, but multicast receives require that the NIC be told what multicast addresses to pay attention to. Xen itself appears to have this code: xeno-1.2.bk/xen/net/dev_mcast.c

However the xenolinux network driver doesn't seem to have
the set_multicast_list() function implemented. I'm guessing this would
need some sort of new hypervisor call?

Result is domains in xen-1.2 can send to multicast addresses but cannot receive. Multicast is not critical, just useful, so I'll wait for the brave new IO world before pursuing it more.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click