Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Req: would be interface bonding intrested? #33

Open
amdei opened this issue May 23, 2019 · 5 comments
Open

Req: would be interface bonding intrested? #33

amdei opened this issue May 23, 2019 · 5 comments

Comments

@amdei
Copy link

amdei commented May 23, 2019

Hello,
I'm planning to add support for configuring network interfaces bonding via ifenslave.
How do you think, would it be interested?
Will you accept PR with such functionality?

@nMustaki
Copy link
Owner

Hello @amdei,

I don't know ifenslave would you mind giving some pointers ?
I would be glad to add functionalities to the library !

Thanks for contributing :-)

@ObjatieGroba
Copy link
Collaborator

Hello, @nMustaki

I would try to do it. There is API draft
Can you check API and make the adjustments?

Thank you

@amdei
Copy link
Author

amdei commented Jun 10, 2019

would you mind giving some pointers ?

Sure, here are some articles to start:
https://help.ubuntu.com/community/UbuntuBonding
https://www.tecmint.com/network-nic-bonding-teaming-in-debian-linux/

TL;DR:

apt-get install ifenslave
echo 'bonding' >> /etc/modules 

/etc/network/interfaces
auto bond0
iface bond0 inet static
    address 192.168.1.10
    gateway 192.168.1.1
    netmask 255.255.255.0

    bond-mode 4
    bond-miimon 100
    bond-lacp-rate 1
    bond-slaves eth0 eth1
    up /sbin/ifenslave bond0 eth0 eth1
    down /sbin/ifenslave -d bond0 eth0 eth1

@nMustaki
Copy link
Owner

nMustaki commented Jun 24, 2019 via email

@ObjatieGroba
Copy link
Collaborator

Hi, @nMustaki

Can you review PR?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants