Re: How to setup bonding in a VPS? [message #11690 is a reply to message #11688] |
Mon, 02 April 2007 17:27 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
oviney
Messages: 17 Registered: April 2007 Location: Ottawa
|
Junior Member |
|
|
Ok I did a little more research and found that there is a default package that comes with the RHAS 4 update 4 image. The package is called:
default package -> module-init-tools.i386
openvz package -> dummy-centos-4.i386
By default there isn't a /etc/modprobe.conf file create. I decided to try to hack this a bit and created the file manually and placed the following in it:
alias bond0 bonding
options bond0 miimon=100
I do notice that if I test the bonding config I get:
[root@caotta000807l ~]# vzctl exec 101 cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.3 (June 8, 2005)
Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
then I look at the message log file:
Apr 2 12:26:08 caotta000807l-1 network: Shutting down loopback interface: succeeded
Apr 2 12:26:08 caotta000807l-1 sysctl: net.ipv4.ip_forward = 0
Apr 2 12:26:08 caotta000807l-1 network: Disabling IPv4 packet forwarding: succeeded
Apr 2 12:26:08 caotta000807l-1 network: Setting network parameters: succeeded
Apr 2 12:26:08 caotta000807l-1 network: Bringing up loopback interface: succeeded
Apr 2 12:26:08 caotta000807l-1 network: Bringing up interface bond0: succeeded
I am still hunting, but I have not idea at this point why this isn't working as expected.
Any help would be appreciated
[Updated on: Mon, 02 April 2007 18:09] Report message to a moderator
|
|
|