Od jakiegoś czasu serwer sam zmienia adresy IP na interfejsie eth0 (pierwszy operator). Według operatora wygląda to tak, jakby ktoś co chwilę zmieniał adres IP (adres MAC pozostaje bez zmian), nawet kilkadziesiąt razy na minutę. Nie ma reguły, czasem przez kilka miesięcy wszystko jest w porządku, a czasem po kilka takich sytuacji w jeden dzień.
Czy ktoś z Was spotkał się z taką sytuacją?
Kod: Zaznacz cały
uname -a
Linux router 2.6.26-2-686 #1 SMP Wed Sep 21 04:35:47 UTC 2011 i686 GNU/Linux
Kod: Zaznacz cały
dpkg --print-architecture
i386
Kod: Zaznacz cały
lspci -k
00:00.0 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset) (rev 32)
Kernel modules: sworks-agp
00:00.1 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
Kernel modules: sworks-agp
00:00.2 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
Kernel modules: sworks-agp
00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 Host bridge: Broadcom CSB5 South Bridge (rev 93)
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4, sworks-agp
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
Kernel driver in use: Serverworks_IDE
Kernel modules: serverworks
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:0f.3 ISA bridge: Broadcom CSB5 LPC bridge
00:11.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
Kernel modules: sworks-agp
00:11.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
Kernel modules: sworks-agp
01:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
Kernel driver in use: mptspi
Kernel modules: mptspi
02:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02)
Kernel driver in use: tg3
Kernel modules: tg3
02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02)
Kernel driver in use: tg3
Kernel modules: tg3
02:03.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Kernel driver in use: e1000
Kernel modules: e1000
02:03.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Kernel driver in use: e1000
Kernel modules: e1000
Kod: Zaznacz cały
ifconfig -a
eth0 Link encap:Ethernet HWaddr :0d:60:1c:5c:88
inet addr:89.17.xxx.xxx Bcast:89.17.xxx.255 Mask:255.255.255.0
inet6 addr: fe80::20d:60ff:fe1c:5c88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5904432 errors:0 dropped:0 overruns:0 frame:0
TX packets:3848733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1918385881 (1.7 GiB) TX bytes:1113261735 (1.0 GiB)
Interrupt:24
eth1 Link encap:Ethernet HWaddr 00:0d:60:1c:5c:89
inet addr:83.18.xxx.xxx Bcast:83.18.xxx.207 Mask:255.255.255.248
inet6 addr: fe80::20d:60ff:fe1c:5c89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:782720 errors:0 dropped:0 overruns:0 frame:0
TX packets:483104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1021951457 (974.6 MiB) TX bytes:62371999 (59.4 MiB)
Interrupt:25
eth2 Link encap:Ethernet HWaddr 00:11:0a:61:5b:ca
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:aff:fe61:5bca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4050072 errors:0 dropped:0 overruns:0 frame:0
TX packets:5552869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1137117211 (1.0 GiB) TX bytes:2178787698 (2.0 GiB)
eth2:0 Link encap:Ethernet HWaddr 00:11:0a:61:5b:ca
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth2:1 Link encap:Ethernet HWaddr 00:11:0a:61:5b:ca
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth3 Link encap:Ethernet HWaddr 00:11:0a:61:5b:cb
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::211:aff:fe61:5bcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:539402 errors:0 dropped:0 overruns:0 frame:0
TX packets:798688 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:69364773 (66.1 MiB) TX bytes:1024910935 (977.4 MiB)
eth3:0 Link encap:Ethernet HWaddr 00:11:0a:61:5b:cb
inet addr:192.168.4.1 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:653 errors:0 dropped:0 overruns:0 frame:0
TX packets:653 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41246 (40.2 KiB) TX bytes:41246 (40.2 KiB)
Kod: Zaznacz cały
cat /etc/network/interfaces
auto eth0
auto eth1
auto eth2
auto eth2:0
auto eth2:1
auto eth3
auto eth3:0
auto lo
allow-hotplug eth0
allow-hotplug eth1
allow-hotplug eth2
allow-hotplug eth3
iface eth0 inet static
address 89.17.xxx.xxx
netmask 255.255.255.0
iface eth1 inet static
address 83.18.xxx.xxx
netmask 255.255.255.248
iface eth2 inet static
address 192.168.0.1
netmask 255.255.255.0
iface eth2:0 inet static
address 192.168.1.1
netmask 255.255.255.0
iface eth2:1 inet static
address 192.168.2.1
netmask 255.255.255.0
iface eth3 inet static
address 192.168.3.1
netmask 255.255.255.0
iface eth3:0 inet static
address 192.168.4.1
netmask 255.255.255.0
iface lo inet loopback
Kod: Zaznacz cały
cat /etc/resolv.conf
nameserver 89.17.xxx.xxx
nameserver 194.204.159.1
Kod: Zaznacz cały
$ ip rule
0: from all lookup local
200: from 89.17.xxx.0/24 iff eth0 lookup T1
200: from 83.18.xxx.200/29 iff eth1 lookup T2
500: from 192.168.0.0/24 iif eth2 lookup T1
500: from 192.168.1.0/24 iif eth2 lookup T1
500: from 192.168.2.0/24 iif eth2 lookup T2
500: from 192.168.3.0/24 iif eth3 lookup T1
500: from 192.168.4.0/24 iif eth3 lookup T3
1000: from all lookup main
1000: from all lookup default
Kod: Zaznacz cały
ip route
83.18.xxx.200/29 dev eth1 proto kernel scope link src 83.18.xxx.xxx
192.168.4.0/24 dev eth3 proto kernel scope link src 192.168.4.1
192.168.3.0/24 dev eth3 proto kernel scope link src 192.168.3.1
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1
192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.1
192.168.0.0/24 dev eth2 proto kernel scope link src 192.168.0.1
89.17.xxx.0/24 dev eth0 proto kernel scope link src 89.17.xxx.xxx
default via 89.17.xxx.xxx dev eth0 src 89.17.xxx.xxx
Pozdrawiam,
Piotrek