LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to activate two network cards (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-activate-two-network-cards-631670/)

kashif2131971 03-30-2008 06:59 AM

how to activate two network cards
 
i have two network card in my cpu using fedora 4
1. 3Com
2 Dlink wireless card which have my boardband internet connection

the problem is when i active my 3com card the browsing is stop on wireless
card. When i activate my wireless card the ping is stop on my 3com card
How can I activate both card on same time

bigrigdriver 03-30-2008 09:34 AM

My research results tell me that you can't have two network cards working with both sending and receiving.

The only way to have both cards working at the same time is to have one card sending, and the other card receiving.

onebuck 03-30-2008 09:48 AM

Hi,
Quote:

Originally Posted by bigrigdriver (Post 3104935)
My research results tell me that you can't have two network cards working with both sending and receiving.

The only way to have both cards working at the same time is to have one card sending, and the other card receiving.

Then how do you define multiple NICs in a system? Or a NIC and a Wireless interface? NAT/IP masquerading, routing, switching or even bridging in a system? I could go on with examples of multiple network device usage within a single system.

bigrigdriver 03-30-2008 10:06 AM

onebuck, are those multipli nics working on the same task at the same time? Or, are they working on seperate tasks, or switching from one nic to another, as opposed to working on the same task at the same time?

As I read the OP, he wants the nics to be simultaneously available for sending and receiving, then just switch from one to the other for whatever reason he may need/want to switch.

Unless he is trying to set up a server (which he did not state in the OP). In the case of the server, one nic is used to connect to the outside world, and the other used to connect to the LAN.

onebuck 03-30-2008 05:06 PM

Hi,

It really doesn't matter if it is a server or not. The NICs or device(s) are interrupt driven and would be serviced via the driver and kernel. As for the NICs or devices competing for service, the devices are going to be serviced on demand via interrupts not a poll or round method. For the send and receive assignment for multiple NICs, that you speak of would be a waste of device resource. If you are speaking of a half-duplex network then that's another issue.

You could setup a laptop to do the same as a server to provide the before mentioned services as long as the available devices are there. Loads of people setup laptops as servers to allow a cheap server with good UPS abilities since most laptops are battery & AC supported. No need to have a separate UPS. Nothing saying you could not use the same setup as a normal service laptop.


All times are GMT -5. The time now is 08:03 PM.