Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ICMP Host Unreachable from gateway

Status
Not open for further replies.

McQueen

Technical User
Feb 13, 2003
55
0
0
GB
Hi all,

I have a new sun fire T2000 running Solaris10, I'm trying to configure the nic card, but when I try to ping thing all I get is ICMP Host Unreachable from gateway!!. Can any one please HELP and tell me where i'm going wrong.

Thanks for any advice..

<><><><><>
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.105.10.14 netmask ffffc000 broadcast 10.105.63.255
ether 0:21:28:14:69:84

<><><><><>

netstat -rn

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 10.105.0.2 UG 1 1603
10.105.0.0 10.105.0.2 UGH 1 0
10.105.0.0 10.105.10.14 U 1 67 e1000g0
127.0.0.1 127.0.0.1 UH 4 121 lo0

<><><><><>

# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
::1 localhost
10.105.10.14 mol loghost

<><><><><>

#more /etc/defaultrouter
10.105.0.2


 
This is the out put when I ping our default gatway:-

ping 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
ICMP Host Unreachable from gateway mol (10.105.10.14)
for icmp from mol (10.105.10.14) to 10.105.0.2
no answer from 10.105.0.2
 
There is a couple things you can check. Th 2 IP addresses are in a different subnets with the default subnet mask of 255.255.255.0. If you are using a router, you should have a file /etc/defaultrouter that has the IP address of the router.

If you are not using a router, you need to check your netmask. You would need a netmask of 255.255.240.0 for this to work. I also question the IP address 10.105.0.2. This IP Address is invalid.
 
I think that you have a problem with you netmask declared

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.105.10.14 netmask ffffc000 broadcast 10.105.63.255
ether 0:21:28:14:69:84

netmask 255.255.192.0 ( ff ff c0 00)

Host 10.105.10.14 is not in same network with the gateway
10.105.0.2

The hosts most have 6 bits of resolution
0-63




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top