LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2008, 04:22 AM   #1
kvvsrinivas
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
Unable to connect to any system on the Network


I am using Fedora7 with ip 192.168.15.3
I am unable to ping to any machine from fedora system.

i am using Switch to connect my systems in the LAN
The out put is as follows.

[root@mca ~]# ping 192.168.15.2PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
From 192.168.15.3 icmp_seq=1 Destination Host Unreachable
From 192.168.15.3 icmp_seq=2 Destination Host Unreachable



[root@mca ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:85:63:EE:41
inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::221:85ff:fe63:ee41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4294967235 overruns:0 frame:0
TX packets:0 errors:0 dropped:442 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x4000

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:8396 errors:0 dropped:0 overruns:0 frame:0
TX packets:8396 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:69874183 (66.6 MiB) TX bytes:69874183 (66.6 MiB)

[root@mca ~]# traceroute to 192.168.15.2
(192.168.15.2), 30 hops max, 40 byte packets
1 (192.168.15.3) 3000.294 ms !H 3000.280 ms !H 3000.263 ms !H
 
Old 11-04-2008, 07:44 AM   #2
Yaniv-Fer
Member
 
Registered: Feb 2006
Distribution: Fedora,Solaris
Posts: 45

Rep: Reputation: 15
hi kvvsrinivas


first thing i see is that you have allot of "dropped"

Quote:
X packets:0 errors:0 dropped:4294967235 overruns:0 frame:0
TX packets:0 errors:0 dropped:442 overruns:0 carrier:0
at my fedora core 9 it looks like this:

Quote:
RX packets:35046998 errors:0 dropped:0 overruns:0 frame:0
TX packets:22888830 errors:0 dropped:0 overruns:0 carrier:0

so i do not know exactly what the problems is....


try another port on the switch...
use another cable...
check your local firewall and on the remote host...
Code:
iptables -L


that is what i can offer for know :-)

good luck

Yaniv Ferszt
 
Old 11-04-2008, 11:52 AM   #3
rays
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
n/w issue

Hi kvvsrinivas,

You haven't posted your Gateway info.
please make sure you have the same Gateway ip address on all the machines (n/w).

please make sure whether it's possible to ping below info. on your local machine

127.0.0.1
local ipaddress
local broadcaste ipaddress
local gateway ipaddress
if you haven't added your Gateway info. then move to ROUTE-ADD section below.

If all the above ping works then try IPTABLES section

IPTABLES
try to Flush the firewall using the command iptables -F
NOTE:linux is case-sensitive.
try to ping to the remote ipaddress.
or
if all the above sol. didn't works then check the LED of the link. it should glow with green light.

ROUTE-ADD
you can check Gateway info by running the command
route -n or by netstat -r

if you didn't have any gateway ip then you can add by command
route add -net default gw < Gateway-ipaddress> <interface>

Example:route add -net default gw 192.168.0.1 eth0
NOTE: please use your Gateway ip address in the above command.
then restart the n/w service.

good day!
 
Old 11-13-2008, 10:10 PM   #4
kvvsrinivas
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Original Poster
Rep: Reputation: 0
My Gateway is 192.168.15.1


[root@mca ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.15.1 0.0.0.0 UG 0 0 0 eth0
[root@mca ~]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.15.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.15.1 0.0.0.0 UG 0 0 0 eth0
[root@mca ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@mca ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
SIOCGIFFLAGS: No such device
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@mca ~]# ping 192.168.15.2
PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
From 192.168.15.3 icmp_seq=2 Destination Host Unreachable
From 192.168.15.3 icmp_seq=3 Destination Host Unreachable
From 192.168.15.3 icmp_seq=4 Destination Host Unreachable

--- 192.168.15.2 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms
, pipe 3
[root@mca ~]#


I tried in all the way

i am unable to ping other systems.
please kindly help me in resolving this issue.
 
Old 11-14-2008, 07:39 AM   #5
selva146
Member
 
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
Do the following steps to debug this issue?

1. Try to ping loopback IP 127.0.0.1
2. If OK, then try to ping local eth0 ip 192.168.15.3
3. if OK, then ping any other IP address in the lan...
3a.if NOT OK then some problem in the local itself, it may be due to NIC Card problem, or Driver Problem.
4. if ping to other ip is not OK, then check the firewall running on your PC, turn it off
service iptables stop

5. check it up
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Wireless network anujseth Linux - Newbie 4 05-13-2008 09:56 PM
unable to connect to wireless network pieterprovoost Linux - Wireless Networking 1 01-10-2008 03:48 PM
Unable to connect to DHCP Network WolfCub Debian 34 09-21-2007 02:20 AM
Unable to connect to Website Once outside the network jc_neo Linux - Networking 17 10-28-2004 08:31 PM
Unable to connect to network vaber Linux - Newbie 4 09-08-2003 11:31 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration