[systemd-devel] How to turn off some network interface?
Rosen, Rami
rami.rosen at intel.com
Sun Sep 13 04:28:52 PDT 2015
Hi, Manuel,
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
Regards,
Rami Rosen
Intel Corporation
-----Original Message-----
From: systemd-devel [mailto:systemd-devel-bounces at lists.freedesktop.org] On Behalf Of Manuel Reimer
Sent: Sunday, September 13, 2015 11:55 AM
To: systemd-devel at 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.
Manuel
_______________________________________________
systemd-devel mailing list
systemd-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list