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.

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

2 Answers 2

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

Run

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

 
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.