Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-26-2001, 11:09 PM
|
#1
|
Member
Registered: Feb 2001
Location: Costa Rica
Distribution: SuSE
Posts: 47
Rep:
|
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
|
|
|
03-30-2001, 12:40 AM
|
#2
|
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:
|
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.
|
|
|
10-25-2001, 03:16 AM
|
#3
|
LQ Newbie
Registered: Oct 2001
Location: Perchtoldsdorf
Distribution: Trying out SuSE 7.2 ... if i like ill move on
Posts: 1
Rep:
|
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
|
|
|
10-25-2001, 03:53 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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!
|
|
|
10-25-2001, 04:24 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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!
|
|
|
10-25-2001, 04:27 PM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
...? why did that last post come out at 9:24?? it's 10:24..... weird...
what's this one going to be...?
|
|
|
10-25-2001, 04:56 PM
|
#7
|
Member
Registered: Feb 2001
Location: Costa Rica
Distribution: SuSE
Posts: 47
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|