OpenVZ Forum


Home » General » Support » How to setup bonding in a VPS?
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 messageGo to previous message
oviney is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* 2.6.18-ovz028stab023.1-smp kernel stopped
Next Topic: Server4you Server and Connecting to the Internet and from the Internet
Goto Forum:
  


Current Time: Tue Sep 10 12:16:15 GMT 2024

Total time taken to generate the page: 0.04898 seconds