LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can ping router, but not other workstations... (https://www.linuxquestions.org/questions/linux-newbie-8/can-ping-router-but-not-other-workstations-235305/)

Atsuka 09-26-2004 03:41 AM

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?

darthtux 09-26-2004 04:10 AM

Please explain exactly what you are doing. Are you pinging by hostname. Please give commands and responses.

Atsuka 09-26-2004 04:44 AM

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

darthtux 09-26-2004 05:54 AM

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.

scuzzman 09-26-2004 07:35 AM

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?

darthtux 09-26-2004 08:05 AM

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.

Atsuka 09-26-2004 12:09 PM

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...

scuzzman 09-26-2004 12:58 PM

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.

darthtux 09-26-2004 06:26 PM

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.

Atsuka 09-26-2004 11:11 PM

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

Thanks everyone for your help :D


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


All times are GMT -5. The time now is 02:12 AM.