How do I configure LANforge to emulate multiple SMB (Samba, CIFS) clients?
First, you must patch the ‘samba’ application, which acts as the SMB client and/or server to be able to bind to a local IP address. Apply the ‘samba_local_bind.patch’ found in the http://www.candelatech.com/oss/ directory and build and install as normal. There are no kernel-specific changes needed, so any kernel that works with LANforge will be ok. NOTE: This can be automated with scripts. See the bottom of this entry for more details. Now, create several virtual interfaces in LANforge, giving them appropriate IP addresses. This can be done on the ‘Port-Mgr’ tab in the LANforge-GUI.