ifplugd
Daemon Activating Network Interfaces on Cable Plug
ifplugd is a lightweight Linux daemon that configures the network automatically when a cable is plugged in and unconfigures it when the cable is pulled. It is primarily intended for use with laptops. It relies on the distribution's native network configuration subsystem, so is not very intrusive.
There is no official package available for openSUSE Leap 15.6Distributions
SUSE SLE-15-SP1
Unsupported distributions
The following distributions are not officially supported. Use these packages at your own risk.