Multiple IPs on one network card (debian)
Hello,I'm trying to setup my server so that it'll use multiple IPs on one network card. My provider just gave me another IP but it uses a completely different gateway. I set it up in /etc/network/interfaces and the interface comes up properly but it doesn't respond to pings, I believe that there is a routing problem but I'm not sure how to fix it ...
earlmred:/home/boydjd# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
auto eth0
iface eth0 inet static
address 64.251.25.189
netmask 255.255.255.0
broadcast 64.251.25.255
network 64.251.25.0
gateway 64.251.25.1
auto eth0:0
iface eth0:0 inet static
address 69.60.111.248
netmask 255.255.255.0
broadcast 69.60.111.255
network 69.60.111.0
gateway 69.60.111.1
earlmred:/home/boydjd# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
69.60.111.248 69.60.111.1 255.255.255.255 UGH 0 0 0 eth0
64.251.25.0 * 255.255.255.0 U 0 0 0 eth0
69.60.111.0 * 255.255.255.0 U 0 0 0 eth0
default 64.251.25.1 0.0.0.0 UG 0 0 0 eth0