How To Set Static IP Address For Ubuntu Server - DC Geek

Breaking

DC Geek

I am still Learning

Follow By Mail

test banner

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Wednesday, August 28, 2013

How To Set Static IP Address For Ubuntu Server


In This Tutorial I will tell you how to set the ip address for ubuntu Desktop  & Ubuntu server.

Servers usually uses Static IP address for users to access the server frequently,so for that Static IP address are assigning

For setting the static ip address edit the interfaces file using VI or VIM,It is located in the location /etc/network/interfaces

sudo vi /etc/network/interfaces


In  the Interfaces file  loopback configuration is present,so add the following lines in the interfaces file

auto eth0
iface eth0 inet static
address 192.168.X.X
netmask 255.255.255.0
gateway 192.168.X.X
network 192.168.X.X
braodcast 192.168.X.X


After typing all those save and restart the network service by using the command

/etc/init.d/networking restart

(or)

service networking restart

That's it static ip assigned.......

No comments:

Post a Comment

Post Top Ad

Responsive Ads Here