Hello,
no, the IP is fixed.
I want to bring the interface down to reduce power usage. This machine
has some special job where the LAN interface is only needed for about
one minute a day.
The idea is to enable the interface, start the software which does some
network interaction and after that disable the interface again.
Regards,
Manuel
On 09/13/2015 02:20 PM, Rosen, Rami wrote:
Manuel,
Just a short question:
Is the interface you are talking about it configured
to be a DHCP client ? (if it is so, it can be related to
networkd DHCP implementation, which may be configured/changed)
Regards,
Rami Rosen
Intel Corporation
-----Original Message-----
From: systemd-devel [mailto:systemd-devel-boun...@lists.freedesktop.org] On
Behalf Of Reindl Harald
Sent: Sunday, September 13, 2015 2:41 PM
To: systemd-devel@lists.freedesktop.org
Subject: Re: [systemd-devel] How to turn off some network interface?
Am 13.09.2015 um 13:28 schrieb Rosen, Rami:
What do you mean by stopping networkd, can you elaborate a bit about what you
want to achieve?
If you want to stop the service, simply run "systemctl stop
systemd-networkd".
The after that ifconfig command, it won't start.
If you want to disable one network interface (let's say eth0), then go
to the proper configuration file under /etc/systemd/networkd and
comment/disable it, and restart the networkd service by:
systemctl restart systemd-networkd
well, that's a little unfortune compared to a setup not using systemd-networkd where you
can *temporary* disable interfaces just with "ifdown lan4" without changing a
configuration
the point is *temporary*, changing the config means it would be disabled at the
next boot too, on a machine acting as router/switch temporary disable
interfaces makes a lot of sense to disconnect a client from the network
-----Original Message-----
From: systemd-devel
[mailto:systemd-devel-boun...@lists.freedesktop.org] On Behalf Of
Manuel Reimer
Sent: Sunday, September 13, 2015 11:55 AM
To: systemd-devel@lists.freedesktop.org
Subject: [systemd-devel] How to turn off some network interface?
Hello,
it seems to be impossible to just stop networkd (keeps starting itself again).
If I use "ifconfig" to turn off one NIC, then networkd immediately restarts it.
What do I have to do to gain back control over my network interfaces? I want to
be able to turn off one interface.
Thanks in advance
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel