Using both Tegras through Ethernet - Static IP

Hey everyone,

i am asking today because we want to use both tegras A and B at the same time and accessing them via Ethernet at the same time.
So we want to give Tegra A and Tegra B both a static IP adress and acessing them.
So now is my questions:

  1. Is it possible to give both Tegras a static IP adress and just accessing them through the side Ethernet Port? With this configuration, we could use the second Ethernet Port for internet acess

  2. If first idea is not possible, can we adress each tegra A and B to one Ethernet Port and access each tegra individually to a Ethernet Port? How do i have to do this?

  3. If second idea is working, do i have to make shared Wifi for Internet acess?

Thanks for answering, would be great if you can lead me to same topics.

Dear betznxqsv,

Here IP’s should match for Aurix and Tegra.
So could you please try it based on below?

  1. On Aurix Console
    a. Check output of “version” command and “status” command , below should be the default IP address set in Aurix
    i.IP-address (Tegra-A): 10.42.0.28
    ii.IP-address (Tegra-B): 10.42.0.29
    iii.IP-address (AURIX): 10.42.0.146

  2. On Target Console (Tegra A) check the following
    b. nvidia@nvidia:~ cat /etc/nvidia/version-nv-pdk.txt 5.0.5.0-10129397 c. nvidia@nvidia:~ cat /etc/tacp/tacp.cfg
    AURIX_IP_ADDRESS=10.42.0.146
    TEGRA_A_IP_ADDRESS=10.42.0.28
    TEGRA_B_IP_ADDRESS=10.42.0.29
    TEGRA_CVM_IP_ADDRESS=10.42.0.30
    TEGRA_IP_ADDRESS=10.42.0.28
    AURIX_SERVER_PORT=5000
    AURIX_EASYCAN_PORT=50000
    TEGRA_EASYCAN_PORT=60395
    drive-px2-a=eth0.200
    drive-px2-b=eth0.200
    drive-px2-autocruise=lo
    drive-ax=eth0.200
    ddpx-a=eth0
    ddpx-b=eth0
    ddpx-c=eth0
    RECEIVE_TIMEOUT_S=5
    RECEIVE_TIMEOUT_US=0
    SPI_RECEIVE_TIMEOUT_US=1000000

Concerning part 1 of your answer: How do you access the AURIX console to check those statuses? I could not find it in the manuals. Thank you!

Dear betznxqsv,

Could you please refer to below link for your question?
UART: Accessing DRIVE PX 2 via UART
https://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FUtilities%2Fuart_dpx.html

Please use “sudo minicom -D /dev/ttyUSB1” for Aurix. Thanks.

Coming back to this after some time. The settings you mention are correct.

However, we need a permanent static ip on the eth0 to access both tegras from outside. So lets say tegra A 10.0.0.8 and tegra B 10.0.0.9

How do you manage this?
So far I tried:
https://devtalk.nvidia.com/default/topic/1022123/general/set-drivepx2-ip-static/
https://devtalk.nvidia.com/default/topic/1031542/jetson-tx2/how-to-set-manual-ip-address-on-the-tx2/

Neither approach worked.
Only way I could change it temporarily with
sudo ifconfig eth0 10.0.0.8 netmask 255.255.255.0

It does not work permanently, nor could I access both tegras. Can you give an example here?

Dear nobis,

Could you please let me know how to modify the /etc/systemd/network/wired_t186.network config file?