We help IT Professionals succeed at work.

Bonding network adapters

DolGuldur
DolGuldur asked
on
435 Views
Last Modified: 2011-01-31
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!
Comment
Watch Question

Top Expert 2008

Commented:
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

Author

Commented:
Forgot to mention that I'm using Kubuntu 7.10 on a HP Proliant DL360 server.

Author

Commented:
Hello shakoush2001,

Here's my ip and subnet addresses:

10.133.65.25
255.255.252.0

Thanks for your help!!
Top Expert 2008
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Top Expert 2008

Commented:
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
Top Expert 2008

Commented:
I mean :p even I dont get them right everytime..and they can be quite tricky :p

Author

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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.