[CentOS] Bring up Networking in Single User Mode

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Oct 7 18:43:23 UTC 2009


> -----BEGIN PGP SIGNED MESSAGE-----
> thus ML spake:
>> 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.
>
> Try 'ifconfig eth0 172.16.254.80 netmask 255.255.255.240 up' or, after
> you already issued those commands, a simple 'ifconfig eth0 up'.

I've always liked ifup eth<x>

         mark




More information about the CentOS mailing list