Re: [2.4 PATCH] bugfix: ARP respond on all devices

From: David S. Miller (davem_at_redhat.com)
Date: 08/20/03

  • Next message: Stephan von Krawczynski: "Re: [2.4 PATCH] bugfix: ARP respond on all devices"
    Date:	Wed, 20 Aug 2003 08:38:22 -0700
    To: Stephan von Krawczynski <skraw@ithnet.com>
    
    

    On Wed, 20 Aug 2003 17:41:33 +0200
    Stephan von Krawczynski <skraw@ithnet.com> wrote:

    > Aehm, sorry but the logic is bogus. A routed packet will be sent out this
    > interface with a foreign IP as source, too.

    I'm talking about "local" addresses.

    When we're routing, we'll use an interface address of
    course.

    But when the packet is originating from our host, and
    the source address in the outgoing packet is local to
    us, we will use it as the source in the ARP packet.

    Look at the algorithm in net/ipv4/arp_solicit() to see
    what I mean.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Stephan von Krawczynski: "Re: [2.4 PATCH] bugfix: ARP respond on all devices"

    Relevant Pages

    • intervlan routing and policy routing C3750 or C 4948
      ... routing) and for some vlans i need different gateways. ... interface Vlan10 ... route-map, 2) routing table. ... the packet will be routed according to the routing table (standard IOS ...
      (comp.dcom.sys.cisco)
    • Re: NAT implementation in an IM driver
      ... and then deliver the packet to the IP stack. ... The IP routing from TCP/IP ... Internet providers) Windows will route the packet only on one interface, ...
      (microsoft.public.development.device.drivers)
    • Re: [2.4 PATCH] bugfix: ARP respond on all devices
      ... > Andi, we take the source address from the packet we are ... > trying to send out that interface. ... > Just as it is going to be legal to send out a packet from ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Stack virtualization (was: running out of mbufs?)
      ... > interface lists after all, just as you stated yourself at the beginning ... I thinking more along the lines of OpenBSD's interface groups. ... For example I want to have multiple routing tables within the same ... An incoming packet on interface em0 with group priority ...
      (freebsd-net)
    • Re: [2.4 PATCH] bugfix: ARP respond on all devices
      ... I must admit I don't have a strong ... trying to send out that interface. ... Just as it is going to be legal to send out a packet from ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)