Setting up a static ip in CentOS

First you will need to edit the file ifcfg-eth0 : Here is an example, just make sure to change your IP Address that you want to use and your netmask if applicable. Next you need to go in and configure your default gateway : Again here is an example, make sure to keep your hostname […]

Read More

Setting a static IP in Ubuntu

To make your box have a static IP in Ubuntu 12.04 that will never change, it’s quite simple. Let’s start off pulling up the interfaces with this command : sudo nano /etc/network/interfaces Go ahead and delete it, and add this : End with a ctrl+x then hit Y to save and an enter. Next let’s […]

Read More