[NTLUG:Discuss] FTP problem

Michael Patrick michael at techiesplace.com
Thu Nov 1 18:24:45 CST 2001


On Thu, Nov 01, 2001 at 06:10:40PM -0600, Daniel L. Shipman wrote:
> I am facing problem with ftp.
> 
> I have a static ip (216.61.196.129) 
> 
> My machines are using internal ip address. Server address 192.168.1.1
> 
> The LRP routes FTP request to 216.61.196.129 to 192.168.1.1 running wu-ftpd.
> 
> When most clients try to connect to my ftp server, they are able to establish the connection but not able to do 'ls' or 'get' or 'put'.  They are able to do 'cd' and 'pwd'.
> 
> When they say
> ftp>ls
> 
> It says:
> 227 Entering Passive Mode (192,168,1,1,115,233)
> ftp: connect: No route to host 


FTP is a two channel protocol... you have the control channel on port 21 and data on port 20.

Notice the parameter after passive mode.... that is a non-routable IP.  Passive mode means that the client will make a second connection to the server (instead of the server connecting to the client, as in active mode).  Well, the address being provided by the server isn't routable, so it fails.  Have the client try running without passive mode  (this setting depends on client).  You might also see if you can specify the IP in the wu-ftpd config.

Michael



> 
> I am able to do traceroute to the ftp server from a client's machine.
> 
> Thanks in advance



More information about the Discuss mailing list