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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DanielAttardAuthor Commented:
Thanks for the comment.  What do you think is better to configure for?   performance or redundance?
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.
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.