lkml.org 
[lkml]   [1999]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: arp netmask
    Of course I did enable with 
    "echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp" :-) check my original
    message.
    I'm talking about NETMASK proxy arp, not enable-disable.
    And the question still remains:
    Why not netmasks ????

    It used to work in 2.0.x but in 2.2.x arp.c:

    int arp_req_set(struct arpreq *r, struct device * dev)

    [.cut text.]

    u32 mask = ((struct sockaddr_in *) &r->arp_netmask)->sin_addr.s_addr;
    if (mask && mask != 0xFFFFFFFF)
    return -EINVAL;

    Which means DO NOT ALLOW setting of proxy-arp NETMASKS, and this is the
    error you get from arp: INVALID....

    _WHY_ ???

    Bye, Nir.

    On Sun, 13 Jun 1999, David S. Miller wrote:

    > Date: Sun, 13 Jun 1999 13:06:33 +0300 (IDDT)
    > From: Nir Yeffet <nir@inbalsoft.com>
    >
    > I found. there's no netmask in neighbour.c. kernel is not doing
    > proxy arp netmask anymore. WHY ????????
    >
    > Have you turned on the proxy_arp sysctl for your devices which you
    > want to do proxy-arp'ing? ie.
    >
    > bash# echo "1" >/proc/sys/net/ipv4/conf/eth0/proxy_arp
    >
    > Later,
    > David S. Miller
    > davem@redhat.com
    >



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

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:3.727 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site