Configuring the External RJ45 Time Synchronization Connector/Port

Time-Stamping and Time Synchronization

Platform
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link™ Capture Software 12.2

In this section

This section describes how to configure the external RJ45 time synchronization connector/port on NT SmartNICs.

Static IP address

The PtpIpAddr parameter assigns a static IP address to the Ethernet port.

IPv4 netmask

The PtpNetMask parameter specifies an IPv4 netmask to the Ethernet port.

IPv4 gateway

The PtpGw parameter specifies an IPv4 gateway in unicast mode to the Ethernet port.

DHCP assignment

The PtpDhcp parameter enables or disables DHCP-assigned IP settings on the Ethernet port.
Note: PtpDhcp only applies when the PtpCommTech parameter is set to IPv4/UDP (see Configuring the PTP Clock).

VLAN ID

The PtpVlanId parameter assigns a VLAN ID to all packets transmitted from the Ethernet port. VLAN-tagged packets that are received by the port are only accepted if the VLAN tag is equal to the PtpVlanId value. Packets that are not VLAN-tagged are accepted regardless of the PtpVlanId value. The reason for this is that VLAN tags are often removed by routing devices. PtpVlanId applies to both layer 2 and IPv4/UDP communication protocols. The value 0 corresponds to no VLAN ID.

VLAN priority

The PtpVlanPrio parameter only applies when the PtpVlanId parameter (see VLAN ID) is not set to 0. It specifies a priority that is assigned to all packets transmitted from the Ethernet port. The VLAN priority on received packets is ignored. PtpVlanPrio applies to both layer 2 and IPv4/UDP communication protocols The value 0 corresponds to no VLAN priority.

ntservice.ini code line

The syntax for the ntservice.ini code line configuring the PTP clock is:

'PtpIpAddr' '=' <IP address>
'PtpNetMask' '=' <IP address>
'PtpGw' '=' <IP address>
'PtpDhcp' '=' ( 'DISABLE' | 'ENABLE' )
'PtpVlanId' '=' ( '0' | '1' |  '2' | ... |  '4095' )
'PtpVlanPrio' '=' ( '0' | '1' |  '2' | ... |  '7' )

Example:

PtpIpAddr=192.168.1.2
PtpNetMask=255.255.0.0
PtpGw=192.168.1.1
PtpDhcp=DISABLE
PtpVlanId=10
PtpVlanPrio=4

Default values

This table shows the default values.

Parameter Default Value
PtpIpAddr 192.168.0.2
PtpNetMask 255.255.255.0
PtpGw 192.168.0.1
PtpDhcp ENABLE
PtpVlanId 0
PtpVlanPrio 0