Using two network cards in Ubuntu

Asked by Erameh Alexander

I have noticed that you can only activate one Network card at a time in Ubuntu. But I need to use two active Network Cards in Ubuntu. How do i achieve this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager-applet Edit question
Assignee:
No assignee Edit question
Solved by:
Michael DePaulo
Solved:
Last query:
Last reply:
Revision history for this message
Michael DePaulo (mikedep333) said :
#1

Perhaps if you don't specify the network card in Samba's smb.conf it will work with both. Have you tried that?

Revision history for this message
Erameh Alexander (alexander-erameh) said :
#2

I am not using SAMBA on the machine. I just intend to set it up as an Internet GATEWAY with one Network card connected to the Internet and LAN Users connected to the other card. This is exactly what we are doing with our Windows Machine, but we are in the process of Migrating our systems to UBUNTU.

Alexander

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Michael DePaulo
Sent: Wednesday, October 07, 2009 8:36 AM
To: <email address hidden>
Subject: Re: [Question #85055]: Using two network cards in Ubuntu

Your question #85055 on samba in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/85055

    Status: Open => Needs information

Michael DePaulo requested for more information:
Perhaps if you don't specify the network card in Samba's smb.conf it
will work with both. Have you tried that?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/samba/+question/85055

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Michael DePaulo (mikedep333) said :
#3

OK, I see that you marking this for the SAMBA package is a mistake.
The answer to your original question is that Ubuntu will work with two network cards using network-manager just fine. But to answer your new question, the best way to setup a simple gateway/internet-connection-sharing machine with two network cards is to use the package firestarter.
Here is a guide for it:
https://help.ubuntu.com/community/Firestarter
One extra step to it, also install the package "dhcp3-server" in addition to "firestarter".

Revision history for this message
Erameh Alexander (alexander-erameh) said :
#4

Thanks Michael DePaulo, that solved my question.