Configurar dos tarjetas de red en Debian

Resulta que no sabia como tener dos tarjetas de red funcionando en un debian y buscando buscando encontre este tutorial (1) y para los que se inician creo que sera de gran ayuda


auto lo eth0 eth1
iface lo inet loopback

# The primary network interface
#auto eth0
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.10
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 200.93.216.2

iface eth1 inet static
address 209.85.29.5
netmask 255.255.255.248
network 200.93.231.0
broadcast 200.93.231.159
gateway 200.93.231.153
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 200.93.216.2

(1) http://www.mygnet.com/articulos/redes/361/

Comentarios

Si lo necesitas, puedes

Imagen de RazaMetaL

El archivo en el que debes agregar esa configuracion se llama:


/etc/network/interfaces

Si lo necesitas, puedes tambien tener una interfaz virtual eth0:1 :


iface eth0:1 inet static
address 192.168.2.3
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255

Aplicas los cambios con :


/etc/init.d/networking restart

-------------------------

Antes de preguntar visita esta dirección :evil:

 

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Cita: Pero cual es el fin de

Imagen de RazaMetaL

[quote]Pero cual es el fin de tener una interfaz virtual?[/quote]
El tener mas de una direccion IP usando una misma tarjeta de red.

------------

Antes de preguntar visita el [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

 

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

eso se hace cuando no

Imagen de devilsoulblack

eso se hace cuando no tenemos a la mano mas de una tarjeta de red fisica
® { No HopE & No FeaR } ®
Be part of the change, because We are the change..
Projects:
Orenses.org: http://www.orenses.org
DeVilSoulBlacK WebLog: http://www.devilsoulblack.com
Your Daily News On The Web: http://www.bitsofnews.net

® { No HopE & No FeaR } ®
Be part of the change, because We are the change..
Projects:
Orenses.org: http://www.orenses.org

Entonces....

Imagen de EliaNosft

Si puedo emular otra tarjeta de red entonces puedo rutear con una tarjeta física y otra virtual? o no se puede?, por favor ayudenme, soy como niño de 5 años se formulan tantas preguntas en mi kbza :jawdrop:

una virtual seria eth0:1 ®

Imagen de devilsoulblack

una virtual seria eth0:1
® { No HopE & No FeaR } ®
Be part of the change, because We are the change..
Projects:
Orenses.org: http://www.orenses.org
DeVilSoulBlacK WebLog: http://www.devilsoulblack.com
Your Daily News On The Web: http://www.bitsofnews.net

® { No HopE & No FeaR } ®
Be part of the change, because We are the change..
Projects:
Orenses.org: http://www.orenses.org