Skip to content

Cart

Your cart is empty

How to Set Static IP for Jetson?

WHAT YOU WILL LEARN?

1- How to set static IP address?


ENVIRONMENT

Hardware: DSBOARD-ORNX-LAN

OS: JetPack-5.1.3

In this blog post, we will change the network interface’s IPv4 default configuration (Automatic DHCP) to static IP.

Setting the Static IP Address

First , open a terminal and type the following command below:


nm-connection-editor

Network Manager command


After the “Network Connections” application opened, select the network interface to modify its IPv4 settings.

Network list from Network Connections app


Double-click the network interface (or select the gear icon to the bottom) to open its settings.

Network setting page


Select the “IPv4 Settings” part.

IPv4 settings


Change the “Method” to “Manual”.

IPv4 method change


Then, press “Add” button from the right edge of it.

Add button from IPv4 settings


Type the static IP address, netmask and gateway values to the opened line from the “Addresses” block.

Sample IPv4 static IP address configuration

Then, press “Save” button from the bottom-right corner and close the “Network Connections” application.




Once you returned to the terminal, close the network interface and open it again. To do this, you can do it with two ways:
    • Unplugging the Ethernet cable and re-plugging it physically or
    • Keeping the interface down and up from OS (using “Settings” app or “ifconfig” command etc.)

Afterwards, type “ifconfig” command to verify the static IP address has been established by the OS. (In this example, we changed “eth0”s IP address and typed “ifconfig eth0” to just display only this interface)



Thank you for reading our blog post.