Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262223

Re: Does the debian kernel sends the gratuitous arp ?

From Jeffrey Walton <noloader@gmail.com>
Newsgroups linux.debian.user
Subject Re: Does the debian kernel sends the gratuitous arp ?
Date 2023-10-07 18:00 +0200
Message-ID <HmhSF-ebUm-7@gated-at.bofh.it> (permalink)
References <HlShz-dWb7-5@gated-at.bofh.it> <Hm0yt-e15d-1@gated-at.bofh.it> <Hm8cF-e5Ky-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 7, 2023 at 1:38 AM <tomas@tuxteam.de> wrote:
>
> On Fri, Oct 06, 2023 at 05:20:22PM -0400, Jeffrey Walton wrote:
> > On Fri, Oct 6, 2023 at 2:04 PM Balaji G <gbalajieie@gmail.com> wrote:
> > >
> > > Hi,
> > >     I am using "Debian GNU/Linux 11 (bullseye)" with kernel version 5.16.12.
> > > When i do a link up/down i don't see any Gratuitous ARP being sent.
> > >
> > > # echo 1 > /proc/sys/net/ipv4/conf/eno5np0/arp_notify
> > > # ip link set down dev eno5np0
> > > # ip link set up dev eno5np0
> > >
> > > Captured all the packets via tcpdump & the tcpdump is not showing any Gratuitous ARP packets.
> > >
> > > But, with the same commands i could see the Gratuitous ARP being sent in Red hat.9.0 (Plow).
> > > So, please let me know if this is a specific scenario in Debian 11 ??
> >
> > I think that's now Poettering:
> > https://github.com/systemd/systemd/blob/main/src/libsystemd-network/sd-ipv4acd.c#L302
>
> As  Geert says, probably it needs an ip address to be able to send
> an ARP. Perhaps the Redhat box has one set by default?

OP asked if this was specific to Red Hat. The answer is No, it is
baked into Systemd nowadays.

> What does "ip addr show dev xxxx" say?

I have no idea.

Jeff

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Does the debian kernel sends the gratuitous arp ? Balaji G <gbalajieie@gmail.com> - 2023-10-06 14:40 +0200
  Re: Does the debian kernel sends the gratuitous arp ? Geert Stappers <stappers@stappers.nl> - 2023-10-06 21:20 +0200
    Re: Does the debian kernel sends the gratuitous arp ? Geert Stappers <stappers@debian.org> - 2023-10-08 11:20 +0200
      Re: Does the debian kernel sends the gratuitous arp ? debian-user@howorth.org.uk - 2023-10-08 19:30 +0200
  Re: Does the debian kernel sends the gratuitous arp ? Jeffrey Walton <noloader@gmail.com> - 2023-10-06 23:30 +0200
    Re: Does the debian kernel sends the gratuitous arp ? <tomas@tuxteam.de> - 2023-10-07 07:40 +0200
      Re: Does the debian kernel sends the gratuitous arp ? Jeffrey Walton <noloader@gmail.com> - 2023-10-07 18:00 +0200
    Re: Does the debian kernel sends the gratuitous arp ? Balaji G <gbalajieie@gmail.com> - 2023-10-08 08:10 +0200
      Re: Does the debian kernel sends the gratuitous arp ? Geert Stappers <stappers@debian.org> - 2023-10-08 11:00 +0200
        Re: Does the debian kernel sends the gratuitous arp ? Jeffrey Walton <noloader@gmail.com> - 2023-10-08 17:30 +0200
          Re: Does the debian kernel sends the gratuitous arp ? Balaji G <gbalajieie@gmail.com> - 2023-10-09 17:30 +0200
            Re: Does the debian kernel sends the gratuitous arp ? Geert Stappers <stappers@debian.org> - 2023-10-09 22:30 +0200
              Re: Does the debian kernel sends the gratuitous arp ? Geert Stappers <stappers@stappers.nl> - 2023-10-11 22:20 +0200
            Re: Does the debian kernel sends the gratuitous arp ? Balaji G <gbalajieie@gmail.com> - 2023-10-10 06:10 +0200

csiph-web