When I upgraded the main switch on the network in order to support multiple internet addressable web servers I noticed that whichever system I connected first could access the internet while the following ones couldn’t. I decided to call Cox’s support line to see what the proper procedure was for using multiple IP addresses. As it turns out the less-than-intelligent person who installed my modem did not set it up to use multiple IP addresses (nor did he know that I was receiving a business connection instead of a residential connection). The tech support agent figured the problem out and resolved the issue very quickly. I should have my secondary server up and running within a week.
Computers, This Site
cox, ip address, network, static
In order to setup a system to use a static IP address you have to edit the /etc/network/interfaces file.
The first step is to backup the existing file, just in case you screw something up by accident, or something otherwise doesn’t work as it should.
#cd /etc/network
#cp interfaces interfaces.backup
Next, edit the file as root with your favorite text editing program. I personally like Vim.
#sudo vim interfaces
add the # symbol beside what is already there for the interface you want to configure. The # makes whatever comes after it in the line a comment, and the computer doesn’t read it.
Next copy the following text and edit to fit your needs:
auto eth0
iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
Save the file and quit. The next time you restart your computer it should automatically setup your network interface as you programed it to.
Computers, How To
address, ip, static, ubuntu