This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1986987

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
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/1986987

Title:
  network interface down/up removes local lookup table from routing
  policy db

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi, the IRC guys suggested to file a bug here with 'linux'.

  # cat /proc/version_signature
  Ubuntu 5.15.0-46.49-generic 5.15.39

  Description:    Ubuntu 22.04.1 LTS
  Release:        22.04

  
  I'm not able to attach the lspci output - but it's happening on various 
hardware flavors (intel i350 nic, mellanox connectx-6, xeon/epyc cpu's, etc) so 
it doesn't look hardware related. If you want to know something hardware 
specific let me know.

  
  $ ip rule show 
  100:    from all lookup local
  32766:  from all lookup main
  32767:  from all lookup default

  $ ping localhost -c3
  PING localhost (127.0.0.1) 56(84) bytes of data.
  64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.044 ms
  64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.050 ms
  64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.050 ms

  --- localhost ping statistics ---
  3 packets transmitted, 3 received, 0% packet loss, time 2040ms
  rtt min/avg/max/mdev = 0.044/0.048/0.050/0.003 ms

  $ ip link set dev eno1 down

  $ ip link set dev eno1 up

  $ ip rule show 
  32766:  from all lookup main
  32767:  from all lookup default
  ====> NO LOCAL 

  $ ping localhost -c3
  PING localhost (127.0.0.1) 56(84) bytes of data.

  --- localhost ping statistics ---
  3 packets transmitted, 0 received, 100% packet loss, time 2051ms

  $ ip rule add from all lookup local pref 100

  $ ip rule show 
  100:    from all lookup local
  32766:  from all lookup main
  32767:  from all lookup default

  $ ping localhost -c3
  PING localhost (127.0.0.1) 56(84) bytes of data.
  64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.066 ms
  64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.054 ms
  64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.050 ms

  --- localhost ping statistics ---
  3 packets transmitted, 3 received, 0% packet loss, time 2024ms
  rtt min/avg/max/mdev = 0.050/0.056/0.066/0.006 ms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1986987/+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