Re: Does the debian kernel sends the gratuitous arp ?

2023-10-09 Thread Balaji G
Hi Groeten,
The IP address is already assigned to this interface
device eno5np0.
Please find my reply mail below.


Thanks,
Balaji




On Mon, 9 Oct 2023 at 20:39, Balaji G  wrote:

> Hi Geert,
>
>  >>> During `ip link set down dev eno5np0` and `ip link set up dev eno5np0`
>
> >>>>> are NO IP-addresses involved.
>
> This interface eno5np0 is configured with the ip addresses(10.45.10.4 ).
>
> # ifconfig
>
> eno5np0: flags=4163  mtu 1500
> inet 10.45.10.4  netmask 255.255.255.0  broadcast 10.45.10.255
> ether 88:e9:a4:49:18:48  txqueuelen 1000  (Ethernet)
> RX packets 2967346895  bytes 4417546189260 (4.0 TiB)
> RX errors 0  dropped 1  overruns 0  frame 0
> TX packets 1634521866  bytes 2220475762246 (2.0 TiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
>
>
> Thanks,
>
> Balaji
>
>
>
> On Sun, 8 Oct 2023 at 20:58, Jeffrey Walton  wrote:
>
>> On Sun, Oct 8, 2023 at 4:58 AM Geert Stappers 
>> wrote:
>> >
>> > On Sun, Oct 08, 2023 at 11:21:10AM +0530, Balaji G wrote:
>> > > On Sat, 7 Oct 2023 at 02:50, Jeffrey Walton wrote:
>> > > > On Fri, Oct 6, 2023 at 2:04 PM Balaji G 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
>> > > >
>> > >
>> > > Do you mean this is a known issue & will be fixed in the future
>> releases ?
>> >
>> > Here not Jeff.  What I do understand from Jeff message is
>> > something like:  "I can bitch on systemd, so I do"
>> > Time will tell how much Jeff contributes in solving
>> > the interesting problem of the invisible gratuitous ARP.
>>
>> Nope, not that.
>>
>> I learned a long time ago to answer the question that was asked in the
>> body of the post.
>>
>> You're welcome to complain about Systemd all you like. You won't get
>> any complaints from me. It's not a discussion I will engage in.
>>
>> Jeff
>>
>


Re: Does the debian kernel sends the gratuitous arp ?

2023-10-09 Thread Balaji G
Hi Geert,

 >>> During `ip link set down dev eno5np0` and `ip link set up dev eno5np0`

>>>>> are NO IP-addresses involved.

This interface eno5np0 is configured with the ip addresses(10.45.10.4 ).

# ifconfig

eno5np0: flags=4163  mtu 1500
inet 10.45.10.4  netmask 255.255.255.0  broadcast 10.45.10.255
ether 88:e9:a4:49:18:48  txqueuelen 1000  (Ethernet)
RX packets 2967346895  bytes 4417546189260 (4.0 TiB)
RX errors 0  dropped 1  overruns 0  frame 0
TX packets 1634521866  bytes 2220475762246 (2.0 TiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



Thanks,

Balaji



On Sun, 8 Oct 2023 at 20:58, Jeffrey Walton  wrote:

> On Sun, Oct 8, 2023 at 4:58 AM Geert Stappers  wrote:
> >
> > On Sun, Oct 08, 2023 at 11:21:10AM +0530, Balaji G wrote:
> > > On Sat, 7 Oct 2023 at 02:50, Jeffrey Walton wrote:
> > > > On Fri, Oct 6, 2023 at 2:04 PM Balaji G 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
> > > >
> > >
> > > Do you mean this is a known issue & will be fixed in the future
> releases ?
> >
> > Here not Jeff.  What I do understand from Jeff message is
> > something like:  "I can bitch on systemd, so I do"
> > Time will tell how much Jeff contributes in solving
> > the interesting problem of the invisible gratuitous ARP.
>
> Nope, not that.
>
> I learned a long time ago to answer the question that was asked in the
> body of the post.
>
> You're welcome to complain about Systemd all you like. You won't get
> any complaints from me. It's not a discussion I will engage in.
>
> Jeff
>


Re: Does the debian kernel sends the gratuitous arp ?

2023-10-08 Thread Balaji G
Hi Jeff,
   Do you mean this is a known issue & will be fixed in the future
releases ?




Thanks,
Balaji

On Sat, 7 Oct 2023 at 02:50, Jeffrey Walton  wrote:

> On Fri, Oct 6, 2023 at 2:04 PM Balaji G  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
>
> Jeff
>


Does the debian kernel sends the gratuitous arp ?

2023-10-06 Thread Balaji G
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 ??

Thanks,
Balaji