Operating System - Linux
1755447 Members
3796 Online
108833 Solutions
New Discussion юеВ

Destination HOST NOT reachable for AS 4

 
Basheer_2
Trusted Contributor

Destination HOST NOT reachable for AS 4

Hello
Just installed Redhat AS 4

cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=myhost
GATEWAY=10.1.244.1

why I cant ping any other server
Thanks
6 REPLIES 6
njia_1
Trusted Contributor

Re: Destination HOST NOT reachable for AS 4

Hi

What is the status of that port ? Is it up ?

use ifconfig eth0, you will see something like
eth0 Link encap:Ethernet HWaddr 00:01:80:04:61:66
inet addr:192.168.157.11 Bcast:192.168.157.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1735772 errors:0 dropped:0 overruns:0 frame:0
TX packets:867253 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:159293174 (151.9 Mb) TX bytes:702011321 (669.4 Mb)
Interrupt:11 Base address:0x1000

Noticed that UP BROADCAST line ?

and I have to ask this, have you checked the cable ? Is the light up on your NIC and switch ?
Can other host ping this one ?

Can you get outpout of the following two commands
ifconfig eth0
netstat -rn

thanks
Gopi Sekar
Honored Contributor

Re: Destination HOST NOT reachable for AS 4


you have to configure the network, try configuring it using Network Device control application under System tools menu from the GUI.

Never Never Never Giveup
Ivan Ferreira
Honored Contributor

Re: Destination HOST NOT reachable for AS 4

Any other server is:

Any other server on the same network

Or

Any other server on other network

I mean, the gateway is needed for connect to other networks.

What is the ouput of ifconfig ?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Muthukumar_5
Honored Contributor

Re: Destination HOST NOT reachable for AS 4

Can able to ping to localhost and myhost hostname and 10.1.244.1 ip-address?

It is because of your routing setting. Check route or netsat -rn output. If you don't find default gateway for routing then you've add it to resolve other hosts in the network.

hth.

Easy to suggest when don't know about the problem!
Morcos
Super Advisor

Re: Destination HOST NOT reachable for AS 4

Hi Basheer,
try: ifconfig ethx up
Can you ping your default gateway?


Ziad
Basheer_2
Trusted Contributor

Re: Destination HOST NOT reachable for AS 4

Thanks for all

This is what solved the problem

I took eth0 thinking this is on the motherboard, then it turned out eth1 - which is on the mother board

Network Devic - uncheck activate on boot for eth0 and eth2
check for eth1 and provide network info

ifdown eth0
ifdown eth1
ifdown eth2

ifup eth1
ethtool eth1
and look for Link Detected : Yes

then able to talk to the network.