From: "Brad Kemp" <bkemp@ucentric.com>
To: "Rajesh B. V." <rajeshbv@intoto.com>, linux-mips@linux-mips.org
Cc: rajeshbv@intoto.com
Subject: RE: Problem with ARP response
Date: Wed, 15 Sep 2004 10:45:15 -0400 [thread overview]
Message-ID: <4139C8B50000007D@messageii.ucentric.com> (raw)
In-Reply-To: <5.1.0.14.0.20040915103551.03b2ec90@172.16.1.10>
>-- Original Message --
>Date: Wed, 15 Sep 2004 10:45:06 +0530
>To: linux-mips@linux-mips.org
>From: "Rajesh B. V." <rajeshbv@intoto.com>
>Subject: Problem with ARP response
>Cc: rajeshbv@intoto.com
>
>
>Hi All,
>
>I have a network setup where both the LAN interface (eth0) and WAN
>interface (eth1) of a Router running Linux will be put into same Switch.
>The setup is :
>LAN network is : 192.168.1.0/24 ( Router LAN interface IP is
>192.168.1.1/24 with xx:01 as MAC)
>Router WAN interface IP is a static public IP with xx:02 as MAC.
>
>Now when a PC from the LAN networks tries to reach (ping) LAN interface
>(eth0) of Router i observe vague ARP entry in the PC for the IP.
>I see some times WAN interface (eth1) MAC as the ARP entry in PC and some
>
>times LAN interface (eth0) MAC as the ARP entry in the PC.
>For every ARP request i see two responses one with WAN interface MAC and
>
>one with LAN interface MAC.
>
>I observed this is happening because, both the interfaces are receiving
the
>
>ARP broadcast request from the PC and sending up the stack to ARP module
>
>and which responds with the corresponding interface MAC upon which it
>received the packet.
>
>My requirement is to make ARP module not to respond for the packet received
>
>on WAN interface (eth1) with requested IP as LAN interface (eth0) IP.
>
>Will the arp_filter () in net/ipv4/arp.c can do this ?
>Also is there any draw back by doing so ?
>
>Regards,
>--Rajesh
>
>
If you disable the arp response from eth1, no traffic will go to it. Is this
really what you want to do?
You might want to look in to 802.1q VLAN tagging if you want to run to logical
networks on one physical network
Brad
WARNING: multiple messages have this Message-ID (diff)
From: "Brad Kemp" <bkemp@ucentric.com>
To: "Rajesh B. V." <rajeshbv@intoto.com>, linux-mips@linux-mips.org
Subject: RE: Problem with ARP response
Date: Wed, 15 Sep 2004 10:45:15 -0400 [thread overview]
Message-ID: <4139C8B50000007D@messageii.ucentric.com> (raw)
Message-ID: <20040915144515.RaBHuxYNSMazklBx4aUUzhYvDKIix1zPJ7YjSNp4OTs@z> (raw)
In-Reply-To: <5.1.0.14.0.20040915103551.03b2ec90@172.16.1.10>
>-- Original Message --
>Date: Wed, 15 Sep 2004 10:45:06 +0530
>To: linux-mips@linux-mips.org
>From: "Rajesh B. V." <rajeshbv@intoto.com>
>Subject: Problem with ARP response
>Cc: rajeshbv@intoto.com
>
>
>Hi All,
>
>I have a network setup where both the LAN interface (eth0) and WAN
>interface (eth1) of a Router running Linux will be put into same Switch.
>The setup is :
>LAN network is : 192.168.1.0/24 ( Router LAN interface IP is
>192.168.1.1/24 with xx:01 as MAC)
>Router WAN interface IP is a static public IP with xx:02 as MAC.
>
>Now when a PC from the LAN networks tries to reach (ping) LAN interface
>(eth0) of Router i observe vague ARP entry in the PC for the IP.
>I see some times WAN interface (eth1) MAC as the ARP entry in PC and some
>
>times LAN interface (eth0) MAC as the ARP entry in the PC.
>For every ARP request i see two responses one with WAN interface MAC and
>
>one with LAN interface MAC.
>
>I observed this is happening because, both the interfaces are receiving
the
>
>ARP broadcast request from the PC and sending up the stack to ARP module
>
>and which responds with the corresponding interface MAC upon which it
>received the packet.
>
>My requirement is to make ARP module not to respond for the packet received
>
>on WAN interface (eth1) with requested IP as LAN interface (eth0) IP.
>
>Will the arp_filter () in net/ipv4/arp.c can do this ?
>Also is there any draw back by doing so ?
>
>Regards,
>--Rajesh
>
>
If you disable the arp response from eth1, no traffic will go to it. Is this
really what you want to do?
You might want to look in to 802.1q VLAN tagging if you want to run to logical
networks on one physical network
Brad
next prev parent reply other threads:[~2004-09-15 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-15 5:15 Problem with ARP response Rajesh B. V.
2004-09-15 14:45 ` Brad Kemp [this message]
2004-09-15 14:45 ` Brad Kemp
2004-09-15 16:19 ` Rajesh B. V.
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=4139C8B50000007D@messageii.ucentric.com \
--to=bkemp@ucentric.com \
--cc=linux-mips@linux-mips.org \
--cc=rajeshbv@intoto.com \
/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.