Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

FYI: I've read everything on Serverfault related to this question and have faced a different issue.

Simply put, I've got one server (apache2) with couple of sites on it. It currently has 1 ip. I'm trying to assign/add another ip to that server, so I can give each site a different ip for ssl purposes.

I am not lucking out. The new ip simply is unreachable, I've pinged it. This is what I've got below, what am I doing wrong.

auto lo
iface lo inet loopback

auto eth0 eth0:0 eth0:1

iface eth0 inet static

iface eth0:0 inet static

iface eth0:1 inet static


I've read many questions here 90% similar to this but most actually have the IP respond, not this case. Thanks

netstar -r output

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         UG        0 0          0 eth0      *        U         0 0          0 eth0    *        U         0 0          0 eth0   *        U         0 0          0 eth0
share|improve this question
1. Is there any netfilter involvement? 2. Why not just work this through linode support? – EEAA Nov 24 '12 at 7:03
Your example IPs are in different netblocks (I'm assuming this is similar to the actual setup). I notice that you have a gateway set for eth0, but not eth0:0. Can you show the output of netstat -r? I suspect (but am not sure) that the return path doesn't know where to go. – n1reu Nov 24 '12 at 7:16
Added netstat -r output in question. @EEAA linode does not have support such issues. – andrewk Nov 24 '12 at 7:21
I've been a linode customer for 7 years. Give their support a try. At the very least, they'll point you to a library article with copypasta for your distro. – EEAA Nov 24 '12 at 7:26
The requirement to reboot your Linode VPS is documented in the Linode Library, as well as in the Linode wiki. – Michael Hampton Nov 24 '12 at 13:57

Linode requires that you reboot your node after adding the additional IP to it before their routing will work.

Have you done that?

share|improve this answer
Confused reboot with server restart. +1 – andrewk Nov 24 '12 at 19:09
  1. Where did you try to ping from -> to ?

  2. Can you ping the new address locally. from it self?

    2.1. If not, try to add it some the broadcast (the last ip in the network ) and add default routes to the network

  3. I can see your netstat -r point to * in the gateway output, they normally points to as they are virtual addresses they should be using the primary network as gateway eth0. But the virtual addresses was physical, then you could have assigned each card they own gateway.

Therefore give the eth0:0 and eth0:1 the broadcast information default gateway set to and set up a route for them to point all to route everythin to the primary network.

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.