1 |
Dan Farrell wrote: |
2 |
> Greetings all. I've just acquired a 4-port network card, and I |
3 |
> set it up so that the 4 ports are each assigned an IP address, and gave |
4 |
> all the IPs the name 'nfs' in DNS. |
5 |
> |
6 |
> Now I hope to point all the NFS clients at server 'nfs', and do some |
7 |
> basic load balancing, while leaving the original address open for other |
8 |
> services. |
9 |
> |
10 |
> My problem is that I haven't been able to weight the routes to the |
11 |
> subnet in question. I've been using iproute2 and have read numerous |
12 |
> documents online, but they all discuss multiple Internet gateways. |
13 |
> |
14 |
> I hope to find a way to send traffic coming in on each of the 4 |
15 |
> interfaces back out that same interface, so the load can be balanced |
16 |
> between them. Right now, all traffic goes out through the default |
17 |
> route with the lowest metric. |
18 |
> |
19 |
> Eventually I also want to configure nfsd to listen only for connections |
20 |
> on that host name, so that the original ethernet interface is left open |
21 |
> for other services. |
22 |
> |
23 |
> Does anyone have any suggestions, or comments, or criticisms? Anybody |
24 |
> konw how to do a thing like that? |
25 |
|
26 |
First off don't assign separate IPs to each port on your four port card, |
27 |
bond them into a single interface. That will simplify your config and |
28 |
perform better. |
29 |
|
30 |
Second, what sort of routing are you doing? If all the clients are on |
31 |
the same subnet as the four port card you should not need routing. |
32 |
Additionally if they are on the same subnet you should not be limited by |
33 |
the speed of your gateway which may or may not be able to route at 4 |
34 |
Gb/s whereas your switch may actually have that sort of performaance. |
35 |
Are the clients on a separate subnet and if so can you put them on the |
36 |
same subnet? |
37 |
|
38 |
kashani |
39 |
-- |
40 |
gentoo-user@g.o mailing list |