[CentOS] Bring up Networking in Single User Mode

Christoph Maser cmr at financial.com
Wed Oct 7 19:36:32 UTC 2009


Am Mittwoch, den 07.10.2009, 20:28 +0200 schrieb ML:
> 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.
>

ipcalc -nbp 172.16.254.80 255.255.255.240
PREFIX=28
BROADCAST=172.16.254.95
NETWORK=172.16.254.80

so 172.16.254.1 is not in your network and thus not reachable


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553


More information about the CentOS mailing list