Bonding network adapters

I'm trying to bond 2 NICs and I have some questions about the modifications I have to do in /etc/network/interfaces

Here's what I'm doing based upon articles I found on the web:

auto bond0
iface bond0 inet static
address                     OK
netmask                     Ok
network                     What should I put here?? My network IP range???
broadcast                  What's going here?
gateway                    Ok
hwaddress ether      If I understand correctly, I can put whatever MAC I want as long as it doesn't                         already exists on my network, am I right?
post-up ifenslave bond0 eth0 eth1           Ok

Any explanations would be appreciated since I'd like to understand what I'm doing!

Thanks in advance!
Who is Participating?
http:// thevpn.guruCommented:
Network your network IP for this is
Broadcast the broadcast address of your IP for this is
hwaddress.. have not tried that yet..but I think yes you are right..mac spoofing is easy in Linux
If you give me your ip + subnet I can calculate the network ip + broadcast address for you
DolGuldurAuthor Commented:
Forgot to mention that I'm using Kubuntu 7.10 on a HP Proliant DL360 server.
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

DolGuldurAuthor Commented:
Hello shakoush2001,

Here's my ip and subnet addresses:

Thanks for your help!!
http:// thevpn.guruCommented:
your network IP is
your broadcast ip is

Check the page above if you dont know how to make your calculations
http:// thevpn.guruCommented:
I mean :p even I dont get them right everytime..and they can be quite tricky :p
DolGuldurAuthor Commented:
Thanks a lot! That's what I thought I should put but wasn't sure. The links you provided gave me the answer!!

I've bookmarked those sites ;-)

Thanks again
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.