How do I configure LANforge to emulate multiple NFS clients?
First, you must patch the ‘mount’ tool in the util-linux package to be able to bind to a local IP address. If you are using a kernel earlier than 2.6.23, apply the ‘mount.patch’ found in the LANforge-Extras package on the Downloads page and build as normal. If you are using a 2.6.23 or higher kernel, use the pre-patched nfs-utils-fc8-ct.tar.gz download from the same directory that contained the LANforge release. Save your old mount binaries aside and copy the new one into it’s place. If you are using a pre-configured kernel from the Candela downloads page, it will already have the NFS related kernel patches applied. If you want to compile your own kernel, get the candela-2.6.X.X.patch from the LANforge-Extras package and use it to patch your kernel. NOTE: There are some scripts to automate this. See the end of this section for details. Doing things manually will give you more flexibility, however. Now, create several virtual interfaces in LANforge, giving them appropriate IP addresses.