All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhuyj <zyjzyj2000@gmail.com>
To: "Conchúr Navid" <conchur@web.de>, netdev@vger.kernel.org
Subject: Re: Aw: IP-Packets over wrong Ethernet device
Date: Thu, 03 Jul 2014 13:39:39 +0800	[thread overview]
Message-ID: <53B4EC9B.70503@gmail.com> (raw)
In-Reply-To: <trinity-e658ef1e-b2fd-4ed2-8b80-4056c6fb2901-1403252543405@3capp-webde-bs53>

On 06/20/2014 04:22 PM, "Conchúr Navid" wrote:
>> A dump on the management network ethernet interface (192.168.1.x/24) shows me that there was really an ARP request of the sender for 192.168.200.x/24 on this interface which was replied by the receiver on that interface. Is there a way to disable this reply on the "wrong" interface without using ARP-tables?
> This is done by setting arp_ignore to 2 in sysctl (for the correct interfaces):
>
> sysctl -a|grep arp_ignore
> sysctl -w net.ipv4.conf.eth5.arp_ignore=2
This is explained in Linux Network Internal, 28.5.2.2. ARP_IGNORE

2  Like 1, but the source IP (sender's address) must belong to the same 
subnet as the target IP.

Zhu Yanjun
> Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

      reply	other threads:[~2014-07-03  5:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20  8:05 IP-Packets over wrong Ethernet device "Conchúr Navid"
2014-06-20  8:22 ` Aw: " "Conchúr Navid"
2014-07-03  5:39   ` zhuyj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53B4EC9B.70503@gmail.com \
    --to=zyjzyj2000@gmail.com \
    --cc=conchur@web.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.