My new mobo has two gigE ports, so I figure why not trunk them together to work as one network device? This will work great for a Linux based network storage device (NAS). This will create a virtual interface named bond0 with the external ip address of 192.168.1.100. Anything else on my network will see this computer with this address. It doesn’t matter which interface is actually plugged in, one, the other, or both. As long as one is plugged in it will continue to function.
Opportunistic locking is part of the Windows client file caching mechanism. Samba implements opportunistic locking as a server-side component of the client caching mechanism. Samba/CIFS doesn’t play nice with NFS, so if you’re in a mixed environment where some windows machines access and modify the same files that Linux or Solaris touch through NFS, then disable the oplocks. This is important for things like database files to avoid corruption!
Here’s a bunch of ways to get the ip addresses for all your network interfaces using ifconfig.