Linux服务器虚拟以太网接口停止响应arp请求

我希望之前有人遇到过这个问题,因为这会让我发疯。 我有2500个Linuxembedded式Linux服务器。 我们部分使用这些服务器来充当专用networking上其他设备的网关。 该configuration包含一系列具有DNAT和SNAT规则的虚拟接口(不是vlans),以将请求传递到所述设备。

多年来,这工作得很好。 上周我们增加了大约25个虚拟接口和约50个iptables规则。 在这一点上,我们遇到了一个我们没有想到的问题。 我们的embedded式Linux服务器随机停止应答对主要以太网接口eth0configuration的IP虚拟IP地址的请求。 ARP请求未被回答,例如:

tcpdump -vvvnn arp -- *xxx23 is the virtual IP address and xxx16 is the router the request came from* tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 68 bytes 16:15:10.404513 arp who-has xxx23 tell xxx16 16:15:12.403592 arp who-has xxx23 tell xxx16 16:15:14.407617 arp who-has xxx23 tell xxx16 

xxx23被注册到的设备可以从Linux服务器ping,而IPtables条目看起来是正确的,但从来没有得到评估。

有谁知道在Linux中是否有某种缓冲区/caching可以限制针对单个以太网接口定义的接口数量? 现在我们每个Linux服务器大概有50个。

我们的防火墙configuration越来越大,但如果出现问题,我会期待操作系统错误。

我在dmesg或/ var / log / messages中看不到操作系统错误。

我们有不同的以太网硬件RLT8139和RDC6040的混合物。 2种不同的Linux,Debian 6和Puppy Linux 3(旧版本)。 两者都performance出同样的问题。

这几乎就像服务器不知道它有接口。 刷新防火墙规则似乎没有做任何事情。 当nat规则被禁用时,服务器应该回应ping,但不是。

我现在正在敲我的头。 这就是我们的界面。 知识产权被掩盖,以保护无辜的…….

 eth0 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx1 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1036673 errors:0 dropped:0 overruns:0 frame:0 TX packets:4606675 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:164871619 (157.2 MiB) TX bytes:354806888 (338.3 MiB) Interrupt:10 Base address:0xde00 eth0:1 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx3 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:10 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx13 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:14 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx14 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:15 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx15 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:16 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx16 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:17 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx17 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:18 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx18 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:19 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx19 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:2 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx11 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:20 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx20 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:21 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx21 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:22 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx22 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:23 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx23 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:24 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx24 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:25 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx25 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:26 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx26 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:27 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx27 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:3 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx12 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:33 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx33 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:34 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx34 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:39 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx39 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:4 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx4 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:40 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx40 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:41 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx41 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:42 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx42 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:43 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx43 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:44 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx44 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:45 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx45 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:46 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx46 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:47 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx47 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:48 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx48 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:49 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx49 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:5 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx5 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:50 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx50 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:51 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx51 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:52 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx52 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:53 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx53 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:54 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx54 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:55 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx55 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:56 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx56 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:57 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx57 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:58 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx58 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:59 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx59 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:6 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx6 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:7 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx7 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:8 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx8 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 eth0:9 Link encap:Ethernet HWaddr 00:1B:EB:43:24:05 inet addr:xxx9 Bcast:xxx63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:10 Base address:0xde00 

根据你的报告: xxx16eth0:16和路由器。

你掩盖了太多的东西吗?

无论如何,我会看/ proc / sys / net / ipv4 / conf / [all | default | eth0] / arp_ignorearp_announce

问候,