Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: ARP cache table never deletes any item (openSuSE 13.1)

  1. #1

    Default ARP cache table never deletes any item (openSuSE 13.1)

    After upgrade into openSuSE 13.1 (zypper dup) the arp cache stops cleaning. In the table stay dead items, every with MAC adress even the assigned machines are switched off for many days.

    After command "ip -s -s neigh flush all" dead items have been changed only to "(incomplete) HWaddress" but stay in arp cache table for ever.

    Before 13.1 dead items has been regularly and automatically changed into "(incomplete)" and then disappeared from arp chache table.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,681
    Blog Entries
    3

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    I just checked.

    There's an entry in my arp cache, for a WiFi connected computer that has been powered off for two days.

    On the other hand, there is no entry for an ethernet computer that I used yesterday, but is now powered off.

    I have no idea whether the WiFi vs. ethernet makes a difference.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    I found that either "ifconfig <interface> down/up" or "systemctl restart network" cleans arp cache for interface (all interfaces in case of restart). The same result as "ifconfig eth0 down" and "ifconfig eth0 up" has unplug and plug cable (or switch restart). Maybe that was one of them as reason for cleaning the ethernet entry(ies).

    Has "Wifi entry" defined HWadress (MAC) or there is "(incomplete)" string?

    That situation I have got on every machine starting with update from 12.3 to 13.1, arp cache regularly cleans only last one, where still stays openSuSE 12.3

  4. #4

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    Quote Originally Posted by krahulec View Post
    Has "Wifi entry" defined
    Does "Wifi entry" have ... of course


    sorry for my CZenglish

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,681
    Blog Entries
    3

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    Quote Originally Posted by krahulec View Post
    Has "Wifi entry" defined HWadress (MAC) or there is "(incomplete)" string?
    It still had the HWaddress at the time. Checking again, it now says incomplete.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  6. #6

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    All entries stay in the arp cache whole weekend even the machines are switched off from friday evening. And also under the new kernel 3.11.10-7.1 which I have installed during friday on every servers (several kernel_default on x86_64 machines and also one kernel_pae). Only last instalation with openSuSE 12.3 cleans the arp cache as needed.

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,681
    Blog Entries
    3

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    Quote Originally Posted by krahulec View Post
    All entries stay in the arp cache whole weekend even the machines are switched off from friday evening.
    I did another check. I am still seeing this.

    What I am not seeing, is any serious problem.

    I ping a system that has been down since yesterday. And, shortly thereafter, I see the arp entry change to "incomplete".

    It looks as if ping tried 10 times, then removed the arp data. The ping output gives destination unreachable from sequence 10 on.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  8. #8

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    If you ping the "dead" machine, the appropriate entry will change to "(incomplete)". But I know, that under the openSuSe 12.3 will be "(incomplete) entries" removed after a while. I have no idea about the process, which takes care about that and also I have no idea about timeouts for cleaning "(incomplete) entries" because till now I had no reason to be interested in that.

  9. #9
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,681
    Blog Entries
    3

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    Quote Originally Posted by krahulec View Post
    If you ping the "dead" machine, the appropriate entry will change to "(incomplete)". But I know, that under the openSuSe 12.3 will be "(incomplete) entries" removed after a while. I have no idea about the process, which takes care about that and also I have no idea about timeouts for cleaning "(incomplete) entries" because till now I had no reason to be interested in that.
    I'm not disagreeing that this is a change in behavior. Presumably, this is a change in kernel networking code.

    What I won't do, at present, is say that the new behavior is wrong. There's no easy way to decide that. The arp cache is, after all, a cache. If it is useful to keep old entries in the cache, then it is not wrong.

    Here's what really matters: suppose I shutdown a machine, and replace its ethernet card. When I power up the machine, will it be recognized by other systems on the LAN?

    I don't currently have a spare ethernet card sitting around to test that. The fact that an entry reverts to "incomplete" after a failed ping, suggest that this will work properly.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  10. #10

    Default Re: ARP cache table never deletes any item (openSuSE 13.1)

    Sorry, but I really do say, that behavior in openSuSE 13.1 is wrong. Because of DHCP server - for example: if HWadress never change to at least "(incomplete)", I think (but I can do mistakes) that the lease for certain IP adress will newer be released.

    And it has happened to me, that when I made ping to some switched off machine (whose the firewall did not block ICMP), nothing happened. No response, no "not response". Simply nothing. Only after command "ip -s -s neigh flush all" was HWadress changed to (incomplete) and with another ping I have got "Destination Host Unreachable" finally.

    This behavior is the reason, for my last server stays under openSuSE 12.3 - it serves like DHCP, DNS and PDC for Intranet and I don't care for any problems with angry users ...

    And once more sorry for my czenglish, I hope that my lamentation is at least this time a little bit understandable

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •