LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2001, 10:09 PM   #1
SkYzOpReNiCk
Member
 
Registered: Feb 2001
Location: Costa Rica
Distribution: SuSE
Posts: 47

Rep: Reputation: 15
Question


I have this problem, I have 2 Nics installed, I need to use both network cards in the same class C, but the problem that only one network card, is responding. How I could change this to make one Nic to Send all the traffic, and the other nic to Receive all the traffic? Without splitting the network cards into different networks.

Thanks
 
Old 03-29-2001, 11:40 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
2 nics

are both nics configured and recognized by the system? What does 'ifconfig -a' show?

I am not sure about the traffic flow question. I suppose you could use IPCHAINS or IPTABLES to filter IP traffic so that each NIC is a one way street.
 
Old 10-25-2001, 02:16 AM   #3
TotalLinuxNewbi
LQ Newbie
 
Registered: Oct 2001
Location: Perchtoldsdorf
Distribution: Trying out SuSE 7.2 ... if i like ill move on
Posts: 1

Rep: Reputation: 0
Question 2 NICs

Well to tell the truth i have the same problem but i think mine
network card is not working ... yast says its not activated but he found it anyway ...

so how do i test network cards ? ... is it possible when the system has not activated them ? in Novell I had some diag. programms if the network adapter could be found.

hmmmmm

i hope u can help .....

TotalLinuxNewbi
 
Old 10-25-2001, 02:53 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
wow, i spent weeks on this problem!!

At the end of the day, you can't have two cards on the same subnet, as it is highly inconsistent with the ieee802.3 ethernet standard, which is way linux will automatically arbitrarily stop one card from working. Windows won't but, in theory, should.

There are things such as bridging which might be able o get around the problem, but thats a deeply hidden kernel option, and i've not tried it.

You can (alledegely) use samba to act as a WINS server tho, to allow network neighborhood to communicate over multi subnets tho.

i'd put my huuuuuuuuuge discusion link up here, but i really can't remember it, try searching if you want a better explanation form me!
 
Old 10-25-2001, 03:24 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Read by bit on

http://www.linuxquestions.org/questi...?threadid=7861

should explain as much as i know really. I've no real reason to nkow it's right, but i've learnt a lot about low level architecture, and it does make a lot of sense the mroe i think about it.

so... you MUST have the cards on a different subnet.

eg eth0 10.0.0.1 netmask 255.255.255.0
eth1 10.0.1.1 netmask 255.255.255.0

is what i have, but only cos i can't be arsed to type 192.168 ever time i want to ping.

you can use bridging alledgedly to make it work like you want, but thats a kernel recompiling affair, and i've not bothered trying it

you can use samba as a wins server remember. if you get this working, pls tell me, cos i can't get it to work properly!
 
Old 10-25-2001, 03:27 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
...? why did that last post come out at 9:24?? it's 10:24..... weird...

what's this one going to be...?
 
Old 10-25-2001, 03:56 PM   #7
SkYzOpReNiCk
Member
 
Registered: Feb 2001
Location: Costa Rica
Distribution: SuSE
Posts: 47

Original Poster
Rep: Reputation: 15
Unhappy 2 Nicks

Oh well. I both network cards, running and activated, by the system. I could use both cards, but always one card depends of the other card.

Eth0 is working fine with a ip like this 192.168.231.18 and eth1 has this one 192.168.231.19

If the cable is connected to the Eth0 the pings response, also the Eth1 response without a cable.

So The idea is to have eth0 and eth1 response independently from each other.

Any idea to how to do that, if you I have to use ipchains or iptables, just give an example.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network cards kyd Linux - Networking 4 07-27-2005 09:07 PM
2 network cards, single network, load balancing? tormentum Linux - Networking 1 02-13-2005 02:37 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Two network cards = network problem filch Linux - Networking 3 01-04-2005 02:06 AM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration