From: fing0004@gold.tc.umn.edu (Michael S Finger-1) Subject: Re: Network Woes [from a network newbie!] Date: Wed, 22 Sep 1993 03:57:36 GMT
In article <27nk53INN547@dns1.NMSU.Edu> jnoll@nmsu.edu (Jeffrey T. Noll) writes:
> I'm hoping this is a real simple problem that someone can
>help me fix. I'm trying to get a linux box onto the net and it isnt
>working so hot. At boot up time, the rc comes up with the error:
> SIOCADDRT: network unreachable
> SIOCADDRT: network unreachable
>
> [ etc ... ]
I had the same problem and all I did was to put the broadcast in the ifconfig
line before the netmask, and that seemed to fix the problem.
So instead of:
> /usr/etc/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
try:
/usr/etc/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
Whether that is a 'correct' solutionor not, I am not sure. But it works.
-Mike