Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My ISP has bound a second real IP address to my dedicated server, but that new IP does not seem to function. How do I set up an interface for it?

I Use Ubuntu 10.04 LTS AMD64 Server OS.

share|improve this question
Did you try man ifconfig? If you don't know what 'man' is try man man. – Chris S Oct 15 '10 at 18:28
up vote 2 down vote accepted

Append the following config in /etc/network/intercaes:

auto eth0:0
iface eth0:0 inet static
address ADDRESS
netmask NETMASK
broadcast BROADCAST
network NETWORK


ifconfig eth0:0 ADDRESS/NETMASK

such as ifconfig eth0:0

ADDRESS,NETMASK given provider

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.