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

I just bought a VPS from Burstnet. The VPS comes with two static IPs but I dont know how to use the second IP.

When I check the IP address, it always shows the first IP. How can I let it show the second IP?

I am on Ubuntu 10.10.

Thanks a lot!

share|improve this question
up vote 0 down vote accepted

You need to make sure the 2nd IP is assigned to one of the available physical interfaces like eth0/eth1 or to a virtual interface like eth0:0.

About the IP usage, this largely depends on how you want to use it. For example, you can point your DNS record to the 2nd IP if you want to host some web service using this IP. So, accessing your service by name will direct you through the configured IP.

share|improve this answer
Which file should I look at? /etc/network/interfaces? – Susan Mayer May 7 '12 at 9:12
@SusanMayer: Yes, this file contains the network interfaces configuration under Ubuntu. – Khaled May 7 '12 at 9:30


ifconfig -a

and you should see the second interface, probably called "eth1". To use it you wll need to assign it an IP, either through DHCP or a static configuration.

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.