LinuxQuestions.org
Review your favorite Linux distribution.
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-26-2004, 03:41 AM   #1
Atsuka
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Can ping router, but not other workstations...


I just recently installed Fedora Core 2 and i've been trying to get my internet browser working. I'm on a home cable network and i can ping my router and eth0, but cannot ping the other workstations on the network. Any suggestions?
 
Old 09-26-2004, 04:10 AM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Please explain exactly what you are doing. Are you pinging by hostname. Please give commands and responses.
 
Old 09-26-2004, 04:44 AM   #3
Atsuka
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Original Poster
Rep: Reputation: 0
i'm pinging ip addresses...

router=192.160.1.1
w2k=192.160.1.70
fedora=192.160.1.71

[root@loaclhost draken]# ping 192.160.1.70
PING 192.160.1.70 (192.160.1.70) 56(84) bytes of data.

--- 192.160.1.70 ping statistics ---
7 packets transmitted, 0 recieved, 100% packet loss, time 5999ms


[root@loaclhost draken]# ping 192.160.1.1
PING 192.160.1.1 (192.160.1.1) 56(84) bytes of data.
64 bytes from 192.160.1.1: icmp_seq=0 ttl=150 time=0.990 ms
64 bytes from 192.160.1.1: icmp_seq=1 ttl=150 time=0.555 ms
64 bytes from 192.160.1.1: icmp_seq=2 ttl=150 time=0.573 ms

however on my w2k machine i can ping my linux machine
 
Old 09-26-2004, 05:54 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I am at work ssh'd into my home box. I am *almost* sure I know the ip addresses of my families boxes. When I ping them I get the same message as you. I can also ping the router and beyond. Just guessing but it is possible it is a firewall configuration. I can't confirm on my setup until I get home.
 
Old 09-26-2004, 07:35 AM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
It's a possibility of 2 firewall config problems. Are the WinPC's running a firewall? If not, kill yours and check routing capability, although if you can ping your router, you shouldn't have problem with yours. It would make sense the WinPC's are running a firewall though. If they can access the internet check them @ http://www.grc.com - if the "All Service Ports" option comes back all green - the PC's are stealthed and therefore would simply DROP all ping attempts.
BTW: Does it really make sense to run personal firewalls on your PC's when your router (probably) has a NAT?
 
Old 09-26-2004, 08:05 AM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I'm at home now and it is the firewall in the router for me. My D-Link blocks ping by default and has a rule setup to allow pings to everything outside the LAN.

As scuzzman said, you could also have a windows firewall problem. For windows I would suggest the Sygate Personal Firewall which is a free download. I know someone who has it on a W2k box and it works well and is easy to configure.

The router firewall is surely not enough for windows since most junk comes in anyway and needs an application blocker such as the firewall above. Most of it is IE specific and can be handled by using Firefox.

Last edited by darthtux; 09-26-2004 at 08:07 AM.
 
Old 09-26-2004, 12:09 PM   #7
Atsuka
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Original Poster
Rep: Reputation: 0
The w2k box I have has had no firewall enabled ever since
I've been trying to set up my linux box. Aside from that I cannot
surf the web. For some reason it seems I can't ping anything
that isn't directly connected to my linux box...

Last edited by Atsuka; 09-26-2004 at 12:28 PM.
 
Old 09-26-2004, 12:58 PM   #8
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
1) Can you route (access the internet) from any boxes?
2) Are you using static or dynamic ip addressing?
3) Wireless/cabled?
4) I use ZoneAlarm on my Windows machine - works like a dream.
 
Old 09-26-2004, 06:26 PM   #9
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
In addition to scuzzman's questions:
5) Can you ping anywhere on the internet such as 216.239.57.99 (google)?
6) Can your browser access a site via its IP address http://216.239.57.99/

Your /etc/resolv.conf may need a line
nameserver ip
replacing ip with the ip address of your isp's primary dns server.
 
Old 09-26-2004, 11:11 PM   #10
Atsuka
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Well darthtux was right. I added the line "nameserver [ip]"
to my /etc/resolv.conf and all's well ! ! !

Thanks everyone for your help


P.S. Before I added the line

1) Can you route (access the internet) from any boxes? -Yes
2) Are you using static or dynamic ip addressing? -DHCP
3) Wireless/cabled? -Cable
4) I use ZoneAlarm on my Windows machine - works like a dream.
5) Can you ping anywhere on the internet such as 216.239.57.99 (google)? -Yes
6) Can your browser access a site via its IP address http://216.239.57.99/ -Yes

Last edited by Atsuka; 09-26-2004 at 11:14 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC VIA VT86c100A Rhine-II PCI cannot ping other workstations infantaņoako Linux - Networking 2 01-21-2007 10:04 PM
server runs redhat , workstations win 2k ,workstations cannot connect to internet snkambule Linux - Networking 7 04-27-2005 10:08 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
unable to ping, and connect to windows workstations sebroj Linux - Networking 5 11-04-2004 08:36 PM
can ping self but not router 78silversc Linux - Networking 16 04-23-2003 02:05 AM

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

All times are GMT -5. The time now is 08:41 AM.

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