Bug ID 1168631
Summary wicked: dhcp + static route works inconsistently
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee screening-team-bugs@suse.de
Reporter matwey.kornilov@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello,

I am running wicked-0.6.60-lp151.2.12.1.x86_64 on openSUSE Leap 15.1 and see
the following issue reproducible with wicked from git master.

Actual behavior:

When I use DHCP configuration with static route predefined as the following:

ifcfg-veth1:

STARTMODE=auto
BOOTPROTO=dhcp
ZONE=public

ifroute-veth1:

192.168.100.1 - - veth1

After the first network configuration (system startup), the route table looks
like the following:

default via 10.0.0.1 dev veth1 proto dhcp 
10.0.0.0/24 dev veth1 proto kernel scope link src 10.0.0.180 
192.168.100.1 dev veth1 scope link


However, if DHCP server forces the client to use another lease (for instance
due to updated network configuration), the static route is missed and never
returns back:

default via 192.168.22.1 dev veth1 proto dhcp 
192.168.22.0/24 dev veth1 proto kernel scope link src 192.168.22.14 

Expected behavior:

The static route should be either always missed or always present for network
interface.


Upstream ticket URL:
https://github.com/openSUSE/wicked/issues/833


You are receiving this mail because: