Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: sekhar_vrc on August 02, 2004, 02:05:39 AM

Title: 2 pc's connected to the lan are not pinging from each other
Post by: sekhar_vrc on August 02, 2004, 02:05:39 AM
Hello

I am a newcomer in linux but have some windows and uniix knowledge.

I have 2 pc's

          pc-1 with ip address 192.168.0.1    255.255.255.0
          pc-2 with ip address 192.168.0.2    255.255.255.0

I am not able to ping pc2 from pc1 and vice versa.

I am using R.H 9.0 in pc-1 and RHEL 3.0 work station in pc-2 .

Is ping is disabled by default in linux.

My cable to the lan is intact as i am able to ping the same if i use  windows 98 o/s
in both the pc's.


Pl help me

sekhar
Title: 2 pc's connected to the lan are not pinging from each other
Post by: Ricky on August 02, 2004, 05:07:58 AM
strange.. by default it doesnot block ping ...

btw .. to make sure if there is a firewall.. run
Code: [Select]
iptables --flush -t nat
on both PC and then try to ping each other then tell us.
Title: 2 pc's connected to the lan are not pinging from each other
Post by: puneetloiya on August 03, 2004, 06:38:59 AM
hello there

just check  the firewall configurations by clickin system settings -- > security level. see the security level on both PCs will be same.

Tell me wat is the status.

Puneet
Title: 2 pc's connected to the lan are not pinging from each other
Post by: suyashjain on August 11, 2004, 11:36:38 AM
(1)just try to make one pc gateway for another. and test it.

(2)Disable the firewall

(3)Run http server on one pc and try to access it on another pc.If it is working then their is firewall problem.
Title: 2 pc's connected to the lan are not pinging from each other
Post by: dragoncity99 on August 12, 2004, 11:19:48 AM
I think firstly u have to make sure if ur network card is up or not....

Login as root. Type the "ifconfig" command.

U should see the eth0 or something other numbers beginning with eth.

If u dont then, ur network card is not up.
Title: 2 pc's connected to the lan are not pinging from each other
Post by: anil_garg5 on August 14, 2004, 07:26:34 AM
you can assign the new IP address.

go to the linux terminal (command Prompt)

#netconfig
Assign the new IP address with netmask.


It is not work ...then check ur network cable whether u are using straight cable or cross cable.
if u hv 2 standalone Pc (without hub/switch) ,use cross cable.

hope it will help you. bye