[CentOS] Bring up Networking in Single User Mode

Wed Oct 7 20:11:16 UTC 2009
R.C. Prince <neoimnot at yahoo.com>

I believe he's onto something there...routable addresses would be 172.16.254.81 thru 172.16.254.94 on 28 bits...and there's that pesky rule about having your gateway on the same subnet as the node. :)
------Original Message------
From: Eduardo Grosclaude
Sender: centos-bounces at centos.org
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] Bring up Networking in Single User Mode
Sent: Oct 7, 2009 1:35 PM

On Wed, Oct 7, 2009 at 3:28 PM, ML <mailinglists at mailnewsrss.com> 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.

That's correct. Write down 80, 1 and 240 in binary. With a /28 mask,
your IP address and your gateway are in different subnets.


-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


Sent via BlackBerry by AT&T