Re: ip virtuales
El vie, 20-07-2007 a las 01:44 -0500, José Alfredo Andaluz Prado escribió: > la pregunta seria por que no funciona al hacerlo manualmente en el > interfaces ? Bien, llegamos a un acuerdo, el kernel de debian SI lo soporta :) Veamos, dado un host: [root][random]:~ # cat /etc/network/interfaces # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more information. # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp [root][random]:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:19:D1:1C:29:94 inet addr:192.168.1.52 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::219:d1ff:fe1c:2994/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2394 errors:0 dropped:0 overruns:0 frame:0 TX packets:2507 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1739474 (1.6 MiB) TX bytes:277723 (271.2 KiB) Base address:0x20c0 Memory:9040-9042 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:43 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5088 (4.9 KiB) TX bytes:5088 (4.9 KiB) Le añadimos una interfaz virtual: [root][random]:~ # echo "" >> /etc/network/interfaces [root][random]:~ # echo "auto eth0:0" >> /etc/network/interfaces [root][random]:~ # echo "iface eth0:0 inet static" \ >> /etc/network/interfaces [root][random]:~ # echo "address 192.168.1.36" \ >> /etc/network/interfaces [root][random]:~ # echo "netmask 255.255.255.0" \ >> /etc/network/interfaces [root][random]:~ # echo "gateway 192.168.1.1" \ >> /etc/network/interfaces Nos queda tal que así: [root][random]:~ # cat /etc/network/interfaces # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more information. # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto eth0:0 iface eth0:0 inet static address 192.168.1.36 netmask 255.255.255.0 gateway 192.168.1.1 Y levantamos la interfaz ¡voilá!: [root][random]:~ # ifup eth0:0 [root][random]:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:19:D1:1C:29:94 inet addr:192.168.1.52 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::219:d1ff:fe1c:2994/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2399 errors:0 dropped:0 overruns:0 frame:0 TX packets:2512 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1739800 (1.6 MiB) TX bytes:278043 (271.5 KiB) Base address:0x20c0 Memory:9040-9042 eth0:0Link encap:Ethernet HWaddr 00:19:D1:1C:29:94 inet addr:192.168.1.36 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x20c0 Memory:9040-9042 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:43 errors:0 dropped:0 overruns:0 frame:0 TX packets:43 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5088 (4.9 KiB) TX bytes:5088 (4.9 KiB) ¿Quizás te está dando guerra declarar el network y el broadcast? Saludos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip virtuales
On 7/20/07, Iñigo Tejedor Arrondo <[EMAIL PROTECTED]> wrote: El vie, 20-07-2007 a las 01:21 -0500, José Alfredo Andaluz Prado escribió: > Disculpa no fue mi intencion ressponder de esa manera Tranquilo, es cosa de gmail > storage:~# uname -a > Linux storage 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 > GNU/Linux > storage:~# mira: [root][thor]:~ # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:dcff:fe52:ae2e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17252 errors:0 dropped:0 overruns:0 frame:0 TX packets:6257 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5422448 (5.1 MiB) TX bytes:2123306 (2.0 MiB) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root][thor]:~ # ifconfig eth0:0 192.168.1.35/24 [root][thor]:~ # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:dcff:fe52:ae2e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17318 errors:0 dropped:0 overruns:0 frame:0 TX packets:6308 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5427668 (5.1 MiB) TX bytes:2142176 (2.0 MiB) eth0:0Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root][thor]:~ # uname -a Linux thor 2.6.18-4-k7 #1 SMP Wed May 9 23:42:01 UTC 2007 i686 GNU/Linux Me pillas en casa, ya ves que funciona, algo estarás haciendo mal, tengo máquinas con muuchas interfaces virtuales, vlans, interfaces virtuales, sobre interaces puenteadas con vpn, sobre interfaces físicas con channel bonding. Incluso en la guia de referencia y en la página man de ifconfig sale. No pienses que no está soportado, revisa como lo estás haciendo. Por lo demás tu fichero parece correcto, ¿como intentas levantarla? ¿te da algún error? Saludos > On 7/20/07, Iñigo Tejedor Arrondo <[EMAIL PROTECTED]> wrote: > El vie, 20-07-2007 a las 01:11 -0500, José Alfredo Andaluz > Prado > escribió: > > tengo debian 4 y no viene soporte para interfaces virtuales > > Que si viene y que no me respondas al privado > > Manejo 5 cortafuegos con debian4, con unas 200 interfaces > virtuales cada > uno. > > ¿que kernel usas? (uname -a) y por favor, responde a la lista > de correo. > > Saludos > > > > > > -- > (r) { No HopE & No FeaR } (r) > Be part of the change, because We are the change.. > > Contactos: > Email: ---> [EMAIL PROTECTED] > MSN: ---> [EMAIL PROTECTED] > > Projects: > Orenses.org: http://www.orenses.org > DeVilSoulBlacK WebLog: http://www.devilsoulblack.com > Your Daily News On The Web: http://www.bitsofnews.net > DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] la pregunta seria por que no funciona al hacerlo manualmente en el interfaces ? -- (r) { No HopE & No FeaR } (r) Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.devilsoulblack.com Your Daily News On The Web: http://www.bitsofnews.net DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED]
Re: ip virtuales
El vie, 20-07-2007 a las 01:21 -0500, José Alfredo Andaluz Prado escribió: > Disculpa no fue mi intencion ressponder de esa manera Tranquilo, es cosa de gmail > storage:~# uname -a > Linux storage 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 > GNU/Linux > storage:~# mira: [root][thor]:~ # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:dcff:fe52:ae2e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17252 errors:0 dropped:0 overruns:0 frame:0 TX packets:6257 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5422448 (5.1 MiB) TX bytes:2123306 (2.0 MiB) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root][thor]:~ # ifconfig eth0:0 192.168.1.35/24 [root][thor]:~ # ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:dcff:fe52:ae2e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17318 errors:0 dropped:0 overruns:0 frame:0 TX packets:6308 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5427668 (5.1 MiB) TX bytes:2142176 (2.0 MiB) eth0:0Link encap:Ethernet HWaddr 00:10:DC:52:AE:2E inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root][thor]:~ # uname -a Linux thor 2.6.18-4-k7 #1 SMP Wed May 9 23:42:01 UTC 2007 i686 GNU/Linux Me pillas en casa, ya ves que funciona, algo estarás haciendo mal, tengo máquinas con muuchas interfaces virtuales, vlans, interfaces virtuales, sobre interaces puenteadas con vpn, sobre interfaces físicas con channel bonding. Incluso en la guia de referencia y en la página man de ifconfig sale. No pienses que no está soportado, revisa como lo estás haciendo. Por lo demás tu fichero parece correcto, ¿como intentas levantarla? ¿te da algún error? Saludos > On 7/20/07, Iñigo Tejedor Arrondo <[EMAIL PROTECTED]> wrote: > El vie, 20-07-2007 a las 01:11 -0500, José Alfredo Andaluz > Prado > escribió: > > tengo debian 4 y no viene soporte para interfaces virtuales > > Que si viene y que no me respondas al privado > > Manejo 5 cortafuegos con debian4, con unas 200 interfaces > virtuales cada > uno. > > ¿que kernel usas? (uname -a) y por favor, responde a la lista > de correo. > > Saludos > > > > > > -- > ® { No HopE & No FeaR } ® > Be part of the change, because We are the change.. > > Contactos: > Email: ---> [EMAIL PROTECTED] > MSN: ---> [EMAIL PROTECTED] > > Projects: > Orenses.org: http://www.orenses.org > DeVilSoulBlacK WebLog: http://www.devilsoulblack.com > Your Daily News On The Web: http://www.bitsofnews.net > DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip virtuales
Disculpa no fue mi intencion ressponder de esa manera storage:~# uname -a Linux storage 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux storage:~# On 7/20/07, Iñigo Tejedor Arrondo <[EMAIL PROTECTED]> wrote: El vie, 20-07-2007 a las 01:11 -0500, José Alfredo Andaluz Prado escribió: > tengo debian 4 y no viene soporte para interfaces virtuales Que si viene y que no me respondas al privado Manejo 5 cortafuegos con debian4, con unas 200 interfaces virtuales cada uno. ¿que kernel usas? (uname -a) y por favor, responde a la lista de correo. Saludos -- (r) { No HopE & No FeaR } (r) Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.devilsoulblack.com Your Daily News On The Web: http://www.bitsofnews.net DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED]
Re: ip virtuales
El jue, 19-07-2007 a las 21:05 -0500, Jose Alfredo Andaluz Prado escribió: > no viene soportado ip virtuales en el kernel :( En el kernel de debian 4 y superiores si viene soportado las _interfaces_ virtuales (las ips no son virtuales ni leches, son reales) Puedes probarlo en linea de comando directamente con ifconfig, sin editar nada. Eso si, siempre que tengas el kernel de debian o uno basado en él, donde no haya sido dehabilitado. Saludos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip virtuales
2007/7/19, Jose Alfredo Andaluz Prado <[EMAIL PROTECTED]>: Cristian Mitchell wrote: > 2007/7/19, Jose Alfredo Andaluz Prado <[EMAIL PROTECTED]>: >> Quien de ustedes a tenido problemas para levantar ip virtuales en >> debian 4 ? > > > > que tipo de problema? > > > > > > > >> >> # This file describes the network interfaces available on your system >> # and how to activate them. For more information, see interfaces(5). >> >> # The loopback network interface >> auto lo >> iface lo inet loopback >> >> # The primary network interface >> allow-hotplug eth0 >> iface eth0 inet static >> address 192.168.0.40 >> netmask 255.255.255.0 >> network 192.168.0.0 >> broadcast 192.168.0.255 >> gateway 192.168.0.106 >> # dns-* options are implemented by the resolvconf package, if >> installed >> dns-nameservers 200.93.192.148 >> >> >> auto eth0:1 >> iface eth0:1 inet static >> address 192.168.0.41 >> netmask 255.255.255.0 >> network 192.168.0.0 >> broadcast 192.168.0.255 >> >> -- >> (r) { No HopE & No FeaR } (r) >> Be part of the change, because We are the change.. >> >> Contactos: >> Email: ---> [EMAIL PROTECTED] >> MSN: ---> [EMAIL PROTECTED] >> >> Projects: >> Orenses.org: http://www.orenses.org >> DeVilSoulBlacK WebLog: http://www.bitsofnews.net >> Your Daily News On The Web: http://www.devilsoulblack.com >> DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] >> >> >> -- >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] >> with a subject of "unsubscribe". Trouble? Contact >> [EMAIL PROTECTED] >> >> > > no viene soportado ip virtuales en el kernel :( -- (r) { No HopE & No FeaR } (r) Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.bitsofnews.net Your Daily News On The Web: http://www.devilsoulblack.com DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] es rarisimo lo acabo de probar y me anda de fiesta por que no actualizas el kernel? -- MrIX Linux user number 412793. http://counter.li.org/ las grandes obras, las sueñan los santos locos, las realizan los luchadores natos, las aprovechan los felices cuerdo, y las critican los inútiles crónicos, yo no fui, seguro que es mas inteligente.
Re: ip virtuales
Cristian Mitchell wrote: 2007/7/19, Jose Alfredo Andaluz Prado <[EMAIL PROTECTED]>: Quien de ustedes a tenido problemas para levantar ip virtuales en debian 4 ? que tipo de problema? # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.0.40 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.106 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 200.93.192.148 auto eth0:1 iface eth0:1 inet static address 192.168.0.41 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 -- (r) { No HopE & No FeaR } (r) Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.bitsofnews.net Your Daily News On The Web: http://www.devilsoulblack.com DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] no viene soportado ip virtuales en el kernel :( -- ® { No HopE & No FeaR } ® Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.bitsofnews.net Your Daily News On The Web: http://www.devilsoulblack.com DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ip virtuales
2007/7/19, Jose Alfredo Andaluz Prado <[EMAIL PROTECTED]>: Quien de ustedes a tenido problemas para levantar ip virtuales en debian 4 ? que tipo de problema? # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.0.40 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.106 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 200.93.192.148 auto eth0:1 iface eth0:1 inet static address 192.168.0.41 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 -- (r) { No HopE & No FeaR } (r) Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.bitsofnews.net Your Daily News On The Web: http://www.devilsoulblack.com DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- MrIX Linux user number 412793. http://counter.li.org/ las grandes obras, las sueñan los santos locos, las realizan los luchadores natos, las aprovechan los felices cuerdo, y las critican los inútiles crónicos, yo no fui, seguro que es mas inteligente.
ip virtuales
Quien de ustedes a tenido problemas para levantar ip virtuales en debian 4 ? # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.0.40 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.106 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 200.93.192.148 auto eth0:1 iface eth0:1 inet static address 192.168.0.41 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 -- ® { No HopE & No FeaR } ® Be part of the change, because We are the change.. Contactos: Email: ---> [EMAIL PROTECTED] MSN: ---> [EMAIL PROTECTED] Projects: Orenses.org: http://www.orenses.org DeVilSoulBlacK WebLog: http://www.bitsofnews.net Your Daily News On The Web: http://www.devilsoulblack.com DeVilSoulBlacK Channel: #Siliconvalley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]