Re: Bring up Networking in Single User Mode

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



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@xxxxxxxxxx
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re:  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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


Sent via BlackBerry by AT&T
_______________________________________________
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