[systemd-devel] systemd-networkd different static ip and dhcp in different networks

Jakob Schürz wertstoffe at nurfuerspam.de
Wed Jun 21 07:55:12 UTC 2017


Hi!

I'm fiddeling around with network, to find out, how it works. I know,
it's not made for use in Laptops moving in different networks.

But there is a solution with wpa_supplicant to connect to different
WLANs. I also found a Solution when i connect to my mobile phone, using
usb-thetering for the network-connection. This also works.

My question is - and i googled the half last night - how to configure
networkd to set dhcp on on wireless-network (especially internet-cafe,
wlan in trains...) and give a fixed ip-address at the home-wlan or the
wlan at work (different ip then the home-fixed-ip)

Is there also a possibility to set different fixed and dynamic
ip-addresses when connection to different wired lans? Also the home-lan
(static ip) and the lan at work (static) and the lan in university (dhcp).

Someone said, this is not possible. Is this correct?
If this is correct, i can't use systemd-networkd.

Are there plans to develop such a functionality? This would be great.

Jakob


More information about the systemd-devel mailing list