On Sun, Jul 11, 2021 at 03:28:09PM +0000, Christian Leeb wrote: > Hi > > We run linuxptp on 802.1 across a PTP aware switch. > Typically these switches have the bad habit of removing 802.1Q tags on egress > if vlan id = 0.
Is there any paragraph in IEEE 802.1Q-2018 that stipulates switches should not strip the VID 0 header on egress? > On the other hand our engineering guidelines require that we send with 802.1Q > in order to convey the PCP (priority code point). > So we configure linuxptp as follows: > vconfig add eth0 0 > ifconfig eth0.0 up > vconfig set_egress_map eth0.0 15 7 #PCP = 7 > Then we configure ptp4l with "socket_priority = 15" and the port [ eth0.0] > The result is that linuxptp is not working because it's (sending to and ) > receiving from port eth0.0 which does not receive untagged packets. > Is there any solution to send PTP packets to eth0.0 (i.e. 802.1Q tagged > packets) and receive both from eth0 (tagged) and eth0.0 (untagged)? > Best regards, Chris You could always use tc filters with vlan push/pop actions instead of using an 8021q upper interface. _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users