How to Configure Static IP Address On Linux

How To Configure Static IP Address On Linux

Filed under Web Hosting

Setting up a static IP address for your linux box is quite easy. I will show you how to do it through the GUI and command line.

For this tutorial, I have been using CentOS 5 running as a virtual machine on VMware Server 1.0.2.

Setting Up A Static IP Address Using The GUI

If you are using Gnome, click on “System => Administration => Network”.

From the Network Configuration window, select your NIC from de “Devices” tab and click on the “Edit” button.

Select “Statically set IP addresses” and enter the IP address, subnet mask and default gateway. Click OK when done.

Now back to the Network Configuration window, select the DNS tab. Enter your hostname and your DNS servers.

Click on “File => Save” when you’re done.

via How to Configure Static IP Address On Linux.

About these ads

Comments are closed.

Follow

Get every new post delivered to your Inbox.

Join 70 other followers