Ethernet Issues

Hello,

We have upgraded driveworks-2.0, after that we are having following issues with Ethernet.

1.) The static IP of 10 Gb ethernet port can’t be set by network initialization file (/etc/network/interfaces). It will automatically reset the IP back to 192.168.0.10 after reboot the system.

2.) What could be the proper way to set the IPs for Xavier A and B?

3.) Network bridge between Xavier A and B looks like removed, what is the most efficient wat to communicate between Xavier A and B?

We edited /etc/metwork/interfaces

auto enp4s0
iface enp4s0 inet static
address 192.168.6.116
netmask 255.255.254.0
gateway 192.168.7.1
dns-nameservers 8.8.8.8
source-directory /etc/network/interfaces.d

Dear dhruvildarji1409,

Could you please check if enp4s0 is in network list with ifconfig -a command?
And could you please let me know your company name? Thanks.

Hey SteveNY,

Yes, “ifconfig -a” as well as “ifconfig” shows enp4s0 in the network list.

Thanks

Dear dhruvildarji1409,

May I know if enp5s0 and enp7s0 are in the networks list?
Could you please upload the network list? Thanks.

I did find enp5s0 or enp7s0 in the network list. Here is my network list from “ifconfig -a”

can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:106

can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:56 (56.0 B)
Interrupt:107

enP4p1s0 Link encap:Ethernet HWaddr 00:04:4b:af:78:0d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

enp4s0 Link encap:Ethernet HWaddr 00:04:4b:af:78:0b
inet addr:192.168.27.200 Bcast:192.168.27.255 Mask:255.255.255.0
inet6 addr: fe80::204:4bff:feaf:780b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:546201 errors:0 dropped:0 overruns:0 frame:0
TX packets:566746 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:178166772 (178.1 MB) TX bytes:765465525 (765.4 MB)

eth0 Link encap:Ethernet HWaddr 00:04:4b:af:78:08
inet6 addr: fe80::204:4bff:feaf:7808/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1660932 errors:0 dropped:1555005 overruns:0 frame:0
TX packets:105628 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103174304 (103.1 MB) TX bytes:7963616 (7.9 MB)
Interrupt:82

eth0:400 Link encap:Ethernet HWaddr 00:04:4b:af:78:08
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:82

eth0:900 Link encap:Ethernet HWaddr 00:04:4b:af:78:08
inet addr:10.1.0.81 Bcast:10.1.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:82

eth0.200 Link encap:Ethernet HWaddr 00:04:4b:af:78:08
inet addr:10.42.0.28 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:4bff:feaf:7808/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19829 errors:0 dropped:0 overruns:0 frame:0
TX packets:21279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:942608 (942.6 KB) TX bytes:1699954 (1.6 MB)

hv0 Link encap:Ethernet HWaddr 0a:86:4c:f8:e8:00
inet addr:192.168.10.4 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::886:4cff:fef8:e800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292 (292.0 B) TX bytes:44989 (44.9 KB)
Interrupt:11

hv1 Link encap:Ethernet HWaddr 0a:86:4c:f8:e9:00
inet addr:192.168.12.4 Bcast:192.168.12.255 Mask:255.255.255.0
inet6 addr: fe80::886:4cff:fef8:e900/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:292 (292.0 B) TX bytes:45009 (45.0 KB)
Interrupt:12

ip6gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
NOARP MTU:1448 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
NOARP MTU:1452 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:24444 errors:0 dropped:0 overruns:0 frame:0
TX packets:24444 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:549381520 (549.3 MB) TX bytes:549381520 (549.3 MB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Hi dhruvildarji1409,

Network settings is managed by systemd, so the problem may solve by editing the file below.

  • /etc/systemd/network/XXXXX.network

Dear dhruvildarji1409,

Could you please refer to below link and comment for your topic? Thanks.

https://devtalk.nvidia.com/default/topic/1056261/general/ethernet-connection-for-drive-agx/

DRIVE 9.0 comes as Hyperion Kit configuration, so the 10GbE ports 1 and 2 on the back panel are set to static. You can verify that under /etc/systemd/network/ as there all configuration files for the network are stored.

Originally, when building the target image, the network files are taken from /DriveSDK/drive-t186ref-linux/targetfs/<...>.

The conclusion is: Connect via the front panel via 1GbE or 100MbE; and else feel free to modify your network files under /etc/systemd/network to your needs as we do not restrict you from using the interface you want to connect to the internet, including the 10GbE ports on the back panel.

I changed the .network file under Xavier’s / etc / systemd / network but I can not connect to the Internet.
It is also confirmed that the IP address is assigned to eth0 with ifconfig -a, but it is not resolved.