Static IP change often

I am successfully able to use a static IP for over an year now. This is how I did it on Jetson Xavier and accompanying systems.

Change your /etc/network/interfaces to

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

and create (if not already existing), the eth0 file in the interfaces.d directory. The eth0 file is defined as

auto eth0
iface eth0 inet static
address 10.0.0.1 
netmask 255.0.0.0
gateway 192.168.1.254

In my case, I have set my static IP to 10.0.0.1.

1 Like