You are not logged in.

#1 2015-05-26 20:17:58

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

systemd-networkd

It seems that when i stop the systemd-neworkd, nothing is happening !

pacman -Qi systemd | grep Version
Version        : 219-6


# /etc/systemd/network/eth0.network
[Match]
Name=eth0

[Network]
Address=192.168.0.13/24
Gateway=192.168.0.254

# systemctl stop systemd-networkd

# journalctl -f
May 26 23:17:27 myhomepc systemd[1]: Stopped Network Service


# ip a
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    inet 192.168.0.13/24 brd 192.168.0.255 scope global eth0

# ip r
default via 192.168.0.254 dev eth0  proto static 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.13 

any ideas ?

Thanks in advance


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

#2 2015-05-26 21:09:46

branch
Member
Registered: 2014-03-16
Posts: 209

Re: systemd-networkd

It is working as intended. As yet systemd-networkd does not know how to restore the network configuration to it's prior state.

Offline

#3 2015-05-26 21:37:58

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: systemd-networkd

@branch thanks for the response,

but I am guessing when stopping the systemd-network, it should do something like:

 ip addr flush eth0 

Am I missing something ?


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

#4 2015-05-26 22:34:28

branch
Member
Registered: 2014-03-16
Posts: 209

Re: systemd-networkd

What i mean by "working as intended" is that it is doing what the developers intended it to do. De-configuration is simply not yet implemented. What it "should" do is another matter.

Last edited by branch (2015-05-26 22:35:16)

Offline

#5 2015-06-03 04:03:02

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: systemd-networkd

branch wrote:

De-configuration is simply not yet implemented

When should it be implemented? Other solutions had this working years ago.

Offline

#6 2015-06-03 05:40:15

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: systemd-networkd

Wrong question, and wrong place. You should ask the systemd-networkd devs "When will it be implemented?".

Better still, if you know how to code, do it yourself and send them a patch.

Offline

#7 2015-06-03 13:12:54

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: systemd-networkd

Now why would I waste my time adding features which I added to dhcpcd years ago into something that isn't portable?

Offline

#8 2015-06-04 03:23:06

branch
Member
Registered: 2014-03-16
Posts: 209

Re: systemd-networkd

rsmarples wrote:

When should it be implemented?

That depends on what the develpers goals are. My impression (as a random user who sometimes reads their mailing list, so take this with a grain of salt) is that the dev's short term goal is to provide the barest essentials of networking support required by VM farms, not to replace existing full featured networking configurators.

Offline

Board footer

Powered by FluxBB