Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-30-2005, 07:07 PM   #1
Registered: May 2002
Posts: 401

Rep: Reputation: 30
still problem configuring ip and networking


In mandrake 10 I try to configure ip address I configured those files:
in /etc/sysconfig/network-scripts/ifcfg-eth0

in /etc/sysconfig/network


in /etc/resolv.conf

nameserver (the dns of my isp)

when I issue the ifconfig command I see that eth0 has the ip which I assign to it and also I see UP brodcast Runing which mean there is a link.

when I ping I get destination host unreacble
the strange thing is that before I installed mandrake the machine was win xp and everything was fine so I guess it is not a hardware problem (cables etc..) .

I have another machine connected to the default gw which is a adsl router and everythings work great.

please help !
Old 12-30-2005, 07:39 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Did you restart the network as root user ( su - ) after making changes?

service network restart
Old 12-31-2005, 01:46 AM   #3
LQ Newbie
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
#ifdown eth0
#ifup eth0

if not work yet, pls try

and post the listed message here.
Old 01-02-2006, 02:55 PM   #4
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
the routes are fine and I also tried to reboot the system.nothing helped !!!!

Please help
Old 01-02-2006, 03:43 PM   #5
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Have you checked your broadcast mask? It should be .
Old 01-03-2006, 03:28 AM   #6
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
yes my brodcast mask if fine.


Old 01-03-2006, 04:40 AM   #7
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Juanb, can you please also post /etc/hosts?
You should find at least 2 entries:
*the definition of as "localhost"
*the definition of as "juanbox" (if that's the name of your machine)

Originally Posted by juanb
in /etc/resolv.conf

nameserver (the dns of my isp)
Judging by your /etc/resolv.conf, you are contacting your own host ( is
the loopback address for your machine) as primary DNS nameserver.
If your machine is indeed a DNS server, than this is OK (but you may want to check your
DNS configuration). If not, omit the line that contains "" from /etc/resolv.conf.

Note also that only DNS servers may be listed as "nameserver" in /etc/resolv.conf.
If your network gateway is just a router/firewall (no DNS server), then you also need
to omit the line with "" from /etc/resolv.conf.

In any case, DNS and your /etc/resolv.conf are not used when you ping to an IP-address (only
when you use a hostname, since DNS just translates hostnames to IP-addresses). So they can't be responsible for the "destination host unreachable".

You may also want to check if there are any firewalls preventing access to your gateway ( (I mean, on your machine, the gateway or anywhere inbetween on the network).
They may need to be reconfigured.

Last edited by timmeke; 01-03-2006 at 04:42 AM.


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
problem configuring vmware...module problem? aw76 Linux - Software 6 01-08-2006 05:53 AM
Problems Configuring Networking rtwatts07 Linux - Newbie 5 08-07-2004 07:54 PM
Linux NooB.. Help configuring SuSe 9.1 Networking/Server dazzyboi Linux - Networking 9 07-28-2004 06:05 AM
Problem configuring JesusAddict3791 Linux - Software 6 07-31-2003 09:26 PM
Linux-Networking Configuring Samba and Firewall Pradeep Linux - Networking 0 11-26-2001 10:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration