Mam problem na dwóch serwerach opartych o systemy Debian 5 i 6. Mianowicie, gdy podniesiony jest jeden interface eth0 wszystko działa bez zarzutów. Kiedy podniosę drugi eth1 po pewnym czasie eth0 przestaje odpowiadać na ping. Eth0 odpowiada jedynie na ping w swojej klasie ip. Wygląda to tak jakby eth0 traciło swoją bramę domyślną. Po zrestartowaniu interfejsów
Kod: Zaznacz cały
/etc/init.d/networking restart
Kod: Zaznacz cały
/etc/network/interface
Kod: Zaznacz cały
# 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
# The primary network interface
auto eth0
iface eth0 inet static
address 109.196.100.2
netmask 255.255.255.0
network 109.196.100.0
broadcast 109.196.100.255
gateway 109.196.100.1
#dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 109.196.100.10 194.63.132.4
#auto eth1
#iface eth1 inet static
# address 169.254.252.1
# netmask 255.255.255.252
# network 169.254.252.0
# broadcast 169.254.252.3
auto eth1.201
iface eth1.201 inet static
address 10.210.210.210
netmask 255.255.254.0
network 10.210.210.0
broadcast 10.210.211.255
gateway 10.210.210.1
vlan_raw_device eth1
Kod: Zaznacz cały
route -n
109.196.144.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 109.196.144.1 0.0.0.0 UG 0 0 0 eth0
10.210.210.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
0.0.0.0 10.210.210.1 0.0.0.0 UG 0 0 0 eth1
Kod: Zaznacz cały
lspci|grep Ethernet
04:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
04:09.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
04:0d.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0c)
Ponadto interfejs eth0 nie przyjmuje bramy domyślnej z pliku /etc/network/interface i muszę dodawać ją ręcznie przy starcie system. Tak jest na jednym z serwerów na drugim wszystko dodaje się poprawnie tylko interfejs nie wychodzi poza swoją sieć.