How to configure the virtual Interface in R900

christian.peper at kpn.com christian.peper at kpn.com
Thu Jan 15 03:36:33 CST 2009


Nitin,

It really isn't too hard. It's been asked here before on the list, so
search the archive as well for hints and tips. :) BTW, I'm using OEL
4u5, almost identical to RHEL4u5 on a Dell PE2950 (the old one).

I've collected some references here:
http://breakablelinux.blogspot.com/search/label/nic
Feel free to check them. The fail-over mode used below is explained in
one of the blogs.

Basically, you setup 3 ifcfg files, one for the logical bond and 2 (or
more) for the underlying pyshical NICs. 
Here is what I use:
/etc/sysconfig/netword-scripts/ifcfg-bond0
DEVICE=bond0
USERCTL=no
ONBOOT=yes
BROADCAST=10.x.y.255
NETWORK=10.x.y.0
NETMASK=255.255.255.0
GATEWAY=10.x.y.1
IPADDR=10.x.y.65

/etc/sysconfig/netword-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

/etc/sysconfig/netword-scripts/ifcfg-eth4
DEVICE=eth4
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

/etc/modprobe.conf
# bond0 devices eth0 and eth4
# mode=0 loadbalance and failover
# mode=1 failover
alias bond0 bonding
options bonding miimon=100 mode=1
# end bond0
alias eth0 bnx2
alias eth1 bnx2
alias eth2 e1000
alias eth3 e1000
alias eth4 e1000
alias eth5 e1000

Chris.
> -----Original Message-----
> From: linux-poweredge-bounces at dell.com 
> [mailto:linux-poweredge-bounces at dell.com] On Behalf Of 
> nitin.gizare at wipro.com
> Sent: Wednesday, January 14, 2009 6:08 PM
> To: linux-poweredge at dell.com
> Subject: How to configure the virtual Interface in R900
> 
> 
> 
> HI All
> 
> I have one R900 with RHEL 4.0 Up5 with 4 N/W nic cards.
> They are connected 1 Gbps Switch ports. I have requirement of 
> configuring virtual interface by combing two of NIC cards for 
> load balancing and failure.
> 
> Pls help me to configure same.
> 
> Nitin
> 
> Please do not print this email unless it is absolutely necessary. 
> 
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive 
> use of the addressee(s) and may contain proprietary, 
> confidential or privileged information. If you are not the 
> intended recipient, you should not disseminate, distribute or 
> copy this e-mail. Please notify the sender immediately and 
> destroy all copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The 
> recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any 
> damage caused by any virus transmitted by this email. 
> 
> www.wipro.com
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 



More information about the Linux-PowerEdge mailing list