|
楼主 |
发表于 2007-4-13 14:14:54
|
显示全部楼层
仔细看了 Ip-sysctl,试验了几个参数。
可以不需要关闭、启动网卡了(稍后我会增加一个action。或者干脆取消 noarp 标志的设置。)。
不过还是没弄明白为什么arp_ignore的某些值会不起作用。
arp_ignore
INTEGER
Define different modes for sending replies in response to received ARP requests that resolve local target IP addresses:
0
(default): reply for any local target IP address, configured on any interface
1
reply only if the target IP address is local address configured on the incoming interface
2
reply only if the target IP address is local address configured on the incoming interface and both with the sender's IP address are part from same subnet on this interface
3
do not reply for local addresses configured with scope host, only resolutions for global and link addresses are replied
4-7
reserved
8 do not reply for all local addresses The max value from conf/{all,interface}/arp_ignore is used when ARP request is received on the {interface}
[ 本帖最后由 DreamCat 于 2007-4-13 14:17 编辑 ] |
|