This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add multicast route?


On 2011-03-31, Grant Edwards <grant.b.edwards@gmail.com> wrote:

> Routing tables
> Destination     Gateway         Mask            Flags    Interface
> 10.0.0.0        10.0.0.0        255.0.0.0       U        eth0     
> Interface statistics
> eth0    IP: 10.0.0.102, Broadcast: 10.255.255.255, Netmask: 255.0.0.0
>         UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0
>         Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0
>         
> Error setting multicast route (SIOCADDRT): Network is unreachable
>
> Routing tables
> Destination     Gateway         Mask            Flags    Interface
> 10.0.0.0        10.0.0.0        255.0.0.0       U        eth0     
> eth0    IP: 10.0.0.102, Broadcast: 10.255.255.255, Netmask: 255.0.0.0
>         UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0
>         Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0

Adding the 224.0.0.0/24 route seems to work if I first add a default
route. But, if there's a default route, then I don't _need_ to add the
224.0.0.0/24 route.  The whole point is to get IP multicast to work in
configurations where there is nothing but the local network: there is
no defalt route.

-- 
Grant Edwards               grant.b.edwards        Yow! I have a TINY BOWL in
                                  at               my HEAD
                              gmail.com            


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]