On 14 Apr 1999 [EMAIL PROTECTED] wrote:

> [root@host225 /root]# /sbin/arp -i eth0 -s 207.168.228.80 00:10:F3:01:11:1F netmask 
>255.255.255.192 pub
> SIOCSARP: Invalid argument

Yes... check this out (linux/net/ipv4/arp.c):

        if (r->arp_flags&ATF_PUBL) {
                u32 mask = ((struct sockaddr_in *) &r->arp_netmask)->sin_addr.s_
addr;
                if (mask && mask != 0xFFFFFFFF)
                        return -EINVAL;

i.e. public arp entries cannot have a netmask... sorry.

Taral

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to