In article <(E-Mail Removed)>, Dmytro Bablinyuk wrote:
> The linux box shall respond to ARP requests for a specified subnet and
> accept an IP packets for that subnet though the box itself can reside
> in another subnet.
> For example:
> The box has IP 172.25.206.4, the mask is 255.255.255.0
> The box shall responds to ARP requests for subnet 172.25.207.* and
> accept any IP packets for that subnet ie IP packets sent to the
> 172.25.207.2 etc. These packets will be proceed further by a user
> space application.
You need to make sure IP forwarding is turned on, so that the packets will
get forwarded. I believe turning on proxy_arp will handle the arp requests.
My understanding of how this works is that if proxy_arp is set for an
interface it will respond to arp requests received by that interface for IP
addresses that are directly attached (using netmask information) to any other
interfaces on the host. I usually turn this on for all interfaces when I use
it, so I may not have the precise semantics correct.
>
> Could anybody please suggest a best techniques that can be used for
> that task.
> I have looked at the netfilters hooks in the kernel, is this the right
> direction?
> Can anybody please reference to the software, which does the similar
> thing.
>
> Thank you very much for any help
|