How to setup static IP address in ubuntu using GUI ?

By | May 28, 2016

In this simple post, we are going see the procedure to setup a static IP address in Ubuntu 14.04 host computer.

Setting a static IP address in Ubuntu is useful during embedded Linux development. You may need to setup TFTP boot, NFS boot, and other network related testing with a static IP address.

Unlike older Ubuntu versions, to make newbie life easier, ubuntu 14.04 provides a pretty easy graphical interface to change the network information. In this post we will use that graphical interface and setup a static IP address.

Setup Host Computer IP address:

Step 1: Click on the Network connections and choose “Edit Connections”

Ubuntu Static IP setup - step 1

Step 2: You will be presented with below pop up. Click on ‘Add’

Ubuntu Static IP setup - step 2

Step 3: In “Choose a connection Type”, select ‘Ethernet’ and click ‘Create’.

Ubuntu Static IP setup - step 3

Step 4 : This is the major step in this task. Change all the parameters as mentions below

  • Connection name – Any name (BeagleBone Black)
  • Method – Manual
  • Click Add
  • Change
    • Address – 192.168.1.10 (Required IP address)
    • Netmask – 255.0.0.0
    • Gateway – 0.0.0.0
  • Select “Require IPV4 addressing …..”
  • Save

Ubuntu Static IP setup - step 4

Step 5 : Now select your Ethernet connection.

Ubuntu Static IP setup - step 5

Step 6 : Run ‘ifconfig eth0 ‘ to verify network configuration.

Ubuntu Static IP setup - step 6

In the upcoming posts, we are going to see the procedure to setup TFTP and NFS boot for different embedded Linux target. This post will be more useful at that time.

Leave a Reply

Your email address will not be published. Required fields are marked *