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

Wrong config file after bond re-configuration #139

Open
xenolog opened this issue Sep 6, 2015 · 0 comments
Open

Wrong config file after bond re-configuration #139

xenolog opened this issue Sep 6, 2015 · 0 comments

Comments

@xenolog
Copy link
Owner

xenolog commented Sep 6, 2015

After try to reconfigure bond from 802.3ad to active-backup mode
result config file contains unrequired options for LACP bond:

config file before re-configuration:

root@ubuntu:~# cat /etc/network/interfaces.d/ifcfg-bond0
auto bond0
iface bond0 inet static
address 192.168.168.3/24
bond-slaves eth1 eth2
bond-mode 802.3ad
bond-miimon 50
bond-lacp-rate fast
bond-xmit-hash-policy layer2+3
post-up sleep 45

config file after re-configuration:

root@ubuntu:~# cat /etc/network/interfaces.d/ifcfg-bond0
auto bond0
iface bond0 inet static
address 192.168.168.3/24
bond-slaves eth1 eth2
bond-mode active-backup
bond-miimon 50
bond-lacp-rate fast
bond-xmit-hash-policy layer2+3
post-up sleep 15

should be:

root@ubuntu:~# cat  /etc/network/interfaces.d/ifcfg-bond0
auto bond0
iface bond0 inet static
address 192.168.168.3/24
bond-slaves eth1 eth2
bond-mode active-backup
bond-miimon 50
post-up sleep 15

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

1 participant