How to Set Static IPs using Command Line on Jetson AGX Xavier?

What is the proper way to configure static IPs for the Ethernet ports on a Jetson AGX Xavier using the command line? (My Jetson is headless, so GUI tools are not an option.)

Background:

  • My Jetson is running Ubuntu 18.04.
  • Contrary to the Ubuntu documentation, /etc/netplan/99_config.yaml does not exist.
  • etc/network/interfaces does not exist either.
  • I am able set set a static IP on one Ethernet port using the initial setup wizard which runs after flashing, however, I don’t know where this info is being stored so I can configure other ports

Thanks for your help!

Hi,

Even using ifconfig can set the ip.

ifconfig eth0 172.16.25.125 netmask 255.255.255.224 broadcast 172.16.25.63

Also, I am not sure why there is no “etc/network/interfaces” on your side. If this is really our jetpack release, then it shall be there by default.