Hi Sriram So it sounds like you have the cabling wrong, Ethercat networks must be separated on a layer 2 network. Wired correctly you should never see the Ethercat frames on both networks.
Mike On 10/02/2017 10:59 PM, Sriram V wrote: > Hi Mike, > > I have 2 ethernet ports. I am broadcasting ethercat packets on the > network. This is received by both the ports. > I want to allow ethercat packets ONLY to received by my raw socket > which is bound to one port. > On the other port - I want to allow ethernet packets with IP header > only (non ethercat packets). > > Is this possible. > > Thanks, > Sriram > > On Fri, Feb 10, 2017 at 12:31 PM, Mike O'Connor <m...@oeg.com.au> wrote: >> On 10/02/2017 4:59 PM, Sriram V wrote: >>> Hello, >>> >>> I wanted to check if i can allow only ethercat packets to be passed to >>> app layer? >>> >>> Basically, I want to process only ethercat packets. Therefore, i want >>> to kernel to filter out basic IP packets. >>> >>> Regards, >>> Sriram >>> _______________________________________________ >>> etherlab-users mailing list >>> etherlab-users@etherlab.org >>> http://lists.etherlab.org/mailman/listinfo/etherlab-users >> The Ethercat packets are actually raw Ethernet frames, so I think you >> need to explain what your issue is and from there the list might be able >> to help. >> >> Mike >> _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users