IP Address Configuration on BOSS Linux

Q. How to configure IP Address on BOSS Linux?

A. Edit the following file:




then enter root password, this file can only be edited by the root user.

#gedit /etc/network/interface

Here you’ll see the list of NICs that have been detected.

Now, to configure an IP Address on one of these NICs say, eth0, type the following

auto eth0

iface eth0 inet static

address ipaddresstobeassignedtomachine

netmask netmasktobeused

gateway gatewayipaddress

If you use DHCP instead of static IP addressing, replace static in the second line with dhcp and only type the first two lines, as the rest of the information will be obtained from the DHCP server. Remember to replace eth0 with the appropriate interface you are trying to configure in the first two lines.

Now restart networking using the following command

#/etc/init.d/networking restart

If you are using a DSL connection (most Broadband connections in India are DSL) and are having issues connecting to the Internet check if it is a DNS resolution related issue by ping-ing any website (say, http://www.wordpress.com) and checking if the URL is getting resolved to an IP Address, if it is not then you need to “force” the DNS IP Addresses. DNS IP Addresses are usually provided by ISPs, however, you could use OpenDNS

Type the following commands to edit the /etc/resolv.conf file so as to add the above IP Addresses, it is here that the DNS information is stored:


#gedit /etc/resolv.conf

This should fix any DNS related issues.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: