Re: PATCH: Support binding to a local IPv4 address when mounting a server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trond Myklebust wrote:
On Sun, 2009-02-22 at 15:17 -0800, Ben Greear wrote:
My specific application is a testing tool that emulates 1000+ unique NFS clients,
primarily for testing  & loading NFS servers.
I put each client on a mac-vlan and put them all on the same subnet so that I don't
need any routers between my box and the nfs server.  (We can also put
them on different subnets and use different routers, and the specific source-ip
also helps there...)

I use routing tricks to enforce that a particular source-IP uses a specific routing table, and that ties pkts to a specific mac-vlan interface. The mount bindaddr option then binds a mount to a specific local IP and thus to a specific mac-vlan.

This shows 1000+ mounts on my test box, and the nfs server sees 1000
unique clients (all with different MACs, IPS, etc).

Any reason why you couldn't multi-home the server too, and use the
destination IP address to control the route on the clients?
I'm trying to emulate 1000 NFS clients running against a 'normal' NFS server,
and in that case, the NFS server would have a single (or small number of IP
addrs), and each client would have a unique IP and MAC.

Thanks,
Ben

  Trond

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com


--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux