Re: new networking code, ipv4/arp.c and net/core/neighbour.c
Sat, 25 Jul 1998 17:19:26 +0400 (MSK DST)


> but the HW
> address is reported as 00:00:00:00:00:00. (perhaps this is ok, since it
> says that the device is eth0, and the kernel will understand that it
> should use eth0's MAC address. (i did submit the HWaddr in my ioctl
> struct), as well as the ATF_PUBL | ATF_PERL | ATF_COM flags.

Yes, it is always the case. For proxy entries hw addr is undefined
i.e. it is always mac address of interface on which proxy arp reply
is sent.

> addr_type == 7 (should be 1, 7 means RTN_UNREACHABLE)

You should have some route to make proxy arp.

> is it possible to replace the code with the old arp code,

If you have no route proxy arp will not work in 2.0 with the same success 8)

> and still use the traffic shaper ?.

Beware: "echo 1 > /proc/sys/net/ipv4/conf/*/proxy_arp" will work,
but it is dangerous with shaper. If shaper is attached to device,
on which proxy arp is enabled, both router and target host
(routed via shaper) will answer arp.

"arp" utility is more safe in this case, btw I think
your one does not work, becuase it is outdated.

Also, you could use cbq instead.

Alexey Kuznetsov

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at