linux双网卡同网段路由问题解决方法
2012-01-11 11:07
579 查看
Multiple Interfaces on Same Ethernet Broadcast Network
------------------------------------------------------
Due to the default ARP behavior on Linux, it is not possible to have
one system on two IP networks in the same Ethernet broadcast domain
(non-partitioned switch) behave as expected. All Ethernet interfaces
will respond to IP traffic for any IP address assigned to the system.
This results in unbalanced receive traffic.
If you have multiple interfaces in a server, either turn on ARP
filtering by entering:
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
(this only works if your kernel's version is higher than 2.4.5),
NOTE: This setting is not saved across reboots. The configuration
change can be made permanent by adding the line:
net.ipv4.conf.all.arp_filter = 1
to the file /etc/sysctl.conf
------------------------------------------------------
Due to the default ARP behavior on Linux, it is not possible to have
one system on two IP networks in the same Ethernet broadcast domain
(non-partitioned switch) behave as expected. All Ethernet interfaces
will respond to IP traffic for any IP address assigned to the system.
This results in unbalanced receive traffic.
If you have multiple interfaces in a server, either turn on ARP
filtering by entering:
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
(this only works if your kernel's version is higher than 2.4.5),
NOTE: This setting is not saved across reboots. The configuration
change can be made permanent by adding the line:
net.ipv4.conf.all.arp_filter = 1
to the file /etc/sysctl.conf
相关文章推荐
- linux下多网卡配置同网段IP的问题以及解决方法
- Linux下RTL8723BE无线网卡驱动问题解决方法
- Shell脚本实现动态配置IP与路由:解决嵌入式Android/Linux有线和无线网卡双网共存问题
- Red Hat Enterprise Linux 5 (RHEL5)中物理网卡被peth0占用无法联网的问题解决方法
- Linux多网卡上网问题解决方法
- LINUX路由功能解决两个网段互访问题
- Linux系统网卡配置详解以及—常见问题的解决方法以及—硬盘移植后网卡的配置
- Linux下RTL8723BE无线网卡驱动问题解决方法
- Linux下RTL8723BE无线网卡驱动问题解决方法(转载)
- Linux下软件源码包安装问题解决方法
- python在linux下使用多进程遇到3770问题解决方法
- Openwrt wr703n无法进入路由界面问题的解决方法
- wormhole-two 关于虫洞路由交换机制的两个问题和解决方法
- 阿里云linux下配置php服务器环境,及遇到的问题解决方法
- 在Linux安装Oracle后删除和上下键问题解决方法
- linux下tomcat部署get请求乱码问题解决方法
- VM 安装Linux虚拟服务器:环境搭建遇到:《Linux “ifconfig”看不到inet address》问题--解决土方法
- PC上linux开机显示kernel panic问题解决方法
- Linux执行.sh文件,提示No such file or directory的问题的解决方法
- Linux下将CD音乐提取为mp3的方法和中文乱码问题的解决