Re: Bring up Networking in Single User Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>> 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!

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux