March 28, 2024, 10:45:59 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: 2 pc's connected to the lan are not pinging from each other  (Read 5542 times)

Offline sekhar_vrc

  • Linux Noob !
  • *
  • Posts: 18
2 pc's connected to the lan are not pinging from each other
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
2 pc's connected to the lan are not pinging from each other
« Reply #1 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.

Offline puneetloiya

  • Linux Noob !
  • *
  • Posts: 28
2 pc's connected to the lan are not pinging from each other
« Reply #2 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

Offline suyashjain

  • New Member
  • Posts: 2
2 pc's connected to the lan are not pinging from each other
« Reply #3 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.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
2 pc's connected to the lan are not pinging from each other
« Reply #4 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.

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
2 pc's connected to the lan are not pinging from each other
« Reply #5 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