[CentOS] Bring up Networking in Single User Mode

Preston Connors pconnors at atlantic.net
Wed Oct 7 18:45:33 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason,

172.16.254.1 is not in the same subnet as 172.16.254.80 when you use a
netmask of 255.255.255.240. You would need to use a larger netmask.
255.255.255.128 would be the smallest netmask you could use to enable
you to locally reach 172.16.254.1.

More information on subnetting and CIDR:
http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

ML wrote:
> Nate,
> 
>> ifconfig ethX IP_ADDRESS netmask NETMASK
>> route add default gw IP_OF_GATEWAY
> 
> OK, so I was correct,
> 
> I am doing
> 
> 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.
> 
> -Jason
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 

- --
Thank you,
Preston Connors
Atlantic.Net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrM4c0ACgkQonXphwN+2nbQqwCg2x4wBRWnHBvvW9aw+6OPjy/d
Le4AoKcThinKi9U0WSgf7Tz0tq0llQwC
=uqpr
-----END PGP SIGNATURE-----



More information about the CentOS mailing list