https://bugs.kde.org/show_bug.cgi?id=447402

            Bug ID: 447402
           Summary: Using ethernet connection plasma networking doesn't
                    setup default route to gateway
           Product: neon
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Packages User Edition
          Assignee: neon-b...@kde.org
          Reporter: nick.craig....@gmail.com
                CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org
  Target Milestone: ---

SUMMARY
***
This is a problem you won't see if you only use wifi, however if you use
ethernet via the RJ45 connector then maybe you will have this problem.

If you plug into a network using an ethernet wired connection (with WIFI
disabled) and have DHCP setup in the plasma network configuration. When the
system obtains it's IP address it fails to setup the default gateway so no
internet access is available. If you type route add default gw 192.168.0.1
enp2s0 then everything then works.

How come the gateway is no longer setup in the routing table automatically when
hot plugging an ethernet cable?

WIFI works fine.

routing table after ethernet cable plugged in.

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 virbr0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp2s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

Below is the routing table for WIFI showing the extra line starting with
'default'

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         _gateway        0.0.0.0         UG    600    0        0 wlp3s0
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 virbr0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
***


STEPS TO REPRODUCE
100% reproducible on my laptop 

OBSERVED RESULT
No default gateway setup in routing table

EXPECTED RESULT
default route should be added when ethernet cable used.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-43-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-2670QM CPU @ 2.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 570M/PCIe/SSE2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to