How to set IP Address to 10GbE Connectors?

Hello,

on AGX Drive’s Back Panel we see 3 RJ45 connectors. They are labelled with “10GbE” “1” & “2” and “10GbE” “Reserved”.
How to assign a fixed IP address and MTU=9000 to them?

One of them is the “enp4s0” interface.
Where is the “enP4p1s0” interface?

I did on Xavier_A:

cat /etc/systemd/network/99-nv_enps0_default.network
[Match]
Name=en[pP]*s0

[Network]
Address=192.168.11.150/24

[Link]
MTUBytes=9000

[DHCP]
SendHostname=false
ClientIdentifier=mac

and

sudo /etc/init.d/networking restart

The works for the “enp4s0” interface.

How to to do the same (but different IP Address) with the 10GbE" “2” and “10GbE” “Reserved” RJ45 10GbE plug?

On the front panel are the white “10GbE” “XA” & “XB” Fakra connectors. How to connect them?
Are there any Fakra-RJ45 adapters available?
How to assign an IP Address to them?

Thanks for your reply

Hi @andreas.schwager ,

Please check “3.3.3 10 GbE RJ45 Connectors” of https://developer.nvidia.com/drive-agx-developer-kit-mechanical-installation-guide-di-08957-001-v10. 1 is for Xaiver A, 2 is for Xavier B and Reserved isn’t available.

Please check “APPENDIX B. DUAL 10G ETHERNET DONGLE” in https://developer.nvidia.com/DRIVE/secure/docs/DRIVE_AGX_DevKit_Product_Brief_PB-09159-001_v10.pdf.

Thanks.

Dear VickNV,

how to identify the network interface name of the 2nd 10GbE RJ45 connector?

On XavierA I see:

lspci -tvvv
-+-[0004:00]---00.0-[01-ff]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
 +-[0001:00]---00.0-[01-ff]--
 \-[0000:00]---00.0-[01-ff]--+-00.0-[02-04]--+-00.0-[03]--
                             |               \-01.0-[04]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
                             \-00.1  PMC-Sierra Inc. Device 8534

ip a l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 72:78:07:4d:f4:04 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:73 brd ff:ff:ff:ff:ff:ff
    inet 192.168.213.150/24 brd 192.168.213.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::204:4bff:fef6:6073/64 scope link
       valid_lft forever preferred_lft forever
4: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:76 brd ff:ff:ff:ff:ff:ff
    inet 192.168.11.150/24 brd 192.168.11.255 scope global enp4s0
       valid_lft forever preferred_lft forever
    inet6 fe80::204:4bff:fef6:6076/64 scope link
       valid_lft forever preferred_lft forever
5: enP4p1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc mq state DOWN group default qlen 1000
    link/ether 00:04:4b:f6:60:78 brd ff:ff:ff:ff:ff:ff
6: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
    link/can
7: can1: <NOARP,ECHO> mtu 16 qdisc pfifo_fast state DOWN group default qlen 10
    link/can
8: eth0.200@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:73 brd ff:ff:ff:ff:ff:ff
    inet 10.42.0.28/24 brd 10.42.0.255 scope global eth0.200
       valid_lft forever preferred_lft forever
    inet6 fe80::204:4bff:fef6:6073/64 scope link
       valid_lft forever preferred_lft forever

On XavierB I see:

lspci -tvvv
-+-[0004:00]---00.0-[01-ff]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
 +-[0001:00]---00.0-[01-ff]--
 \-[0000:00]---00.0-[01-ff]--+-00.0-[02-04]--+-00.0-[03]----00.0  Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion]
                             |               \-01.0-[04]----00.0  Marvell Technology Group Ltd. 88SE9485 SAS/SATA 6Gb/s controller
                             \-00.1  PMC-Sierra Inc. Device 8534

ip a l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0a:2b:32:82:85:aa brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:74 brd ff:ff:ff:ff:ff:ff
    inet 192.168.213.151/24 brd 192.168.213.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::204:4bff:fef6:6074/64 scope link
       valid_lft forever preferred_lft forever
4: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:77 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::204:4bff:fef6:6077/64 scope link
       valid_lft forever preferred_lft forever
5: enP4p1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:04:4b:f6:60:79 brd ff:ff:ff:ff:ff:ff
6: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
    link/can
7: can1: <NOARP,ECHO> mtu 16 qdisc pfifo_fast state DOWN group default qlen 10
    link/can
8: eth0.200@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:04:4b:f6:60:74 brd ff:ff:ff:ff:ff:ff
    inet 10.42.0.29/24 brd 10.42.0.255 scope global eth0.200
       valid_lft forever preferred_lft forever
    inet6 fe80::204:4bff:fef6:6074/64 scope link
       valid_lft forever preferred_lft forever

How to get 2nd 10GbE RJ45 interface into the list of ip a l interfaces?

Thanks for your help!

On Xavier B with DRIVE OS 5.2.0, I saw enp4s0 for the 2nd connector. FYI.

Ok, however, I do never get an IP address on enp4s0

ethtool enp4s0
Settings for enp4s0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available

The key question is the following:
In total there are 17 ETH connections at AGX Drive:
Back Panel: … in RJ45
10GbE: 1,2,reserved
Front Panel: … in white, black or green Fakra
10GbE: XA, XB,
1Gbe: 1|2, 3|4, 5|6, 7
100MbE: 5, 4|3, 2|1

Which of these connectors are assigned to which logical interface name like enp4s0 or enP4p1s0 or whatever?
How to grant an IP Address to each of them?

How to edit scripts in /etc/systemd/network/ ?

Thanks for your efforts!

Is your system with DRIVE OS 5.2.0 SDK Linux?

I haven’t modified scripts for fixed IP. However, by default, once I connect Ethernet cable to 1 connector, I can see enp4s0 get IP on Xavier A. Once connect to 2 connector, enp4s0 get IP on Xavier B. Maybe you should clarify this first.

enP4p1s0 is for the HSD ones.

It does not matter if fixed IP address or or DHCP.

The question is: which physical network connection has which logical interface name?
If the logical interface name are not identical between XavierA and XavierB, please let me know.

Best Regards