Jan Kiszka wrote:
> Jan Kiszka wrote:
>> Leonardo Pappagallo wrote:
>>> hi Jan,
>>> I use RTnet 8.3.1.
>> I don't think so - or someone is developing another RTnet... ;)
>>
>> 0.8.3?
>>
>>> I have noticed that the real time network drivers (8139too, eepro100,
>>> via_rhine, 3cXXXX) don't run in promiscue mode (linux driver run in that
>>> mode).
>>> I have two ethernet port and  in the  first port runs RT-net network
>>> (rteth0, vnic0) and in the second port runs no real-time network (eth0).
>>> I need to use the promiscue mode functionality in order to realize a
>>> network
>>> bridge between these two networks.
>>>
>>> I have seen into rtnetconfig that there is the promiscue mode option but I
>>> think that doesn't run, because when I use RTcap with Ethreal I only see
>>> packets to my host and broadcast, i don't see some packets also when I use
>>> an Hub device.
>>> Have you a solution for this problem?
>> I'm not aware of any problem with promisc mode. I just did a quick check
>> (latest svn, rt_8139too), and at least the number of IRQ events for the
>> NIC is increasing when I switch on promisc mode while there is "foreign"
>> traffic on the cable. Does this happen on your boxes as well? I have no
>> version with rtcap enabled at hand, otherwise I would have tested this
>> as well.
> 
> Now re-checked with tcpdump+rtcap - still no problems her, all packets
> can be captured when promisc mode was switched on.
> 

During the discussion with a user about his problem that MAC address
setting doesn't always work, I realised a potential reason also for the
observed behaviour here:

Both MAC address setting and promisc mode change are only allowed on
down->up transitions of a device (RTnet philosophy: avoid hardware
reconfiguration during runtime). So far RTnet accepted such changes but
entered inconsistent states. I have prepared now a patch that detects
and rejects illicit requests of rtifconfig, I'm just waiting for berlios
to accept checkins again...

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to