[CentOS-es] Crear eth0, eth0:0 y eth0:1

Christian Araquistain araquisc en gmail.com
Jue Feb 19 18:04:11 UTC 2009


Para configurar virtuales te paso una config de una

/etc/sysconfig/network-scripts/ifcfg-eth0:1

DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.1.1.12
BROADCAST=192.1.1.255
NETMASK=255.255.255.0
NETWORK=192.1.1.0
GATEWAY=192.1.1.1
ONBOOT=yes
TYPE=Ethernet


2009/2/19 Luis J Feo <geoquimica en hotmail.es>

> Me parece que está bien. Sin embargo que via comandos puedes hacerlo con el
> comando ifconfig eth0:0 [ip] netmask [].. etc y debería configurarse
> automáticamente. Con esto quizás pudieras chequear por tí mismo.
>
> ------------------------------
> From: listas-linux en cherrytel.com
> To: centos-es en centos.org
> Date: Thu, 19 Feb 2009 12:33:32 +0100
> Subject: [CentOS-es] Crear eth0, eth0:0 y eth0:1
>
>  Hola a todos,
>
>
>
> Solo quería confirmar si esta configuración de mi interfaz de red esta bien
> creada antes de ponerla en marcha.
>
>
>
> /etc/sysconfig/network-scripts/
>
>
>
> ifcfg-eth0
>
> ifcfg-eth0:0
>
> ifcfg-eth0:1
>
>
>
> ifcfg-eth0:
>
>
>
> DEVICE=eth0
>
> BOOTPROTO=static
>
> BROADCAST=192.1.1.255
>
> HWADDR=00:0C:29:37:77:B5
>
> IPADDR=192.1.1.12
>
> NETMASK=255.255.255.0
>
> NETWORK=192.1.1.0
>
> ONBOOT=yes
>
> TYPE=Ethernet
>
>
>
> ifcfg-eth0:0:
>
>
>
> DEVICE=eth0
>
> BOOTPROTO=static
>
> BROADCAST=192.1.1.255
>
> HWADDR=00:0C:29:37:77:B5
>
> IPADDR=192.1.1.2
>
> NETMASK=255.255.255.0
>
> NETWORK=192.1.1.0
>
> ONBOOT=yes
>
> TYPE=Ethernet
>
>
>
> ifcfg-eth0:1:
>
>
>
> DEVICE=eth0
>
> BOOTPROTO=static
>
> BROADCAST=192.1.1.255
>
> HWADDR=00:0C:29:37:77:B5
>
> IPADDR=192.1.1.6
>
> NETMASK=255.255.255.0
>
> NETWORK=192.1.1.0
>
> ONBOOT=yes
>
> TYPE=Ethernet
>
>
>
> Quiero tener 3 IP´s diferentes configuradas en la misma tarjera de red.
>
>
>
> ¿Es así no?
>
>
>
> Desde ya, gracias por todo.
>
> Saludos.
>
>
>
>
>
>
>
>
>
> ------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!<http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> http://lists.centos.org/mailman/listinfo/centos-es
>
>


-- 
Saludos ...

Christian.-
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.centos.org/pipermail/centos-es/attachments/20090219/cef0eb63/attachment.html 


Más información sobre la lista de distribución CentOS-es