LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Host is unreachable (https://www.linuxquestions.org/questions/linux-networking-3/host-is-unreachable-156832/)

Mikessu 03-12-2004 02:54 PM

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?

Oliv' 03-13-2004 11:49 AM

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'


All times are GMT -5. The time now is 03:12 PM.