FTP Problem, any ideas?

We've got a problem with FTP on a box - machines on the same network can ftp in, but doing an 'ls' or 'put' causes it to hang (passive on or off makes no difference). ftp to xxx.90.111.2 shows this behavior, however ftp to the 192.168.0.22 interface of the same box has no problems. I suspect routing but can't be sure. Anyone?


From problem box:
route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
xxx.90.112.0 * 255.255.240.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default xxx.90.112.1 0.0.0.0 UG 0 0 0 eth0

iptables is ok:
Chain INPUT (policy ACCEPT)
target prot opt source destination
all -- 0.0.0.0/0 192.168.0.0/24

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
all -- 0.0.0.0/0 192.168.0.0/24

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:30:48:28:24:14
inet addr:64.92.112.35 Bcast:64.92.127.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4167489 errors:0 dropped:0 overruns:0 frame:0
TX packets:1599489 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:436623544 (416.3 Mb) TX bytes:1248449861 (1190.6 Mb)
Interrupt:28 Base address:0x3000 Memory:f8200000-f8220000

eth0:1 Link encap:Ethernet HWaddr 00:30:48:28:24:14
inet addr:xx.90.111.2 Bcast:xx.90.127.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:28 Base address:0x3000 Memory:f8200000-f8220000


eth1 Link encap:Ethernet HWaddr 00:30:48:28:24:15
inet addr:192.168.0.22 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4736253 errors:0 dropped:0 overruns:0 frame:0
TX packets:174115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:616554643 (587.9 Mb) TX bytes:33841806 (32.2 Mb)
Interrupt:29 Base address:0x3040 Memory:f8220000-f8240000

 

 

 

 

Top