Configure dual network cards on Ubuntu 12.04 box

I am beginning to configure my shiny, new Ubuntu 12.04 web server.  The box that I am working on has dual network cards, which I have never configured before.

What is the correct way for me to configure two network cards in the same box?  Should they have identical IP addresses or different?  Anything else I should know?

Thanks.
DanielAttardAsked:
Who is Participating?
 
rjanowskyCommented:
What do you want to achieve? Use both cards as a team to get more performance or more redundancy? If that's the case have a look here https://help.ubuntu.com/community/UbuntuBonding. Otherwise you have to configure two independent network cards the normal way with two different Ip addresses.
0
 
DanielAttardAuthor Commented:
Thanks for the comment.  What do you think is better to configure for?   performance or redundance?
0
 
rjanowskyCommented:
That's not so easy to decide. If your server is really heavy loaded, then you might need the link aggregation to double the throughput. But most often redundancy is all you need, because the link is never saturated. If one link is dead (cable fault, switch port failure, or so), the other link will seamlessly take over.
0
 
Pepe2323Commented:
Hi

If you have any reason you need high availability and improve performance, then you might you bonding; if not i will suggest just use each interface separate
0
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.