家电维修班,手机维修班,电脑维修班,电工班,焊工班,液晶电视维修班,电动工具维修班、电动车摩托车维修班、网络营销培训、网站设计培训、淘宝培训---全国招生 家电维修班,手机维修班,电脑维修班,电工班,焊工班,液晶电视维修班,电动工具维修班、电动车摩托车维修班、网络营销培训、网站设计培训、淘宝培训---全国招生
阳光电影院· 地区招生平台· 知识库 · 维修资料查询 ·您想咨询招生情况,请联系我啊·您想咨询招生情况,请联系我啊·
当前位置:湖南阳光电子技术学校文章资讯电脑维修技术

湖南阳光电子技术学校 简介

学校地址:湖南省 长沙市 雨花区 车站南路红花坡路口
来校路线:长沙火车站售票厅后坪,乘135路公交车到“红花坡站”,即到.
学校电话:0731-85579057,0731-85569651
免费电话:0731-85579057
值班手机:(0)13807313137 杨老师
开课时间:我校常年面向全国招生,月月开班。每月1号,16号开学。
招生范围:凡年满15岁的公民,不限年龄,性别,地区。都欢迎来我校学习。
食宿问题:学校免费住宿,免费提供床上用品。食堂就餐,费用自理,约12元/天。
学校官网:www.hnygpx.net www.410014.com
专业介绍:欢迎查看我校专业课程!
收费标准:欢迎查看我校收费标准!
在线 Q Q:您想咨询招生情况,请联系我啊·您想咨询招生情况,请联系我啊
网上报名:欢迎您报读湖南阳光电子学校!


Linux多网卡同IP段解决

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2011-06-02 20:35:40

  linux/Documentation/networking/ip-sysctl.txt :

  arp_filter - BOOLEAN

  1 - Allows you to have multiple network interfaces on the same

  subnet, and have the ARPs for each interface be answered

  based on whether or not the kernel would route a packet from

  the ARP'd IP out that interface (therefore you must use source

  based routing for this to work). In other words it allows control

  of which cards (usually 1) will respond to an arp request.

  0 - (default) The kernel can respond to arp requests with addresses

  from other interfaces. This may seem wrong but it usually makes

  sense, because it increases the chance of successful communication.

  IP addresses are owned by the complete host on Linux, not by

  particular interfaces. Only for more complex setups like load-

  balancing, does this behaviour cause problems.

  arp_filter for the interface will be enabled if at least one of

  conf/{all,interface}/arp_filter is set to TRUE,

  it will be disabled otherwise

  arp_announce - INTEGER

  Define different restriction levels for announcing the local

  source IP address from IP packets in ARP requests sent on

  interface:

  0 - (default) Use any local address, configured on any interface

  1 - Try to avoid local addresses that are not in the target's

  subnet for this interface. This mode is useful when target

  hosts reachable via this interface require the source IP

  address in ARP requests to be part of their logical network

  configured on the receiving interface. When we generate the

  request we will check all our subnets that include the

  target IP and will preserve the source address if it is from

  such subnet. If there is no such subnet we select source

  address according to the rules for level 2.

  2 - Always use the best local address for this target.

  In this mode we ignore the source address in the IP packet

  and try to select local address that we prefer for talks with

  the target host. Such local address is selected by looking

  for primary IP addresses on all our subnets on the outgoing

  interface that include the target IP address. If no suitable

  local address is found we select the first local address

  we have on the outgoing interface or on all other interfaces,

  with the hope we will receive reply for our request and

  even sometimes no matter the source IP address we announce.

  The max value from conf/{all,interface}/arp_announce is used.

  Increasing the restriction level gives more chance for

  receiving answer from the resolved target while decreasing

  the level announces more valid sender's information.

  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}

  解决

  echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce

  echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore

  or

  echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter

Tags:Linux 多网卡同 IP 段解决

作者:佚名

网页说明

    Linux多网卡同IP段解决这条信息,为您提供了中国 新 全的Linux多网卡同IP段解决信息,欢迎您免费查看Linux多网卡同IP段解决信息。如果您对Linux多网卡同IP段解决这条消息有好的意见建议请联系我们,让我们一起进步!
  • 热门关键词:CPU(355)  维修(198)  彩电(172)  故障(143)  招生(110)  职业中专(105)  技工学校(104)  电脑(98)  机芯(93)  开县(91)  学校(88)  手机(87)  BIOS(68)  首选(65)  培训(65)  笔记本(60)  云阳(58)  学主板维修哪里 好(50)  学电脑硬件哪里 好(50)  检修(50)  Windows(46)  MTK(43)  Vista(42)  海尔(42)  东芝(40)  主板(39)  win7(38)  三极管(38)  TCL(37)  模式(37)  硬盘(36)  三星(35)  液晶电视(35)  工厂(33)  Linux(32)  技术(32)  XP(30)  北京(30)  电子元件(30)  彩色(29)