LoginSignup
0
0

More than 5 years have passed since last update.

RHEL7のvmxnet3ではPTPが使用できない

Last updated at Posted at 2017-11-02

結論

ESXi上の仮想マシンでRHEL7を使用する場合、vmxnet3ではPTPが使用できないのでE1000の仮想NICを使用する。

Support for PTP software transmit timestamping in vmxnet3 driver shipped with RHEL7.
https://access.redhat.com/solutions/2145591

メモ

ethtool -T コマンド

# ethtool -T ens192
Time stamping parameters for ens192:
Capabilities:
software-receive (SOF_TIMESTAMPING_RX_SOFTWARE)
software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none

ethtool -i コマンド

# ethtool -i ens192
driver: vmxnet3
version: 1.4.7.0-k-NAPI
firmware-version:
expansion-rom-version:
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

/etc/sysconfig/ptp4lファイル

OPTIONS="-f /etc/ptp4l.conf -i ens192 -S"
※ -S はソフトウェア時刻同期にすることを指定

/var/log/messagesのエラー

Nov 3 00:52:22 rhel7 systemd: Started Precision Time Protocol (PTP) service.
Nov 3 00:52:22 rhel7 systemd: Starting Precision Time Protocol (PTP) service...
Nov 3 00:52:22 rhel7 ptp4l: [8377550.546] interface 'ens192' does not support requested timestamping mode
Nov 3 00:52:22 rhel7 ptp4l: failed to create a clock
Nov 3 00:52:22 rhel7 systemd: ptp4l.service: main process exited, code=exited, status=255/n/a
Nov 3 00:52:22 rhel7 systemd: Unit ptp4l.service entered failed state.
Nov 3 00:52:22 rhel7 systemd: ptp4l.service failed.

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0