Link to home
Start Free TrialLog in
Avatar of DolGuldur
DolGuldurFlag for Canada

asked on

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!
Avatar of http:// thevpn.guru
http:// thevpn.guru
Flag of Denmark image

Network your network IP for 192.168.1.0/24 this is 192.168.0.0
Broadcast the broadcast address of your IP for 192.168.1.0/24 this is 192.168.0.255
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
Avatar of DolGuldur

ASKER

Forgot to mention that I'm using Kubuntu 7.10 on a HP Proliant DL360 server.
Hello shakoush2001,

Here's my ip and subnet addresses:

10.133.65.25
255.255.252.0

Thanks for your help!!
ASKER CERTIFIED SOLUTION
Avatar of http:// thevpn.guru
http:// thevpn.guru
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
your network IP is 10.133.64.0
your broadcast ip is 10.133.67.255

http://www.subnet-calculator.com/subnet.php?net_class=A

Check the page above if you dont know how to make your calculations
I mean :p even I dont get them right everytime..and they can be quite tricky :p
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