Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple adapters on one servers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Trappies
n00b
n00b


Joined: 15 Mar 2004
Posts: 55

PostPosted: Wed Nov 05, 2008 2:58 pm    Post subject: Multiple adapters on one servers Reply with quote

Hi all,

I have the following situation. It was working and now all of a sudden it stopped.

I have two network adapters on the same server:

Code:
config_eth0=( "192.168.0.25 netmask 255.255.255.0" )
config_eth1=( "192.168.0.26 netmask 255.255.255.0" )


I basically have 2 x 100Mbps connection to a switch that has a gateway set as 192.168.0.1.

I therefore have it setup as below:

Code:
routes_eth0=("default via 192.168.0.1")               # IPv4 default route
routes_eth1=("default via 192.168.0.1")               # IPv4 default route


Now my network knowhow is a bit limited. If I remove the default route for eth1 I can get to the server on .25 but not to .26 and visa versa. Is there a way to fix this. I am hosting several game servers and I am basically using the two network cards to get maximum throughput.

Please help. Thanks in advance.

Davin.
_________________
System: Athlon64 3800+ Dual Core - 939 | ASUS A8N32-SLi Deluxe | 2048MB Corsair XMS | 3*200GB Seagate (SATA) | Gainward GeForce 7800GTX Golden Sample | Gentoo-2.6.16
Back to top
View user's profile Send private message
jasenux
n00b
n00b


Joined: 22 Jul 2007
Posts: 12

PostPosted: Wed Nov 05, 2008 7:27 pm    Post subject: Reply with quote

hi davin,

how about using bonding instead? take a look at,

http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt

cheers.
Back to top
View user's profile Send private message
Trappies
n00b
n00b


Joined: 15 Mar 2004
Posts: 55

PostPosted: Wed Nov 05, 2008 8:10 pm    Post subject: Reply with quote

jasenux wrote:
hi davin,

how about using bonding instead? take a look at,

http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt

cheers.


good idea, will give that a try tomorrow. Thnx.

Davin
_________________
System: Athlon64 3800+ Dual Core - 939 | ASUS A8N32-SLi Deluxe | 2048MB Corsair XMS | 3*200GB Seagate (SATA) | Gainward GeForce 7800GTX Golden Sample | Gentoo-2.6.16
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum