How to configure a static IP address on Ubuntu 22.04?

My environment:
Self-developed baseboards based on Jetson Orin Nx core boards
Jetson_Linux_R36.2.0_aarch64.tbz2
VM development environment for sdk - ubuntu20.04

I’m trying to implement eth0 static ip configuration on OrinNx, but noticed that /etc/network/interfaces has disappeared.
What should I do to accomplish my purpose?

Customized crrier board? Any PHY on it?

Yes, mine is a custom board.

cz@tegra:~/hxh$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:e0:99:e9:21:3f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 435 (435.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 48:b0:2d:d3:d5:f4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 25  base 0xd000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1178  bytes 74044 (74.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1178  bytes 74044 (74.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 62:1f:7f:7d:e7:41  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 62:1f:7f:7d:e7:43  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Hi,
Please try netplan:
How to configure static IP on Jetson AGX Orin with JP5.1.1 - #3 by DaneLLL