Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creating net.bond1 fail [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
smile032
n00b
n00b


Joined: 01 Jul 2005
Posts: 6
Location: Jakarta

PostPosted: Tue Jul 19, 2005 12:17 am    Post subject: Creating net.bond1 fail [SOLVED] Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jul 19, 2005 9:05 am    Post subject: Reply with quote

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
View user's profile Send private message
smile032
n00b
n00b


Joined: 01 Jul 2005
Posts: 6
Location: Jakarta

PostPosted: Tue Jul 19, 2005 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jul 19, 2005 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
smile032
n00b
n00b


Joined: 01 Jul 2005
Posts: 6
Location: Jakarta

PostPosted: Tue Jul 19, 2005 1:04 pm    Post subject: Reply with quote

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 ?? :roll:

Thanks bro
Back to top
View user's profile Send private message
drakkan
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 232

PostPosted: Tue Oct 18, 2005 2:37 pm    Post subject: Reply with quote

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 ?? :roll:

Thanks bro


same issue here, and same question:

is it good to create it like this way?

thanks
drakkan
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Oct 18, 2005 4:28 pm    Post subject: Reply with quote

Well, it works :)

I don't use bonded stuff, never set one up either, but it looks good
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum