netmask: Host name lookup failure

Wahyu Darmawan Wahyu.Darmawan at ag-it.com
Tue Nov 24 12:42:42 UTC 2009


2009/11/24 Wahyu Darmawan <Wahyu.Darmawan at ag-it.com>

> Hi Bassam,
>
> Yup, it's available on AS 2.1 and I've done with that command, but still
> unable. Firewall status is off.
> Can you give me more alternative way?
>

Hi.

Are you sure that interfaces are correctly configured ? can you show your
config ?

Can you try to set the IP at hand (ifconfig eth2 x.x.x.x netmask x.x.x.x) ?

Kind Regards.
--

Hi Daniel,
Thanks anyway,
Here is my lan card config :

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.10.10.54
NETMASK=255.255.255.0
GATEWAY=192.10.10.1

DEVICE=eth1
ONBOOT=yes
IPADDR=192.10.15.4
TYPE=Ethernet
USERCTL=no
NETMASK=255.255.255.0
BOOTPROTO=static
NETWORK=192.10.15.0
BROADCAST=192.10.15.255
PEERDNS=yes

DEVICE=eth2
ONBOOT=yes
IPADDR=172.16.160.50
TYPE=Ethernet
USERCTL=no
NETMASK=255.255.248.0
BOOTPROTO=static
NETWORK=172.16.160.0
BROADCAST=172.16.167.255
GATEWAY=172.16.160.1
PEERDNS=yes

DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
#BROADCAST=127.255.255.255
BROADCAST=255.255.255.255
ONBOOT=yes
NAME=loopback

And after I ran command 'ifup eth2' appear like this :
# ifup eth2
RTNETLINK answers: File exists
netmask: Host name lookup failure
netmask: Host name lookup failure
netmask: Host name lookup failure
netmask: Host name lookup failure
netmask: Host name lookup failure
netmask: Host name lookup failure
#

Thanks for your help.


Kind Rgds,




More information about the redhat-list mailing list