Networking Forums

Networking Forums > Computer Networking > Linux Networking > iproute2 Local load sharing problem

Reply
Thread Tools Display Modes

iproute2 Local load sharing problem

 
 
Noerr De Dykul
Guest
Posts: n/a

 
      10-08-2004, 10:54 AM
Hi All,

I don't really have too much TCP/IP background (comming from different
proffesion), so my claims may be off. I have setup simple load
balancing for local network to squeeze some more juice out of our old
100M switch. Situation is following Fedora Core 2 server with 1G and 3x
100M NIC and local windoze clients. My ip ro ls looks like this
192.168.3.0/24 via 192.168.3.1 dev eth0
192.168.1.0/24
nexthop via 192.168.1.1 dev eth1 weight 1
nexthop via 192.168.1.2 dev eth2 weight 1
nexthop via 192.168.1.3 dev eth3 weight 1
127.0.0.0/8 dev lo scope link
default via 123.123.123.123 dev ppp0

Where subnet 3.0 is giga and subnet 1.0 is 100M. Up until upgrading to
2.6.8.1 kernel it was working ok, but now I've noticed that if I
want to add default route on the 192.168.1.0/24 class it refueses me all
the time:
[roor@fc2]#ip ro add default via 192.168.1.100 dev eth1
RTNETLINK answers: Network is unreachable

and it won't work in any combination until i delete all "nexthop" routes.
What could that be?
I've read alot around web, regarding load balancing and lots of experts
claim that you can not be better off using multiple NIC on same subnet,
but I think that you can be and our network is definetely faster. One
client is not much better off, but 10 clients asking data from server
are definetely better off, at least it appers so by running a few quick
tests.

I would really like to hear from some guru, if there is some ground in
this. I've also noticed that Solaris has a trick called interface group
which is suppose to do just that - load balancing (ifconfig .. group).
I'm not sure if such thing exists in Linux, but assume that iproute2 and
and "nexthop" routine was done for a good reason.

I think that samba, also lives hapilly with multiple interfaces on same
subnet, but some windows programs experience twiches like "network name
not found", "network file not found".., but mostly seem to work OK.

Any clues?

Thanks
Noerr De Dykul
 
Reply With Quote
 
 
 
 
Noerr De Dykul
Guest
Posts: n/a

 
      10-12-2004, 12:22 PM
I figure if I make default route first, then I'm able to make nexthop
route for the same class ie
ip ro add default via 192.168.1.1
ip ro add 192.168.1.0/24 nexthop via 192.168.1.5 dev eth1 weight 1
nexthop via 192.168.1.6 dev eth2 weight 1 ...

Weird isn't it?


> Thanks
> Noerr De Dykul

 
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
file sharing on a local network surface9 Windows Networking 3 11-06-2007 09:18 AM
Load sharing on network Clive Home Networking 10 02-06-2005 02:48 PM
Load Balancing using 2 NICS (same network) with (iproute2) multipath route Christopher Markov Linux Networking 0 03-04-2004 02:30 PM
Network load sharing - best method? [8550] Niels Chr. Sørensen Linux Networking 1 02-23-2004 07:25 AM
load balancing / sharing internet connection query Jeroen Geilman Linux Networking 3 08-13-2003 05:03 PM



1 2 3 4 5 6 7 8 9 10 11