Solved: SIOCADDRT: Network is unreachable

Phuong Nguyen ducphuong at free.fr
Tue Dec 2 10:03:23 MST 2003


This has been solved by copying parameters the ifcfg-eth0 in my Mandrake 
distribution to the ifconfig.eth0. This file now becomes:

ONBOOT=yes
DEVICE=eth0
BOOTPROTO=static
IP=10.10.158.82
NETMASK=255.255.252.0
NETWORK=10.10.156.0
BROADCAST=10.10.159.25

I don't know which the key line is. I suppose it shoud be 
BOOTPROTO=static. Does someone experience the same problem?
Phuong.


Phuong Nguyen wrote:

> Sorry if this has been asked in the news group. I receive this error 
> message while booting the 5.0 LFS system:
>
> /Setting up default gateway...
> //SIOCADDRT: Network is unreachable
>
> I looked through the Internet and see that this is linked to the 
> netmask problem. However, I think I enter the correct parameters for 
> my network card. Here are the configuration files:
>
> /etc/sysconfig/network-devices/ifconfig.eth0
> ONBOOT=yes
> IP=10.10.158.82
> NETMASK=255.255.252.0
> BROADCAST=10.10.159.254
>
> /etc/sysconfig/network
> HOSTNAME=lfs
> NETMASK=255.255.252.0
> GATEWAY=10.10.159.254
> GATEWAY_IF=eth0
>
> My LAN parameters are:
> IP: 10.10.158.82
> Mask: 255.255.252.0
> Gateway: 10.10.159.254
> DHCP: 10.10.159.254
>
> Thanks for helping me out,
> Phuong.
> /
>
>




More information about the lfs-support mailing list