View previous topic :: View next topic |
Author |
Message |
smile032 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 6 Location: Jakarta
|
Posted: Tue Jul 19, 2005 12:17 am Post subject: Creating net.bond1 fail [SOLVED] |
|
|
bond0 has already been configured for eth3 and eth4, and all is running well. Then I try to bond eth1 and eth2. I edit /etc/conf.d/net and comment eth1 and eth2 configuration, and add a new line iface_bond1="bla bla bla" to set the bond1 IP. I do cp /etc/init.d/net.bond0 /etc/init.d/net.bond1, and then try to run the net.bond1 interface. What I found is "no device found". I think that bond1 device is not found by the kernel. How can I add the device bond1? I believe that I should modprobe a module to solve this problem.. Any idea ??
Thanks in advance
Last edited by smile032 on Wed Jul 20, 2005 8:42 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Jul 19, 2005 9:05 am Post subject: |
|
|
Yeah, you need to load the module several times
Code: | alias bond0 bonding
alias bond1 bonding |
Whack that in /etc/modules.d/bonding
You may have to compile the bonding module as a module and not into the kernel though |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smile032 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 6 Location: Jakarta
|
Posted: Tue Jul 19, 2005 11:08 am Post subject: |
|
|
I try to find /etc/modules.d/bonding , but I dun find the file. Should I create bonding file ?? The only I found are :
.keep
aliasses
i386
but not bonding ..
thanks in advance
NB. : I load bonding as module |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Jul 19, 2005 11:40 am Post subject: |
|
|
smile032 wrote: | I try to find /etc/modules.d/bonding , but I dun find the file. Should I create bonding file ?? |
yes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
smile032 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2005 Posts: 6 Location: Jakarta
|
Posted: Tue Jul 19, 2005 1:04 pm Post subject: |
|
|
It seems not running after I create the alias and reboot my gentoo box. What's wrong?
Later I try to edit /etc/modules.autoload.d/kernel-2.6 to be like these :
-o bond0 bonding miimon=100 mode=0
-o bond1 bonding miimon=100 mode=0
n finally I successfully create the new device,bond1. But is it good to create it like this way ??
Thanks bro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
drakkan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2004 Posts: 232
|
Posted: Tue Oct 18, 2005 2:37 pm Post subject: |
|
|
smile032 wrote: | It seems not running after I create the alias and reboot my gentoo box. What's wrong?
Later I try to edit /etc/modules.autoload.d/kernel-2.6 to be like these :
-o bond0 bonding miimon=100 mode=0
-o bond1 bonding miimon=100 mode=0
n finally I successfully create the new device,bond1. But is it good to create it like this way ??
Thanks bro |
same issue here, and same question:
is it good to create it like this way?
thanks
drakkan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|