LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2011, 01:37 AM   #1
srinivasmmdl
Member
 
Registered: Aug 2011
Posts: 49

Rep: Reputation: Disabled
no route to host


Hi all,

am new to linux

am eable to ping 192.168.1.105

but am unable to

ftp 192.168.1.105 and scp 192.168.1.105 here am getting NO ROUTE TO HOST error

what is the problem please provide some information
 
Old 09-29-2011, 01:47 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

The problem is that your network configuration is not set up correctly. Can you post output of the following:
Code:
ifconfig
route
Also it's always good when you start a new thread to mention your Linux distribution and version so that we know a bit about to what you're used.

Kind regards,

Eric
 
Old 09-29-2011, 01:55 AM   #3
srinivasmmdl
Member
 
Registered: Aug 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
no route to host

Quote:
Originally Posted by EricTRA View Post
Hello,

The problem is that your network configuration is not set up correctly. Can you post output of the following:
Code:
ifconfig
route
Also it's always good when you start a new thread to mention your Linux distribution and version so that we know a bit about to what you're used.

Kind regards,

Eric
am using fedora core 15 and distribution is i686

[eidikosys2@eidikosys2 ~]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:504 (504.0 b) TX bytes:504 (504.0 b)

p33p1 Link encap:Ethernet HWaddr 44:87:FC:AA:10:6D
inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4687:fcff:feaa:106d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28962 errors:0 dropped:0 overruns:0 frame:0
TX packets:11974 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14342001 (13.6 MiB) TX bytes:1763153 (1.6 MiB)
Interrupt:43 Base address:0x2000

[eidikosys2@eidikosys2 ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default dir-600 0.0.0.0 UG 0 0 0 p33p1
192.168.1.0 * 255.255.255.0 U 1 0 0 p33p1
 
Old 09-29-2011, 02:06 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Do you have iptables activated and configured? Check with:
Code:
iptables -L
Kind regards,

Eric
 
Old 09-29-2011, 02:09 AM   #5
srinivasmmdl
Member
 
Registered: Aug 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
no route to host

Quote:
Originally Posted by srinivasmmdl View Post
am using fedora core 15 and distribution is i686

[eidikosys2@eidikosys2 ~]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:504 (504.0 b) TX bytes:504 (504.0 b)

p33p1 Link encap:Ethernet HWaddr 44:87:FC:AA:10:6D
inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4687:fcff:feaa:106d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28962 errors:0 dropped:0 overruns:0 frame:0
TX packets:11974 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14342001 (13.6 MiB) TX bytes:1763153 (1.6 MiB)
Interrupt:43 Base address:0x2000

[eidikosys2@eidikosys2 ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default dir-600 0.0.0.0 UG 0 0 0 p33p1
192.168.1.0 * 255.255.255.0 U 1 0 0 p33p1
when i run iptables -L

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Old 09-29-2011, 09:10 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by srinivasmmdl View Post
Hi all,
am new to linux am eable to ping 192.168.1.105

but am unable to ftp 192.168.1.105 and scp 192.168.1.105 here am getting NO ROUTE TO HOST error
what is the problem please provide some information
Ok..what version/distro of Linux is running on 192.168.1.105? Do you actually have SSH and FTP services running on that machine?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet: Unable to connect to remote host: No route to host grob115 Linux - Networking 3 07-30-2010 10:18 AM
ssh: connect to host .....No route to host soumyacs Linux - Newbie 5 10-27-2009 10:03 AM
no route to host nerdboi Linux - Networking 9 02-08-2005 06:40 AM
No route to host senzoga Linux - Networking 1 07-14-2004 06:03 PM
No Route To Host Que Linux - General 10 08-19-2002 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration