Infolinks

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu
by: RJDREYES

(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)

Here’s the Steps / Instructions on How to configure the IP Address and DNS Network on Ubuntu

(Note: For GNOME GUI (Tested on Ubuntu 10.04 LTS – Ubuntu 11.04), I’m not certain on other GUI Environment such as Unity, :D, you may try if you want, to see the results.)

1. Logon to your account then at your Desktop go to Applications then to Accessories then click Terminal.
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu
This will launch Terminal.
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

2. Then go to Places then click to Computer.

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

Then at Computer, click on File System, then find the folder etc and double-click it to get inside the folder. Then locate network folder, and double-click it.

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on UbuntuHow to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on UbuntuHow to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

Then at network folder, locate interfaces file.(This is were your TCP/IP configuration exists.)

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

3. Grab the interfaces file by Hold the left-click button mouse, then drag it to the terminal, it will show the path of your interfaces file.

At terminal, add a command sudo gedit at the beginning of the path of your interfaces file.

As the example picture below, (sudo gedit ‘/etc/network/interfaces’)

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

(Note: It will ask for a administration password, or your own account password, type it and press Enter.)

Then the gedit with interfaces file appears.

 

4. The interfaces file contains information of your tcp/ip configuration, such as ip address, gateway, netmask, network, broadcast…

(Note: By manually configuration, I am aware that you have any knowledge on tcp/ip properties. ^_^) See the example picture below.
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

 

5. After the configuration, save to gedit interfaces file, click File then click Save. Then exit geditinterfaces file. Do not not yet quit or exit the terminal.
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

 

6. At terminal, type sudo /etc/init.d/networking restart (See the picture below).

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

7. Then locate the file resolv.conf (located at etc folder), then Hold the left-click button mouse, then drag it to the terminal, it will show the path of your resolv.conf file.
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

Add a command sudo gedit at the beginning of the path of your resolv.conf file. As the example picture below, (sudo gedit ‘/etc/resolv.conf’)
How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

You can now set your own nameserver or DNS (Primary DNS and Secondary DNS). See the example picture below.

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

After the configuration, save to gedit resolv.conf file, click File then click Save. Then exit gedit resolv.conf file.

8. You can also set up hostname or computer name at the file hostname or hosts. (See for yourself about this, try to explore on your own.) 😀

How to configure the IP Address, Gateway, Netmask, Network, Broadcast and DNS on Ubuntu

And that’s it. You may restart your computer for more effectivity of the new configuration.

Welcome to Ubuntu World! 😀

(Disclosure: Ubuntu OS, Applications/Logo/Images/Pictures mention above have a respective copyright. We used it for demonstration purpose only.)

If something in your mind to comment or suggest, please let us know. In our efforts to provide detailed information, there is possibility of inaccurate contents. If you see any mistake or incomplete in our information, please don’t hesitate to tell us. We will fix it immediately as soon as possible.

Related Links / Articles / Entries / References / Sources:
How to Install Ubuntu 10.04 LTS or Ubuntu 11.04 on Desktop or Laptop by Jcyberinux
How to Install Application using Ubuntu Software Centre
How to Install or Activate Graphic Card Driver using Ubuntu Hardware Drivers
How to Install Software Packages using Synaptic Package Manager
Ubuntu Official Site
Download Ubuntu Official Site

Related Posts Plugin for WordPress, Blogger...
Share
One thought on “TCP/IP Network Configuration on Ubuntu”

Leave a Reply

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

Infolinks