Problem with lan card

Taking care of your Linux box.
Post Reply
yousafzai98
Lance Naik
Posts: 30
Joined: Sat May 29, 2004 4:43 am
Location: Mardan
Contact:

Problem with lan card

Post by yousafzai98 »

Hi friends .
I have a problem with my Lan card.
I have assinged an ip to my lan card,its pinging to own ip but doesnt pinging to other ip on my network.

and says host is unreachable . what to do with this?
please help
Islam Habib Yousafzai

Linux Registered User # 417171
farhantoqeer
Major General
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Location: Karachi
Contact:

Post by farhantoqeer »

checkout default gateway.
A: Yes
Q: Is top-posting bad?
yousafzai98
Lance Naik
Posts: 30
Joined: Sat May 29, 2004 4:43 am
Location: Mardan
Contact:

Post by yousafzai98 »

I have checked that its correct but still not working and says destination unreachable
Islam Habib Yousafzai

Linux Registered User # 417171
zaeemarshad
Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad
Contact:

Post by zaeemarshad »

check if you have firewall enabled. if you installed redhat with default options then it disables any icmp requests. disable your firewall first. you can do it in many ways. on cosole type lokkit and set it to no firewall or simply

iptables -F to flush all your rules and to be sure

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT

then see if pinging works or not. BTW the ip you are trying to ping, is it on the same network or not??

Regards
Zaeem
yousafzai98
Lance Naik
Posts: 30
Joined: Sat May 29, 2004 4:43 am
Location: Mardan
Contact:

Post by yousafzai98 »

Salam subedar sab .

you helped me . it solved my problem


Thanks
Islam Habib Yousafzai

Linux Registered User # 417171
Post Reply