LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-25-2004, 09:55 AM   #1
dark_luder
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Question Channel bonding with 2 IPs


Hello,

I have some question about channel bonding.
I have a redhat 8 server with 2 NICs. The first NIC, eth0 is use and have 2IPs on the same LAN. example :

eth0 Lien encap:Ethernet HWaddr 00:0B:CD:FE:4F:AB
inet adr:xx.xx.xx.33 Bcast:xx.xx.xx.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61657 errors:0 dropped:0 overruns:0 frame:0
TX packets:56643 errors:0 dropped:0 overruns:0 carrier:0
collisions:34 lg file transmission:100
RX bytes:21055360 (20.0 Mb) TX bytes:47338775 (45.1 Mb)
Interruption:30

eth0:1 Lien encap:Ethernet HWaddr 00:0B:CD:FE:4F:AB
inet adr:xx.xx.xx.35 Bcast:xx.xx.xx.255 Masque:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interruption:30

The second NIC, eth1 is not used. I want to configure a channel bonding between those two IPs and of course to keep the two IPs.

I try to define a bond0 with the command
# modprobe bond0 bonding
# ifconfig bond0 up
# ifenslave bond0 eth0 eth1

I fixed the IP and netmask with another ifconfig command. It's worked fine.

Then I try to configure the second IP. But I have never success.
I try to fixe the second IP with a command ifconfig bond0:1 xx.xx.xx.35 up
It doesn't work (no such device found)

I try the same command as before :
# modprobe bond1 bonding
# ifconfig bond1 up
# ifenslave bond 1 eth0:1 eth1:1

And it doesn't work again.

Is anyone have an idea?

dark_luder
 
  


Reply



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
Information on Ethernet-channel bonding rbh123 Linux - Newbie 1 10-04-2005 09:02 PM
Help with channel bonding jaraju Linux - Networking 11 05-05-2005 07:38 PM
Ethernet channel bonding satimis Linux - Networking 3 05-19-2004 10:16 AM
ethernet channel bonding under slackware sublett Linux - Networking 1 05-08-2003 05:36 PM
ISDN Channel Bonding??? ricey Linux - Newbie 4 07-29-2002 04:43 PM

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

All times are GMT -5. The time now is 11:08 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
Open Source Consulting | Domain Registration