Re: Bring up Networking in Single User Mode

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



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

[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