Yo Miroslav!

On Tue, 4 Aug 2015 10:34:17 +0200
Miroslav Lichvar <mlich...@redhat.com> wrote:

> > Interesting, can you share your setup?
> 
> When I run "ptp4l -6 -S -i ens5 -m", ss reports only IPv6 sockets for
> ptp4l:


For comparison, here is what I get when trying both UPDv4 and UDPv6:

    export CONF1=ptp-backup-eno1.conf
    export CONF2=ptp-backup-eno2.conf
    killall ptp4l phc2sys
    phc2sys: no process found
    sleep 3
    killall ptp4l phc2sys
    ptp4l: no process found
    phc2sys: no process found
    sleep 3
    killall -9 ptp4l phc2sys
    ptp4l: no process found
    phc2sys: no process found
    cat ${CONF1}
        [global]
        uds_address     /var/run/ptp4l
        #network_transport L2
        network_transport UDPv6

        clock_servo ntpshm
        ntpshm_segment 0
    cat ${CONF2}
        [global]
        uds_address     /var/run/ptp4l
        network_transport UDPv4

        clock_servo ntpshm
        ntpshm_segment 1

    ptp4l -i eno1 -l 3 -S -s -f ${CONF1} &
    ptp4l -i eno2 -l 3 -S -s -f ${CONF2} &


That gives me this error in my logs:

Aug  4 13:41:10 backup ptp4l[4122]: [384829.489] uds: bind failed: Address 
already in use




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1(541)382-8588

Attachment: pgpXBclgdmrGb.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to