Network problem with eth0 and eth1

Sheratan

Well-known member
So I had 4 Dedicated with 2 connection line. Each server had:

> eth0, onboard with private IP (10.10.x.x)
> eth1, LAN card with 2 public IP
> Ubuntu 12.04.3 LTS

Recently, I had to restart server1 and server4. And after that, I can't SSH nor ping server1 and server4. After trying to disable eth0 in /etc/network/interfaces and reboot again, I can connect and login to SSH.

Now I had no idea why this would be happen. Right now server1 and server4 are running without eth0 enabled. Any help how to enable eth0 again without any problem to eth1?

ps: English is not my native language.
 
Server 1

auto eth1
iface eth1 inet static
address 103.x.x.235
netmask 255.255.255.240
network 103.x.x.224
broadcast 103.x.x.239
gateway 103.x.x.225
dns-nameservers 8.8.8.8

auto eth1:1
iface eth1:1 inet static
address 103.x.x.236
netmask 255.255.255.240
network 103.x.x.224
broadcast 103.x.x.239

#auto eth0
#iface eth0 inet static
#address 10.10.8.251
#gateway : 10.10.8.1
#netmask : 255.255.255.0
#network : 10.10.8.0
#broadcast : 10.10.8.255
 
Last edited:
Try this:
Code:
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 103.x.x.235
netmask 255.255.255.240
gateway 103.x.x.225
dns-nameservers 8.8.8.8
up ip addr add 103.x.x.235/28 dev eth1 label eth1:0
down ip addr del 103.x.x.235/28 dev eth1 label eth1:0
up ip addr add 103.x.x.236/28 dev eth1 label eth1:1
down ip addr del 103.x.x.236/28 dev eth1 label eth1:1
 
Top Bottom