When changing the interface hardware address, it also works: ip link set
eth0 addr XX:XX:XX:XX:XX:XX.

It also works when using virtio_net.

It has been tested with e1000e, where it fails when setting the
interface up.

When changing the address, __dev_xmit_skb will call sch_direct_xmit and
the packet will reach the network. When setting the interface up,
__dev_xmit_skb will call dev_qdisc_enqueue and the packet will not reach
the network. Interface tx_packets stats will also not change. This
indicates a possible issue with the qdisc code when the interface has
just been setup. Notice that the code is called from the NETDEV_UP
notifier.

Cascardo.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1989187

Title:
  5.4: Setting net.ipv4.conf.<interface>.arp_notify=1 does not generate
  gratuitous ARPs

Status in linux package in Ubuntu:
  New

Bug description:
  Expected behaviour:

  The kernel should send out a gratuitous ARP on the interface when the
  following commands are executed:

  $ sudo sysctl -w net.ipv4.conf.eth0.arp_notify=1
  net.ipv4.conf.eth0.arp_notify = 1
  $ sudo ip link set dev eth0 down
  $ sudo ip link set dev eth0 up

  Result:

  The gratuitous ARP packet is generated inside the kernel
  (inetdev_send_gratuitous_arp() is called) but the packet is never sent
  out on the interface. Generating gratuitous ARP packets with "arping"
  works however.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1989187/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to