[Bug 574456] Re: hotplug-style bonding does not work after reboot - "service networking restart" needed to get it working
Shawn Teague
574456 at bugs.launchpad.net
Sat Nov 5 17:16:59 UTC 2011
That is what I was doing but I had to manually restart networking (from
the console) after a reboot
hmm.. That's almost what I was doing. I was not using the "bond-
primary eth0 eth1" stanza.
Let me make some changes and give it a try.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/574456
Title:
hotplug-style bonding does not work after reboot - "service networking
restart" needed to get it working
Status in “ifenslave-2.6” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: ifenslave-2.6
i just installed a fresh ubuntu 10.04 lts and tried to get bonding to
work.
i used the hotplug style as suggested in the release notes ob 10.04 -
but it only works as long as i don't reboot the system! when the
system gets rebootet you have to restart networking service.
kernel version:
Linux 1004 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
package:
ifenslave-2.6 1.1.0-14ubuntu2
/etc/network/interfaces:
auto bond0
iface bond0 inet static
address 192.168.10.10
netmask 255.255.255.0
gateway 192.168.10.1
bond-slaves none
bond-mode 1
bond-miimon 100
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1
auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1
this does not work after reboot of the system!
when i use the old style with loaded module it works for me.
working example:
/etc/modprobe.d/bonding
install bond0 /sbin/modprobe bonding -o bond0 mode=balance-xor miimon=100
/etc/network/interfaces:
auto bond0
iface bond0 inet static
address 192.168.10.10
netmask 255.255.255.0
gateway 192.168.10.1
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1
i hope this infos help to get the "hotplug-stlye" version up and
running even if a system reboots! :-)
thx
manfred
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/574456/+subscriptions
More information about the foundations-bugs
mailing list