On 2011-01-19 00:48, Glen Wernersbach wrote:
> Hi All,
> 
> Well, I now have script to the point where I an ping non RTNET devices. I am
> now trying to get my RTNET stack to accept and send TCP and UDP packets
> from/to non RTNET stack devices.
> 
> Again, I am only using RTNET for the real time NIC, UDP and TCP drivers.
> 
> The Ethernet IP spec makes use of Administrative scoping broad cast address.
> To get my program working on non RTNET stack, I have to issue this routing
> command:
> route add -net 224.0.0.0 netmask 240.0.0.0 dev eth3
> 
> While the actual scope could be less than the command above, do you know how
> I would do the same command with RTROUTE which has difference syntax.
> 

For sending any IP frame to and RTnet segment, you need to specify both
the destination device ("rtethX") and the destination MAC which is
FF:FF:FF:FF:FF:FF in this case. However, you can't specify this for a
complete range of addresses like in the above case, you need to tell the
precise 224.x.x.x address(es). Network routes are also possible, but
they are then targeting a specific gateway via its IP.

More on this in Documentation/README.routing.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to