I have tried to reproduce this with PC with 18.04 and issue is not present there.
Default case where network is working (default settings on Jetpack)
ifconfig eth0:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.112 netmask 255.255.252.0 broadcast 192.168.3.255
inet6 fe80::b498:16b4:47b6:576 prefixlen 64 scopeid 0x20<link>
ether 00:04:4b:8c:fd:b1 txqueuelen 1000 (Ethernet)
RX packets 25863 bytes 37390545 (37.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4055 bytes 331972 (331.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 41
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 100 0 0 eth0
default _gateway 0.0.0.0 UG 32766 0 0 l4tbr0
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.0.0 0.0.0.0 255.255.252.0 U 100 0 0 eth0
192.168.55.0 0.0.0.0 255.255.255.0 U 0 0 0 l4tbr0
ethtool:
driver: eqos
version:
firmware-version:
expansion-rom-version:
bus-info: 2490000.ether_qos
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
networkctl states that all interfaces that are present are not controlled by systemd-networkd.
WARNING: systemd-networkd is not running, output will be incomplete.
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback n/a unmanaged
2 dummy0 ether n/a unmanaged
3 eth0 ether n/a unmanaged
4 wlan0 wlan n/a unmanaged
8 l4tbr0 ether n/a unmanaged
9 rndis0 ether n/a unmanaged
10 usb0 ether n/a unmanaged
7 links listed.
But as I want to use systemd-networkd, I first disable the eth0 by executing ifconfig eth0 down.
Next I create /run/systemd/network directory and place eth0.network file there. Contents of the file are as follows:
[Match]
Name=eth0
[Network]
DHCP=ipv4
After starting systemd-networkd:
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 dummy0 ether off unmanaged
3 eth0 ether no-carrier configuring
4 wlan0 wlan dormant unmanaged
8 l4tbr0 ether routable unmanaged
9 rndis0 ether degraded unmanaged
10 usb0 ether degraded unmanaged
7 links listed.
After a while I execute networkctl again:
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 dummy0 ether off unmanaged
3 eth0 ether degraded configuring
4 wlan0 wlan dormant unmanaged
8 l4tbr0 ether routable unmanaged
9 rndis0 ether degraded unmanaged
10 usb0 ether degraded unmanaged
7 links listed.
And it stays there till I reboot the system.
ifconfig states that eth0 does not have IP, route is naturally gone, and ethtool says samethings as default setup:
ifconfig eth0:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::b498:16b4:47b6:576 prefixlen 64 scopeid 0x20<link>
ether 00:04:4b:8c:fd:b1 txqueuelen 1000 (Ethernet)
RX packets 30284 bytes 41407978 (41.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4870 bytes 428637 (428.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 41
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 32766 0 0 l4tbr0
192.168.55.0 0.0.0.0 255.255.255.0 U 0 0 0 l4tbr0
ethtool:
driver: eqos
version:
firmware-version:
expansion-rom-version:
bus-info: 2490000.ether_qos
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
miitool states that physical link however is ok:
eth0: negotiated 1000baseT-FD flow-control, link ok
I have not touched connection editor as I did not need to do that on PC either which was running 18.04 so I am assuming that it should not be the case here either.
I am bit puzzled about this. I cannot access DHCP server logs however, so I am not sure if there has been actual request to server or not, and whether server has answered anything to Jetson. So that is the next step to check. There has been some discussions that systemd might reject some DHCP offers if not all necessary options that were request were not present, but as x86-64 18.04 is works against same server, server should honor requested options.
Sorry, bit lengthy post because of logs.