DHCP Fallback to Static IP

How do you create a configuration on the TX2 (currently on BSP 28.2.1) that uses DHCP but falls back to a static IP (192.168.1.2?) if there is no DHCP server connected to hand out and address.

For Example – On a Raspberry Pi one would do something like this:
indent preformatted text by 4 spaces

# It is possible to fall back to a static IP if DHCP fails:
# define static profile
profile static_eth0
static ip_address=192.168.1.2
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

# fallback to static profile on eth0
interface eth0
fallback static_eth0

Don’t know if it will work for you, but I saw something interesting on the topic:
https://serverfault.com/questions/958557/debian-ubuntu-linux-fixed-ip-when-dhcp-fails

That use-case may not match for you, but perhaps seeing how a bridge can be used would help. However it might work I believe the Jetson hardware will not be any different than any other Ubuntu PC in this regard.

You might also poke around in “/etc/avahi-autoipd.action”, “/etc/network/if-up.d/avahi-autoipd”, and “/etc/network/avahi-autoipd”. I did not look close enough to see if this applies to your case, but for some network configurations this may be what determines a fallback address when DHCP fails.