LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 09-01-2006, 02:53 AM   #1
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
Multiple Network Cards Configuration


Hi all,
I installed Redhat linux Enterprise Edition Advance Server 4 on intel GNTL borad, I successfully configured 3 SATA 400 GB on it with 3 1GB NIC, all NICs are configured at same network like this
192.100.100.1
192.100.100.2
192.100.100.3

Problem is that all NICs are not working at same time only one is functioning, is there any configuration mistake I done?

Basically I want to attached each network card to a seperate switch like this

192.100.100.1 to Switch 1
192.100.100.2 to Switch 2
192.100.100.3 to Switch 3

Remember switches are not inter-connected.
 
Old 09-01-2006, 03:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
this just doesn't make any sense... you could bridge the interfaces to make yourself act as a switch in some respects but connecting to 3 isolated networks on the same subnet is nonsense.
 
Old 09-01-2006, 03:24 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977

Rep: Reputation: 30
@acid_kewpie Maybe he thinks that he can get so more performance?!?
I also don't get a clue out of this?
@icna Are these switches maybe prepared for VLAN?
(Problem is that all NICs are not working at same time only one is functioning, is there any configuration mistake I done?)
How do you mean that? Aren't the up?
Should each device listen on different service?
 
Old 09-01-2006, 08:19 AM   #4
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Better performance

Quote:
Originally Posted by odcheck
@acid_kewpie Maybe he thinks that he can get so more performance?!?
I also don't get a clue out of this?
@icna Are these switches maybe prepared for VLAN?
(Problem is that all NICs are not working at same time only one is functioning, is there any configuration mistake I done?)
How do you mean that? Aren't the up?
Should each device listen on different service?
Yes, my thinging is to get more performance to Separate 3 NICs with 3 isolated swithces.

All 3 NICs are up/active and LEDs is also blinking when I connect network wire to each of them NICs. Problem I face is that when I try to reached this sytem (the server) through windows network with siwtch 1 its working but swithc 2 and switch 3 can not found server destination and raise error "Network path not found".
 
Old 09-01-2006, 10:06 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
if these switches are isolated, then how do you benefit?? if they all are actaully interconnected, and NOT isolated, then yes you could look at using a bond on the three cards to increase your throughput. in a basic layer 2 switching enviornment without vlan's this will be limited. ideally you would have intelligent siwtches, e.g. Cisco Catalysts which can aggregate their ports into a bond too, so you would see muliple connetions as single entities at both ends. what you want won't really help you much though. it is possible to do outbound laod balancing, but inbound will still need to com einto a single nic per subnet.
 
Old 09-03-2006, 11:51 PM   #6
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Some one Guide

Simply some one guide me that how I configure 3 Network cards on my system with different netmask and connect each network card to a isolated switch and memeber of each switch have access to the member of another switch.
 
Old 09-04-2006, 02:16 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
different netmasks? what do you mean by that? if you have different netmasks then i'd assume that you actually mean completely different networks. in that case you are asking how to turn your linux pc in to a router. in that case just place each network card in its right place and enabling basic routing with "echo 1 > /proc/sys/net/ipv4/ip_forward" and it should start routing.
 
Old 09-04-2006, 03:46 AM   #8
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Its mean that I want to configure following settings

lan1 = 192.100.100.01
(connect to a switch having IPs from 192.100.100.02 to
192.100.100.17)

lan2 = 192.100.101.01
(connect to a switch having IPs from 192.100.101.02 to
192.100.101.17)

lan1 = 192.100.102.01
(connect to a switch having IPs from 192.100.102.02 to
192.100.102.17)


all network cards are configured on same linux machine,
and I want to interconnct switched b/w them
 
Old 09-04-2006, 11:59 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
as above then.
 
Old 09-04-2006, 11:45 PM   #10
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
then I can't get Success, tell me the method how I do in
 
Old 09-05-2006, 12:38 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
i've already told you, please pay attention. you should only need to enable "echo 1 > /proc/sys/net/ipv4/ip_forward" and things should start working. if it doesn't please give USEFUL information back for help, "it don't work" is not useful.
 
Old 09-06-2006, 01:37 AM   #12
icna
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
/proc/sys/net/ipv4/ip_forward

this command gives me error Permission Denied
 
Old 09-06-2006, 04:11 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,849

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
you arne't root then. or you're not running the command i gave you and instead just typing "/proc/sys/net/ipv4/ip_forward". if you want help, you need to provide much more feedback to us than you currently are...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Network Cards ryanroler Slackware 11 01-14-2005 07:18 AM
Unable to forward with multiple network cards dcgva Linux - Networking 2 06-22-2004 01:38 PM
Setting up Slackware 9.1 to use multiple network cards? Lynx2112 Slackware 7 06-10-2004 05:52 PM
multiple network cards in router Smerk Linux - Networking 4 03-06-2003 06:40 PM
VMWare and multiple network cards Syd Nicholson Linux - Networking 0 06-26-2001 06:23 PM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration