--- Steve Borho <[EMAIL PROTECTED]> wrote:
> What error message do you get when you try to
> connect?
The odd thing is that I get no errors. No error from
the ftp client, no errors in any configuration files
on either the host or client computer. The ftp client
immediately says "connected to 192.168.1.41" and then
just sits there. After 2-5 minutes, it will finally
display the ftp login prompt from the remote computer.
(If I try to connect via an ftp client in Windows,
the ftp client times out and I can't get through at
all.)
> Are both hosts listed in each other's /etc/hosts
> file?
> What ipchains commands are you using to setup
> masquerading?
> What do the routing tables of both hosts look like?
>
Here are the /etc/hosts/files for the two computers:
**/etc/hosts for MASQed computer
(WillyB.localdomain)**
127.0.0.1 localhost loopback
192.168.1.41 WillyB.localdomain WillyB
192.168.1.40 WillyC.localdomain WillyC
**/etc/hosts for gateway (WillyC.localdomain)**
127.0.0.1 localhost loopback
192.168.1.40 WillyC.localdomain WillyC
192.168.1.41 WillyB.localdomain WillyB
Routing tables for the two:
**Output of 'route -n' for WillyB.localdomain**
Destination Gateway Genmask Flags
Metric Ref Use Iface
192.168.1.41 0.0.0.0 255.255.255.255 UH
0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U
0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U
0 0 0 lo
0.0.0.0 192.168.1.40 0.0.0.0 UG
0 0 0 eth0
**Output of 'route -n' for WillyC.localdomain**
Destination Gateway Genmask Flags
Metric Ref Use Iface
206.153.174.1 0.0.0.0 255.255.255.255 UH
0 0 0 ppp0
192.168.1.40 0.0.0.0 255.255.255.255 UH
0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U
0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U
0 0 0 lo
0.0.0.0 206.153.174.1 0.0.0.0 UG
0 0 0 ppp0
----------------------------------------
The routing table for WillyC contains the routes for
ppp0 because I'm currently connected. When not
connected, only the two for eth0 and one for lo exist.
HOWEVER...I just found out that ftping to WillyB
_will_ work when I'm connected to the internet.
So, I can make ftp work correctly by
a) Removing the default gateway from WillyB's
routing table, or
b) Connecting WillyC to the internet.
I'm using the simple ipchains ruleset from the
IP-Masquerading HOWTO. I don't think they're the
problem though because I only have ipchains set up on
WillyC, and when that computer is in windoze (both
machines also run Win95), I can't ftp to WillyB from
there either.
Thanks,
Ben Logan
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list