has algo mas practico

ifconfig eth0  IP  netmask MASK

donde IP y MASK las sustituyes...

route add default gw GATEWAY

donde cambias por el gw
y finalmente revisa tu /etc/resolv.conf para ver tus dns


2009/6/4 Marco Roman <[email protected]>

> Jorge
>
> He chequeado todo eso pero el ifconfig no muestra el IP
>
> Archivo network:
> NETira WORKING=yes
>
> HOSTNAME=localhost.localdomain
>
> GATEWAY=168.132.68.1
>
> Archivo ifcfg-eth0:
>
> please read /usr/share/doc/initscripts-*/sysconfig.txt
>
> # for the documentation of these parameters.
>
> ONBOOT=yes
>
> USERCTL=no
>
> IPV6INIT=no
>
> PEERDNS=yes
>
> GATEWAY=168.132.68.1
>
> TYPE=Ethernet
>
> DEVICE=eth0
>
> BOOTPROTO=static
>
> NETMASK=255.255.255.0
>
> IPADDR=168.132.68.100
>
> HWADDR=00:09:6B:B7:FB:2E
>
> Porque no tengo red?
>
> gracias
>
>
>
> Marco
>
>
>
> ----- Original Message -----
> From: "Jorge Sarmiento" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, June 03, 2009 3:55 PM
> Subject: Re: [l-plug] problema con NetWork en CentOS
>
>
> >
> > jesus
> >
> > He chequeado todos los archivos que me indicas, pero cuando hago un
> > ipconfig
> > no se muestra la direccion IP.
>
>
> ipconfig es en windows, en Linux es ifconfig.
>
>
> > le he dado un restart y nada no activa la tarjeta,  solo se le cambio el
> > ip
> > y ya no activa.
>
>
> fijate en el archivo de la eth0 en la línea que dice "onboot = yes|no" y
> ponle yes
>
> [r...@server]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> ONBOOT=yes
> BOOTPROTO=static
> IPADDR=10.11.11.11
>
>
> Jorge S.
>
>
>
>
> --------------------------------------------------------------------------------
>
>
> _______________________________________________
> Lista de correo Linux-plug
> Temática: Discusión general sobre Linux
> Peruvian Linux User Group (http://www.linux.org.pe)
>
> Participa suscribiéndote y escribiendo a:  [email protected]
> Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
> http://listas.linux.org.pe/mailman/listinfo/linux-plug
>
> IMPORTANTE: Reglas y recomendaciones
> http://www.linux.org.pe/listas/reglas.php
> http://www.linux.org.pe/listas/comportamiento.php
> http://www.linux.org.pe/listas/recomendaciones.php
>
> _______________________________________________
> Lista de correo Linux-plug
> Temática: Discusión general sobre Linux
> Peruvian Linux User Group (http://www.linux.org.pe)
>
> Participa suscribiéndote y escribiendo a:  [email protected]
> Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
> http://listas.linux.org.pe/mailman/listinfo/linux-plug
>
> IMPORTANTE: Reglas y recomendaciones
> http://www.linux.org.pe/listas/reglas.php
> http://www.linux.org.pe/listas/comportamiento.php
> http://www.linux.org.pe/listas/recomendaciones.php
>



-- 
Jesus Hinojosa Palma
a.k.a vily
http://jesushinojosa.blogspot.com
telefono  +51 1 7197100
Cel RPC +51 1 91681648
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://listas.linux.org.pe/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php

Responder a