Re: Tie UDP reply to incoming interface
- From: pk <pk@xxxxxxxxxx>
- Date: Wed, 16 Sep 2009 12:17:10 +0100
David Schwartz wrote:
Suppose a machine has IP addresses 192.168.1.10/24 and
192.168.2.10/24. If I'm on 192.168.1.3 and I connect to 192.168.2.10
(assuming I know a route), the packet may be received by that machine
on the interface in the 192.168.1.0/24 network.
Even if I don't know the route, if I send my packet to my default
router, say 192.168.1.1, it may know that 192.168.2.10 and
192.168.1.10 are the same machine, so it will send the packet to
192.168.2.10 to the interface assigned 192.168.1.20 since it has a
direct path to that interface.
Last time: that is NOT the case for me. My interfaces are in DIFFERENT IP
Since no such packet will ever come in, it doesn't matter how you
handle such a packet. So your proposal and my proposal will do the
same thing, except mine is logical and yours is not. So you should
prefer my solution, because it doesn't break if your topology changes.
Erm, and your solution would be?
- Prev by Date: Re: Tie UDP reply to incoming interface
- Next by Date: Re: Tie UDP reply to incoming interface
- Previous by thread: Re: Tie UDP reply to incoming interface
- Next by thread: Re: Tie UDP reply to incoming interface