[CentOS] Bring up Networking in Single User Mode

Wed Oct 7 18:42:12 UTC 2009
ML <mailinglists at MailNewsRSS.com>

>> ifconfig eth0 172.16.254.80 netmask 255.255.255.240
>> route add default gw 172.16.254.1
>>
>> I am getting Network is unreachable.
>>
>
> ipcalc -nbp 172.16.254.80 255.255.255.240
> PREFIX=28
> BROADCAST=172.16.254.95
> NETWORK=172.16.254.80
>
> so 172.16.254.1 is not in your network and thus not reachable

And I'm a dunce cap...sorry 255.255.255.0 should be the mask!

Thanks for the math lesson!