LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-24-2010, 07:15 AM   #1
jitendra bhaskar
LQ Newbie
 
Registered: Apr 2010
Location: Bombay
Distribution: RHEL-5 and CentOS-6
Posts: 22

Rep: Reputation: 0
Question Destination host unreachable


i have 2 box

in one box i have win-xp and redhat-9 (New Mother board)
other box have only redhat-9 (old Intel 810-e Mother board)

on new box (Win-XP and Redhat) have onboard LAN card which is not recognize by linux so i put external LAN card with same. i disable onboard LAN

IP 192.168.0.10
Net mast 255.255.255.0
gateway 192.168.0.254
primary name server 192.168.0.1

On old box (Redhat) have external LAN card.

IP 192.168.0.20
Net mast 255.255.255.0
gateway 192.168.0.254
primary name server 192.168.0.1


when i ping win to linux and linux to win its pinging and i can use samba on windows

But i cant ping new box linux to old box linux or vise versa
getting Destination host unreachable

if i ping from new to old box and use #tcpdump on old machine then it give o/p

when i ping from old to new and use #tcpdump on new it wont give o/p

so i cant use NFS/NIS due to this

i dont understand where data getting block
if its working on widows to linux means there is no issue with my hardware.

so please help me to solve this issue.
 
Old 05-03-2010, 08:10 PM   #2
dogstar1
LQ Newbie
 
Registered: Nov 2009
Distribution: multiple
Posts: 5

Rep: Reputation: 1
Box 1 = IP 192.168.0.10 Win/Linux (which one? or both in virtual? If so what is the 3rd IP or is it using NAT?)
Box 2 = IP 192.168.0.20 Linux

.........SMB.........
.Box 1 ---> Box 2.
..Win.........Linux..

.........ICMP........
.Box 1 -/-> Box 2.
.Linux........Linux..

Box 1
Can you ping 192.168.0.254?
Check 'iptables -L' for firewall issues.

Box 2
Is NFS running?
Are FW rules correct?

Last edited by dogstar1; 05-03-2010 at 08:18 PM. Reason: Incomplete
 
Old 05-03-2010, 09:08 PM   #3
LVsFINEST
Member
 
Registered: Aug 2006
Posts: 94

Rep: Reputation: 21
Right off the top of my head I'd say IPtables on your new linux box is the problem. By default, RHEL versions do not just drop packets silently, IPtables issues an icmp destination unreachable if packets do not match any rules. With that said, it sounds like your running VMs (Windows and Linux on one box?) and the issue may also lie in the network configuration of your VM host. Can either of the machines reach the Internet?

To quickly verify if IPtables is the culprit, you could do:

'/sbin/service iptables stop'

and re-test.

Posting the output of '/sbin/iptables -L' will help too.
 
Old 05-03-2010, 09:22 PM   #4
SuperJediWombat!
Member
 
Registered: Apr 2009
Location: Perth, Australia
Distribution: Ubuntu/CentOS
Posts: 208

Rep: Reputation: 50
post the output of:
Code:
ifconfig
ip route
iptables-save
I suspect that it's just your IP (mis)configuration.
 
  


Reply

Tags
destination, host, unreachable


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
Yet another Destination Host Unreachable huntercheif Linux - Networking 8 08-12-2008 10:46 AM
Destination Host Unreachable susankhya Linux - Networking 3 06-14-2006 02:14 AM
destination host unreachable mundacho Linux - Networking 1 03-10-2006 01:59 PM
Destination Host Unreachable cherukuri Linux - Networking 9 04-23-2005 04:59 AM
destination host unreachable Santanu1963 Linux - Networking 7 03-09-2004 02:24 PM


All times are GMT -5. The time now is 08:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration