[systemd-devel] systemd-networkd and bonding config
Mikhail Morfikov
mmorfikov at gmail.com
Wed Mar 4 21:06:25 PST 2015
> Alternatively, if you're attached to the name bond0, you might be able
> to something like this (not tested with systemd-networkd):
>
> /etc/modprobe.d/rename-bond.conf:
>
> install bonding /usr/sbin/modprobe --ignore-install bonding \
> $CMDLINE_OPTS; /usr/sbin/ip link set dev bond0 down; \
> /usr/sbin/ifrename -c /dev/null -i bond0 -n FOO
> >/dev/null
>
It doesn't work. It just removed bond interfaces completely (it
doesn't matter whether I use bond0 or bond1):
root:~# networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier configured
2 eth1 ether off configuring
3 ifb0 ether off unmanaged
4 ifb1 ether off unmanaged
5 wlan0 wlan degraded configuring
6 br_lxc ether no-carrier configured
6 links listed.
Maybe I just stay with the bond1 interface.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150305/b66de5fe/attachment.sig>
More information about the systemd-devel
mailing list