Re: arp problems with 2.1.21

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Thu, 16 Jan 1997 17:39:17 +0300


In article <Pine.LNX.3.91.970115213018.480A-100000@chaos.analogic.com> you wrote:
: On Thu, 16 Jan 1997, Richard Gooch wrote:

...
: memset(UCP &arp.arp_netmask.sa_data[2], UCR 0xff, 0x03); /* 255.255.255.0 */
...
: Jan 15 21:06:15 quark pppd_cache[84]: ARP address added: 204.178.47.17
: Jan 15 21:06:15 quark pppd_cache[84]: (arp_update.c) ioctl(SIOCSARP)
: Invalid argument
: Jan 15 21:06:18 quark pppd_cache[84]: ARP address added: 204.178.47.17
: Jan 15 21:06:18 quark pppd_cache[84]: (arp_update.c) ioctl(SIOCSARP) Invalid argument

You specified netmask 255.255.255.0 and prefix 204.178.47.17,
that is wrong.

Apparently, you wanted to pass either address 204.178.47.0 or
mask 255.255.255.255, did not it?

Alexey Kuznetsov.