Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
2  
Did you try man ifconfig? If you don't know what 'man' is try man man. –  Chris S Oct 15 '10 at 18:28
add comment

1 Answer

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

Runtime:

ifconfig eth0:0 ADDRESS/NETMASK

such as ifconfig eth0:0 8.8.8.8/32

ADDRESS,NETMASK given provider

share|improve this answer
add comment

Your Answer

 
discard

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.