Re: arping confusion multi-homed private networks
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Tue, 19 Feb 2008 13:08:39 -0800 (PST)
On Feb 19, 12:16 pm, percy.m...@xxxxxxxxx wrote:
You are missing the point. The point is that you have two machines
with the same IP address connected to each other.
Two firewalls connect to each other on the public side (eth0) and both
happen to decide to use 192.168.1.1 on the private side (eth1) do not
cause this problem.
Right, that's because (we hope) they're properly configured to NAT/
hide the 192.168.1.x addresses. This configuration includes hiding its
own address.
It's not a problem with having the same IP address
on two machines, it has to do with not having full separation between
the different networks. I had thought that by not having forwarding
enabled, there was no need to concern myself with the arp tables.
Full separation requires something akin to NAT.
What would happen if one of the machines decided to contact the other
machine using, as a source address, an address the other machine also
had assigned to it?
Not gonna spontaneously decide to do so. Traffic to the private
network will be sent to that interface, using that interface's primary
address, because it fits the netmask. Same for the public side. The
arps would not be routed through. I figure with forwarding turn off,
there's no routing either. Except for arp, it seems.
This is one of those "fix everything that happens to break"
approaches. It's not a good idea, because you never know when
something else will decide to break. Fix it so that it isn't broken is
the correct approach.
Basic statement of my problem I guess: I assume that forwarding off
implies routing is off, so should behave much like having the firewall
at full-stop between the interfaces.
That's not the problem. The problem has nothing to do with routing.
The problem is that you have two machines with the same IP address
connected to each other. You need to properly configure NAT so that
the machine *cannot* source a packet with a source address onto a
network on which that source address is invalid.
*If* source address X is not valid on network Y, then packets with
source address X must not be sent on network Y. You can stop this with
firewalling, NAT, or some other method. But ARP is just a symptom of
the problem.
DS
.
- References:
- arping confusion multi-homed private networks
- From: percy . mike
- Re: arping confusion multi-homed private networks
- From: percy . mike
- Re: arping confusion multi-homed private networks
- From: David Schwartz
- Re: arping confusion multi-homed private networks
- From: percy . mike
- Re: arping confusion multi-homed private networks
- From: David Schwartz
- Re: arping confusion multi-homed private networks
- From: percy . mike
- arping confusion multi-homed private networks
- Prev by Date: Re: arping confusion multi-homed private networks
- Next by Date: Re: arping confusion multi-homed private networks
- Previous by thread: Re: arping confusion multi-homed private networks
- Next by thread: Re: arping confusion multi-homed private networks
- Index(es):
Relevant Pages
|