Ubuntu – Configure FTP Server with two different IP addresses on different subnets and separate NICs

ftpipUbuntu

I have an FTP server that's on a low bandwidth connection. We want to set it up with a second IP address on a much higher bandwidth connection. I set up the second interface with a static IP address on the faster connection. This unfortunately does not work. I can verify that the second IP address works perfectly when I disable the first IP address.

What do I need to do to get two separate interface IP addresses on different subnets working on the same server?

Best Answer

Are you running vsftpd standalone ? If you're running it from inetd, better switch to standalone. Do you have listen_address in the vsftpd.conf ? If it's absent, vsftpd should listen on all interfaces available, when it's running standalone.