Allen Kistler wrote:
> Debbie wrote:
> > Allen Kistler wrote:
> >> Debbie wrote:
> >>> I am running FC4 on the 2.6 kernel, multicast is enabled in the build,
> >>> yet it doesn't seem to be working. If I add the route to 224.0.0.0
> >>> with netmask 240.0.0.0 it shows up in the routing table. I've also
> >>> tried using "ip route add multicast 224.0.0.0/4 dev eth0" and that also
> >>> shows up. When I ping to 224.0.0.1 it never responds. I found some
> >>> other stuff to try, nsdr, it seems fine, but finds nothing running, but
> >>> that may be something with our firewalls. I have no firewalls running
> >>> on my machine. Other machines on the network do respond to the ping.
> >>> If I do an "ifconfig eth0" it shows up with MULTICAST.
> >>>
> >>> If anyone has any ideas, I would love to try them.
> >> Multicast addresses are not assigned to individual machines, so you
> >> can't ping them. Multicast addresses are "groups" to which individual
> >> machines "subscribe."
> >>
> >> If one machine is multicasting to a certain group on a local network
> >> segment, then other machines which have joined that group pick up the
> >> traffic. What the subscribers do with the packets depends on the
> >> application that did the subscribing.
> >>
> >> If you have a multicaster on a different network segment from the
> >> subscribers, then the routers in between need to be multicast-aware. In
> >> either situation, you probably also need something to be a multicast
> >> querier. The querier asks everything that subscribes to a group to
> >> state its subscriptions at regular intervals, otherwise they time out.
> >>
> >> I think your first step (after understanding multicast better) would be
> >> to get an actual multicast client and an associated streamer. Compiling
> >> a kernel with multicast enabled just means it supports multicast clients
> >> and streamers.
> >
> > I thought that if a system is "multicast enabled" that it would reply
> > to pings on 224.0.0.1? The machines are on the same network, it sees
> > the ping request, yet it does not respond. Other machines on the
> > network do respond to the ping request.
>
> Hmm, I've worked with multicast a bit for streaming video, so I'd say
> I'm at least multicast-skilled, but not multicast-god, so I could be
> wrong, but ...
>
> I'd never heard that pinging a multicast address _should_ produce
> replies. The ping executable isn't likely set up to handle them,
> anyway, even if they occurred. There is a trick you can do to that
> other OS to ping a _broadcast_ address and capture all the replies with,
> say, tcpdump. (FWIW spoofing the source addr of a ping to a bcast addr
> is one way to DOS a machine, so it's a bad thing when machines reply to
> bcast pings. The same should apply to mcast.)
>
> When you say other machines reply, are they replying to a multicast
> ping? How does ping display the results? What OS are they?
If I ping to 224.0.0.1 the reply is sent to my host. I am able to see
it with wireshark/ethereal. I have a client and server using multicast
and they seem to work fine. But from what I've read, if I have the
route enabled for 224.0.0.0 that should be enough to be considered
multicast enabled, even if no specific application is listening with
any multicast enabled sockets. I thought that was the standard test to
see if there are any machines that are multicast enabled. Then again,
if you read enough web pages you'll believe anything is true.
Here is a link to one of multiple different web pages that talk about
pinging with multicast.
http://hmyblog.vmmatrix.net/lna/0131...7lev1sec2.html
I guess it just doesn't work the way that I understood it should.
The machines answering the pings are running various versions of linux.