Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
issues with ptp4l
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 41

PostPosted: Tue Aug 20, 2024 8:59 am    Post subject: issues with ptp4l Reply with quote

Hi Experts, is it possible to pass a source IP with ptp4l commandline ?

Scenario is that the IP which is allowed to connect or sync with ptp server is configured on a sub-interface enp101s0:1 and not on the Physical interface. Now when I am trying to pass enp101s0:1 with ptp4l, it does not work and throws - setsockopt SO_BINDTODEVICE failed: No such device as shown below error -

Quote:
# ptp4l -H -4 -i enp101s0:1 -m
ptp4l[962655.540]: selected /dev/ptp1 as PTP clock
ptp4l[962655.542]: setsockopt SO_BINDTODEVICE failed: No such device
ptp4l[962655.542]: port 1: INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l[962655.542]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE



Please suggest if there is a way to pass source IP or sub-interface with ptp4l command.

Thanks for all the help in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum