multiple ip for a server not reachable
        Posted  
        
            by 
                andrewk
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by andrewk
        
        
        
        Published on 2012-11-24T06:37:12Z
        Indexed on 
            2012/11/24
            11:11 UTC
        
        
        Read the original article
        Hit count: 566
        
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
address 70.116.5.244
netmask 255.255.255.0
gateway 70.116.5.1
#THE NEW IP
iface eth0:0 inet static
address 26.175.217.102
netmask 255.255.255.0
#PRIVATE IP
iface eth0:1 inet static
address 192.168.158.88
netmask 255.255.128.0
NOTE: THESE IP'S ARE TWEAKED BUT RELATIVE
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         gw-u6.linode.co 0.0.0.0         UG        0 0          0 eth0
70.116.5.0      *               255.255.255.0   U         0 0          0 eth0
26.175.217.0    *               255.255.255.0   U         0 0          0 eth0
192.168.128.0   *               255.255.128.0   U         0 0          0 eth0
        © Server Fault or respective owner