All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] ip conflict with proxy arp
@ 2002-10-29  6:52 Rohan Almeida
  2002-10-29 17:33 ` Evgeni Gechev
  0 siblings, 1 reply; 2+ messages in thread
From: Rohan Almeida @ 2002-10-29  6:52 UTC (permalink / raw)
  To: lartc


HI,
I've got a proxy arp setup with iptables and tc.
 
on eth0 i have a route to 172.16.2.0/24 network
on eth1 is the LAN of 172.16.1.0/24 network
 
I have enabled proxy arp on both interfaces.
Now accordingly, the interface will respond
to all ARP requests for which it has a route to.
 
Noy my setup is such, that a user on the LAN,
would like to have an ip from the 172.16.2.0/24 network.
 
But unfortunately, when he tries to allocate an
ip like 172.16.2.1 he gets an ip conflict.
 
I also know why he is getting it!
But is there any way out of this??
 
Something like, tell the linux server to respond for
ARP requests for the 172.16.2.0/24 network but at the
same time if a machine is trying to use an ip for itself,
then it should not respond.
 
Help!
 
--
arc_of_descent
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] ip conflict with proxy arp
  2002-10-29  6:52 [LARTC] ip conflict with proxy arp Rohan Almeida
@ 2002-10-29 17:33 ` Evgeni Gechev
  0 siblings, 0 replies; 2+ messages in thread
From: Evgeni Gechev @ 2002-10-29 17:33 UTC (permalink / raw)
  To: lartc

Rohan Almeida wrote:

> HI,
> I've got a proxy arp setup with iptables and tc.
>
> on eth0 i have a route to 172.16.2.0/24 network
> on eth1 is the LAN of 172.16.1.0/24 network
>
> I have enabled proxy arp on both interfaces.
> Now accordingly, the interface will respond
> to all ARP requests for which it has a route to.
>
> Noy my setup is such, that a user on the LAN,
> would like to have an ip from the 172.16.2.0/24 network.
>
> But unfortunately, when he tries to allocate an
> ip like 172.16.2.1 he gets an ip conflict.
>
> I also know why he is getting it!
> But is there any way out of this??
>
> Something like, tell the linux server to respond for
> ARP requests for the 172.16.2.0/24 network but at the
> same time if a machine is trying to use an ip for itself,
> then it should not respond.
>
> Help!
>
> --
> arc_of_descent
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Just add a route to 172.16.2.1/32 on eth1.
But you should add such route not only for escaping the ip conflict.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-29 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29  6:52 [LARTC] ip conflict with proxy arp Rohan Almeida
2002-10-29 17:33 ` Evgeni Gechev

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.