ftp & ping

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Jun 4 16:45:07 UTC 2004


Robert Brockway wrote:
> On Fri, 4 Jun 2004, Chris Aitken wrote:
> 
> 
>>I want to transfer files from my debian system to my redhat system. I
>>can ping the debian PC (192.168.0.2) from the redhat PC (192.168.0.1)
>>but not vice versa.
>>
>>p733:/home/chris# ping 192.168.0.1
>>PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
>>>From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
>>>From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
> 
> 
> Could you show us ifconfig eth0 (assing this is the relevant interface)
> just to make sure netmasks, etc are ok.
> 
> Also look at iptables -L on each system.  Are you blocking icmp types 0 or
> 8 somewhere?  If you log firewall blocks somewhere you may wish to look
> there while pinging.
> 
> 
>>Of course when I try to ftp into the deb system from the redhat one the
>>connection is refused.
> 
> 
> Did it actually report "connect refused" or did it just hang?  The
> difference is important.
> 
> Rob

I think Rob and Jing are on the money.

Another way to see how your firewall is (or is not) configured which I 
find more readable is to type 'iptables-save'. You can shunt the output 
to a fire by adding 'iptables-save > iptables.out'. Can you do this and 
post the results to the list?

Madison
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list