I just got a second IP for my linode and have followed the example in the
Static IP library article and configured my /etc/network/interfaces with the following
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Interfaces brought up durring boot
auto eth0 eth0:0 eth0:1
# eth0 - Public IP, WAN access
iface eth0 inet static
address 173.255.199.148
netmask 255.255.255.0
gateway 173.255.199.1
# eth0:0 - Public IP, WAN access
iface eth0:0 inet static
address 96.126.115.54
netmask 255.255.255.0
gateway 96.126.115.1
After doing this I ran "/etc/init.d/networking restart" and it restarted successfully. However, I am unable to ping into 96.126.115.54 or out to it's corresponding gateway, 96.126.115.1, I get the following:
Code:
chris@Megatron:~$ ping 96.126.115.1
PING 96.126.115.1 (96.126.115.1) 56(84) bytes of data.
From 96.126.115.54 icmp_seq=2 Destination Host Unreachable
From 96.126.115.54 icmp_seq=3 Destination Host Unreachable
From 96.126.115.54 icmp_seq=4 Destination Host Unreachable
Am I missing something? What do I need to do in order to get this IP working in conjunction with the other?