LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-12-2004, 02:54 PM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
Host is unreachable


I recently installed Gentoo from Knoppix. When installing, network connection was fine, but when I booted to Gentoo and tried to ping internet or lan I just got "Host is unreachable" or something like that. I readed FAQ from Gentoo forums. It said that I should check kernel modules. I ran make menuconfig and everything in Ethernet cards sections was loaded as a module. (Btw. I compiled kernel using genkernel when installing Gentoo if it matters).

Still I couldn't ping anywhere. Now I really don't know what is wrong. This is what ifconfig gives me about eth0:
Quote:
eth0 Link encap:UNSPEC HWaddr 00-04-61-00-00-05-2C-50-00-00-00-00-00-00-00-00
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:19656 (19.1 Kb)
This "Link encap:UNSPEC" seems to be a bit weird? Shouldn't there be Ethernet instead of UNSPEC?

Last edited by Mikessu; 03-12-2004 at 02:58 PM.
 
Old 03-13-2004, 11:49 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Yes you are right, there should be Ethernet instead of UNSPEC. Moreover your MAC address is quite strange. Usually, it's something like that: 00:A1:C9:1A:3C:BA
So it seems to be a network layer 2 issue. Try to recompile your kernel and be sure to have this option: CONFIG_NET_ETHERNET=y

Oliv'
 
  


Reply



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
destination host unreachable javpra Linux - Networking 1 03-30-2005 05:44 AM
Host Unreachable, but only from console. Joubert79 Linux - Networking 0 01-08-2005 05:47 AM
Destination Host Unreachable danka Linux - Networking 8 01-01-2005 05:29 PM
Host unreachable toolkit Linux - Networking 7 07-09-2002 12:42 AM
destination host unreachable!!! katana Linux - General 7 07-20-2001 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration