LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2006, 04:13 PM   #1
barleykorn
Member
 
Registered: Sep 2004
Distribution: lfs
Posts: 32

Rep: Reputation: 16
Channel Bonding, Trunking ISPs, Load Balancing, Failover


Hello,

I have been experimenting with balancing two isp connections and could use a little guidance on doing this right. I have edited eth0 and eth1 cfg files and created a bond0 file. Both eth0 and eth2 are slaves with bond0 as master. One isp connection is a broadband cable connection with DHCP, the other connection is PPPoE DSL that goes through a linksys router where it becomes another DHCP gateway. Can this be done without extra ISP help? Oh yes, I am using FC3.

What I have noticed is that only one set of ISP DNS servers seem to work at a time. Should I set peerdns=no with hardcoded values, and how do I keep the ifcfg-eth0 and ifcfg-eth2 files from augmenting (changing) automatically during the boot process. So far I have dusted the bonding.txt file that is widely distributed on the web.

Last edited by barleykorn; 11-27-2006 at 06:40 AM.
 
Old 11-27-2006, 06:39 AM   #2
barleykorn
Member
 
Registered: Sep 2004
Distribution: lfs
Posts: 32

Original Poster
Rep: Reputation: 16
Here is what eth0 and eth2 look like....

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
#TYPE=Ethernet
USERCTL=no
#PEERDNS=yes
#IPV6INIT=no
#HWADDR=00:11:11:83:11:25
master=bond0
slave=yes
#NETMASK=255.255.255.0
#IPADDR=192.168.1.110
#GATEWAY=192.168.1.101
TYPE=Ethernet
PEERDNS=yes --> This field is added on boot
IPV6INIT=no --> This field is added on boot

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
#IPV6INIT=no
ONBOOT=yes
USERCTL=no
#PEERDNS=yes
#TYPE=Ethernet
DEVICE=eth2
#HWADDR=00:30:bd:b4:d4:79
BOOTPROTO=dhcp
master=bond0
slave=yes
#PEERDNS=yes
#TYPE=Ethernet
#IPV6INIT=no
PEERDNS=yes --> This field is added on boot
TYPE=Ethernet
IPV6INIT=no --> This field is added on boot

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
PEERDNS=yes --> This field is added on boot
TYPE=Ethernet
IPV6INIT=no --> This field is added on boot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Bonding - Active Load Balancing synpse Linux - Networking 3 10-11-2006 07:25 AM
Bonding/Load Balancing With Linux... caps_phisto Linux - Networking 3 08-24-2006 10:20 AM
Setup Dual nics for load balancing/failover thistleair Linux - Networking 4 05-11-2005 03:15 PM
Sendmail load balancing and failover ? newbieA Linux - Networking 1 09-29-2003 10:41 AM
Sendmail load balancing and failover ? newbieA Linux - Software 1 09-29-2003 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration