From: James Feeney <james@nurealm.net>
To: netdev@vger.kernel.org
Subject: feature - ip link set <dev> primary <dev> ?
Date: Thu, 4 Feb 2016 20:07:53 -0700 [thread overview]
Message-ID: <56B41209.1060308@nurealm.net> (raw)
Should there be an
ip link set <primary-slave-device> primary <master-device>
command in the iproute2 package, to set the Primary Slave on a "bond" type link?
It seems that the alternative now is to use the sysfs, with
echo -n <primary> > /sys/devices/virtual/net/<master-device>/bonding/primary
which, in systemd Service Unit Files, requires "/usr/bin/sh -c 'echo ...'"
rather than simply "/usr/bin/echo ...". "ip" seems to handle all other "bond"
configuration itself.
Thanks
James
next reply other threads:[~2016-02-05 3:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 3:07 James Feeney [this message]
2016-02-05 9:10 ` feature - ip link set <dev> primary <dev> ? Nikolay Aleksandrov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56B41209.1060308@nurealm.net \
--to=james@nurealm.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).