<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2spanishfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0"><channel><title>portal supremos</title><link>http://supremos.tk</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PortalSupremos" /><description>Soporte de Software Libre y Gnu/Linux en General</description><language>en</language><lastBuildDate>Mon, 16 Apr 2012 02:09:03 PDT</lastBuildDate><generator>http://wordpress.org/?v=3.3.2</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PortalSupremos" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="portalsupremos" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">PortalSupremos</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/content?lg=es&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://eur.i1.yimg.com/eur.yimg.com/i/es/my/addto1.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.feedness.com/alta/http://feeds.feedburner.com/PortalSupremos" src="http://www.feedness.com/ayuda/wp-content/square_b_sh_feed.gif">Subscribe with Feedness</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/PortalSupremos" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FPortalSupremos" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item><title>Estamos operativos gracias al servidor de MamaLibre</title><link>http://supremos.tk/2012/04/15/estamos-operativos-gracias-al-servidor-de-mamalibre/</link><category>Sin categoría</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sun, 15 Apr 2012 14:41:31 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=155</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Nos olvidamos de poner en el portal que estamos ya hace tiempo trabajando en el servidor de MamaLibre.</p>
<p>Es un pequeño Intel e2160 de 1gb de Ram, mas que suficiente para este portal y otras webs.</p>
<p>Vamos a comunicar a todas las empresas de hosting ya que nos sentimos orgullosos de que nos ofrezcan servicio de hosting por mail.</p>
<p>Los post que vieron que mencionaban los problemas que teniamos con los hosting free. Por eso nos ofrecian hospedaje web. Gracias</p>
<p>Aqui encontramos nuestro hogar, en este flamante servidor situado en Lincoln, Buenos Aires, Argentina. Gracias a su sysadmin nivel novel Fabián Bonetti que con lo que aprendio en el team supremos pudo hacer la asaña de montar este servidor.</p>
<p>Aqui estaremos en zeuza<br />
<img src="http://mamalibre.com.ar/images/zeuza.png" alt="zeuza" /></p>
]]></content:encoded><description>Nos olvidamos de poner en el portal que estamos ya hace tiempo trabajando en el servidor de MamaLibre. Es un pequeño Intel e2160 de 1gb de Ram, mas que suficiente para este portal y otras webs. Vamos a comunicar a &amp;#8230; &lt;a href="http://supremos.tk/2012/04/15/estamos-operativos-gracias-al-servidor-de-mamalibre/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2012/04/15/estamos-operativos-gracias-al-servidor-de-mamalibre/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>LegadoLibre una Red social para el team y el publico.</title><link>http://supremos.tk/2011/11/15/legadolibre-una-red-social-para-el-team-y-el-publico/</link><category>redes</category><category>im</category><category>statusnet</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Mon, 14 Nov 2011 22:59:38 PST</pubDate><guid isPermaLink="false">http://supremos.tk/?p=134</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>La red esta formada por un <a href="http://es.wikipedia.org/wiki/Identi.ca">statusnet</a>.</p>
<p>Es software libre, y esta a la disposición publica.</p>
<p><a href="http://twitpic.com/7eejei" title="Share photos on twitter with Twitpic"><img src="http://twitpic.com/show/thumb/7eejei.png" width="150" height="150" alt="Share photos on twitter with Twitpic"></a></p>
<p>Listado de servidores de <a href="http://status.net/wiki/ListOfServers">statusnet en el mundo</a></p>
<p><a href="http://legadolibre.com.ar/">http://legadolibre.com.ar/</a></p>
]]></content:encoded><description>La red esta formada por un statusnet. Es software libre, y esta a la disposición publica. Listado de servidores de statusnet en el mundo http://legadolibre.com.ar/</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2011/11/15/legadolibre-una-red-social-para-el-team-y-el-publico/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>cosas extrañas</title><link>http://supremos.tk/2011/01/27/cosas-extranas/</link><category>wtf</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Thu, 27 Jan 2011 05:27:05 PST</pubDate><guid isPermaLink="false">http://supremos.tk/?p=118</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>From: Dot TK Abuse and Copyright Infringement Department <noreply@dot.tk><br />
To: mama21mama[at]hotmail.com<br />
Reply-To: noreply@dot.tk<br />
Subject: Your domain name has been cancelled<br />
Date: Thu, 27 Jan 2011 09:44:16 +0000</p>
<p>Dear mama21mama,</p>
<p>The Dot TK Abuse and Copyright Infringement department has<br />
visited your website today.</p>
<p>Unfortunately we have to say that today we cancelled your domain CUT07.TK.<br />
No-one can re-register this domain again at this stage. This may change<br />
in the future.</p>
<p>The reason for the cancellation is that the website address<br />
you used for your Dot TK domain name was not accessible, has an<br />
error page or gave a Page Not Found message.</p>
<p>It takes at least 15 days before this domain may become available<br />
again for re-registration.</p>
<p>We thank you for using Dot TK.</p>
<p>Dot TK Abuse / Copyright Infringement team</p>
<p>en fin&#8230; <a href="http://cut07.tk/" target="_blank">http://cut07.tk/</a> = <a href="http://t.text0.tk/" target="_blank">http://t.text0.tk/</a> los alias seguiran igual pero en la nueva url.</p>
]]></content:encoded><description>From: Dot TK Abuse and Copyright Infringement Department To: mama21mama[at]hotmail.com Reply-To: noreply@dot.tk Subject: Your domain name has been cancelled Date: Thu, 27 Jan 2011 09:44:16 +0000 Dear mama21mama, The Dot TK Abuse and Copyright Infringement department has visited your website &amp;#8230; &lt;a href="http://supremos.tk/2011/01/27/cosas-extranas/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2011/01/27/cosas-extranas/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments></item><item><title>acortador de url</title><link>http://supremos.tk/2010/11/24/cortador-de-url/</link><category>Sin categoría</category><category>cortar</category><category>direcciones</category><category>shorter</category><category>url</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Wed, 24 Nov 2010 00:58:20 PST</pubDate><guid isPermaLink="false">http://supremos.tk/?p=102</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img alt="" src="http://b.imagehost.org/0934/cortador_url.png" title="http://b.imagehost.org/0934/cortador_url.png" class="alignright" width="1024" height="768" /></p>
<p>esta es la dirección del cortador &#8212;»<a href="http://cut07.tk/" target="_blank">http://cut07.tk/</a> podemos poner el &#8220;Navegador Bookmarklets&#8221; arrastrando hacia nuestro panel de firefox y cuando tengamos una larga la cortamos pinchando en el icono del cortador <img src='http://supremos.tk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>pueden usarlo con su twitter o similares.<br />
o cuando buscamos algo con google y por ser ansiosos copiamos la url y pegamos en msn o irc y al final google nos dio un choclo enorme que ocupa toda la pantalla <img src='http://supremos.tk/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  que nuestros amigos se quejan de eso.<br />
espero que les guste. es para usarlo y difundirlo.</p>
]]></content:encoded><description>esta es la dirección del cortador &amp;#8212;»http://cut07.tk/ podemos poner el &amp;#8220;Navegador Bookmarklets&amp;#8221; arrastrando hacia nuestro panel de firefox y cuando tengamos una larga la cortamos pinchando en el icono del cortador pueden usarlo con su twitter o similares. o cuando &amp;#8230; &lt;a href="http://supremos.tk/2010/11/24/cortador-de-url/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/11/24/cortador-de-url/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>pastebin source code</title><link>http://supremos.tk/2010/11/22/pastebin-source-code/</link><category>descargas</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sun, 21 Nov 2010 22:07:47 PST</pubDate><guid isPermaLink="false">http://supremos.tk/?p=84</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://d.imagehost.org/0759/pastebin_supremos_source.png"><img class="aligncenter" title="pastebin_supremos_source" src="http://d.imagehost.org/0759/pastebin_supremos_source.png" alt="pastebin_supremos_source" width="1024" height="768" /></a>Download 676,5 kB: <a title="descargar pastebin source code" href="http://http://supremos.tk/wp-content/uploads/pastebin_source_code.tar.bz2" target="_self"></a><a href="http://supremos.tk/wp-content/uploads/2010/11/pastebin.zip">pastebin source code</a><br />
md5sum: 938a814f5c4f8334f196a9b56d6b31da  </p>
<p>via bazzar</p>
<pre class="brush: bash; title: ; notranslate"> bzr branch http://mamalibre.2.je/bzr/pastebin</pre>
<p>ejemplo de como quedaría <a href="http://pastebin.2.je/" target="_blank">http://pastebin.2.je/</a></p>
]]></content:encoded><description>Download 676,5 kB: pastebin source code md5sum: 938a814f5c4f8334f196a9b56d6b31da via bazzar ejemplo de como quedaría http://pastebin.2.je/</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/11/22/pastebin-source-code/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Free Software Song – que buen tema che!</title><link>http://supremos.tk/2010/11/06/free-software-song-que-buen-tema-che/</link><category>musica</category><category>free</category><category>software</category><category>song</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sat, 06 Nov 2010 08:34:09 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=78</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/4Rbzm1GgIyE?fs=1&amp;hl=es_ES" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/4Rbzm1GgIyE?fs=1&amp;hl=es_ES" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p>Que emocionante recordar este video.</p>
]]></content:encoded><description>Que emocionante recordar este video.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/11/06/free-software-song-que-buen-tema-che/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Balanceo de carga, Bonding.</title><link>http://supremos.tk/2010/11/06/balanceo-de-carga-bonding/</link><category>redes</category><category>balanceo</category><category>bonding</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sat, 06 Nov 2010 08:32:40 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=75</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Empezamos con la parte Teórica</p>
<p>El Gateway era un Linux/Redhat 8.0, y aunque al final casi se me suicidadara porque el paquete iproute2 venia con<br />
bugs, pudimos solucionarlo.<br />
El balanceo que elegimos, no es nada más que un reparto equitativo del<br />
tráfico de salida a las puertas de enlace (en<br />
nuestro caso 20), por lo que desde la versión 2.4.15 del kernel de<br />
Linux, llevan incorporado la opción &#8220;equal cost multi<br />
path&#8221; (Advanced Router−Networking Options), que deberemos activar, junto<br />
un parche de Julian Anastov (2)al igual<br />
que ip_conntrack de Netfilter(3) por si luego queremos hacer movidas con<br />
IPTABLES (SNAT,DNAT,etc), Policy<br />
Routing por si queremos hacer tablas para decidir qué paquetes deben ir<br />
por un sitio u otro, rutas estáticas vamos, (las<br />
tablas no las hemos usamos para nada) y activar el forwarding.<br />
Hecho esto, compilamos el kernel, y bajamos el paquete de iproute2<br />
(ojo!, el paquete de iproute2 de la redhat8 no<br />
funciona bien y muestra el mensaje &#8220;dead link pervasive&#8221; (conexion<br />
muerta penetrante), por lo cual no va bien a la hora<br />
de tomar decisiones.<br />
Entonces nos bajamos el paquete más reciente( en la fecha que lo hicimos<br />
nosotros tuvimos que bajarnos el tarball<br />
porque en .rpm no habia otro ).<br />
Bien, ¿como funciona esto? Aquí esta el quid.<br />
Se supone que hay otros métodos para hacerlo, pero según he leido, al<br />
recibir las tramas en el camino de retorno se<br />
harían por una sola IP o ruta, con lo cual sería algo lenta la<br />
transferencia, también he leido cosas acerca de hacerlo con<br />
DNAT, pero me parece a mi que todo eso que he visto planteado no hace<br />
reparto equitativo entre las diferentes lineas<br />
externas, sino que directamente asigna rutas estáticas, esta &#8220;solución&#8221;<br />
que se planteó es hacer rutas dinámicas, y os<br />
expongo una pequeña explicación de como funcionan las cosas:</p>
<p>• Si la máquina 10.0.0.2 quiere llegar a Internet, ha de formar un<br />
paquete primero, lo que hace cualquier<br />
programa es utilizar bind(), éste consulta al sistema de rutas del<br />
sistema operativo acerca de que &#8220;ip de origen<br />
debe coger&#8221;, −−| p.ej. si yo hago ping a 127.0.0.1, la ip de origen la<br />
tomará como 127.0.0.1, pero si hago ping<br />
a 192.168.1.6, me tomará como ip de orígen 192.168.1.254, ha quedado<br />
claro creo&#8230;</p>
<p>• Entonces, cuando llega a 10.0.0.1 (Gateway con Linux) nuestro sistema<br />
de rutas dinámico decide qué camino<br />
ha de coger mediante un algoritmo bastante raro me parece a mi.. por lo<br />
que pude leer del kernel, él va<br />
asignando conexiones a las distintas pasarelas, una por una (pim pam), y<br />
si por lo que fuera por una pasarela<br />
se mueren conexiones, el propio sistema se encarga de asignar nuevas<br />
conexiones por esa pasarela (supongo<br />
que para que haya igual número de conexiones en todas las rutas).<br />
Lo que no logré comprender (quizás porque no me dio tiempo a leer más)<br />
es que realmente el kernel asignaba<br />
conexiones segun ip de origen e ip de destino, es decir, desde 10.0.0.2<br />
podia hacer 10 conexiones (cada una a<br />
diferente ip) y el kernel me encaminaba a la misma pasarela ADSL, pero<br />
vamos&#8230; será la parte que no me leí<br />
X−D.</p>
<p>• Siguiendo el hilo&#8230; se acciona el mecanismo de forwarding (si lo<br />
tenemos activado, claro) y hace que el<br />
paquete vaya al router adsl que corresponda. El router hace NAT hacia el<br />
router de la intranet del ISP y luego<br />
a Internet&#8230;</p>
<p>• Para el retorno de los paquetes no hay ningún problema porque cuando<br />
lo hace, el kernel reconoce este<br />
paquete y sabe retornar por dónde le toca (olé con el forwarding).<br />
Creo que hasta aquí ya he dado mucho el coñazo con la parte teórica.<br />
Continuamos con la parte Práctica<br />
Empezaré con la parte del bonding.<br />
Configurar un sistema con bonding es tan sencillo como activar el modulo<br />
&#8216;bonding.o&#8217; o bien activarlo desde el kernel<br />
(está dentro de Networking Options).<br />
Luego, levantar las tarjetas mediante un programa en c que está dentro<br />
de Documentation/networking del kernel que<br />
deberemos compilar&#8230;</p>
<p><code># cd /usr/src/Linux/Documentation/networking<br />
# gcc ifenslave.c −o ifenslave (compilamos)<br />
# cp ifenslave /sbin<br />
</code><br />
Para hacer bonding no tendremos más que hacer:</p>
<p><code># modprobe bonding max_bonds=2 (El máximo que se puede hasta la fecha<br />
según leí)<br />
# /sbin/ifenslave bond0 eth0 eth1 (Lo que nosotros tocaremos a partir de<br />
ahora es bond0)</code></p>
<p>Ahora el balanceo:</p>
<p>Para el balanceo debemos aprender a llevarnos bien &#8216;ip&#8217;, y si os salta<br />
algún kernel panic, no os preocupéis, es que Linux<br />
2.4 aun no va muy fino con ip.</p>
<p>Primero debemos arrancar sin ninguna configuración de ifconfig, así que<br />
si tenéis alguna, quitadla. Lo malo es que si<br />
ya teneis el pc arrancado no se borrará de la tabla tan facilmente (es<br />
decir, haciendo ifconfig ethx down).</p>
<p><code># ip addr (vemos que las ips siguen ahí)</code></p>
<p>Aquí os pego un pequeño script que no es de mi invención, para borrar<br />
las que haya:</p>
<p><code># d=`ip −o link show | cut −d: −f2`<br />
for i in $d ; do<br />
ip addr flush $i<br />
ip link set $i down<br />
done<br />
unset i d<br />
</code><br />
Una vez hecho esto, al hacer &#8220;ip addr&#8221; no nos debería dar ninguna ip por<br />
interfaz, así que empezaremos dando de alta<br />
las interfaces y las ip&#8217;s.<br />
<code><br />
# ip addr add 127.0.0.1/8 dev lo (interface loopback)<br />
# ip link set lo up<br />
# ip route add 127.0.0.0/8 dev lo</code></p>
<p>Ahora configuramos las dos interfaces que irán para los usuarios que<br />
vengan de 10.x.x.x<br />
<code><br />
# modprobe bonding max_bonds=2 (cargamos el modulo)<br />
# ip link set bond0 up (damos de alta el bond0 como interfaz)<br />
# ip addr add 10.0.0.1/8 dev bond0 (le asignamos una ip)<br />
# ip route add 10.0.0.0/8 dev bond0 (le asignamos una ruta estática para<br />
10.0.0.0)<br />
# /sbin/ifenslave bond0 eth0 eth1 (levantamos el bonding)</code></p>
<p>Acto seguido el bond1, que son la conjunción de las dos tarjetas que van<br />
a los routers ADSL.<br />
<code><br />
# ip link set bond1 up<br />
# ip addr add 192.168.1.254/24 dev bond1<br />
# ip route add 192.168.1.0/24 dev bond1<br />
# /sbin/ifenslave bond1 eth2 eth3<br />
</code><br />
Las rutas mágicas&#8230;<br />
<code><br />
# ip route add default proto static\<br />
nexthop via 192.168.1.1 dev bond1\<br />
nexthop via 192.168.1.2 dev bond1\<br />
nexthop via 192.168.1.3 dev bond1\<br />
... (hasta 20)</code></p>
<p>Y el forwarding&#8230; (porque si no, todo lo que hemos hecho no sirve para<br />
nada)</p>
<p><code># echo 1 > /proc/sys/net/ipv4/ip_forward</code></p>
<p>Y el forzado de las tarjetas de red.</p>
<p>Ayuda de &#8216;mii−tool&#8217;</p>
<blockquote><p>usage: mii−tool [−VvRrwl] [−A media,... | −F media] [interface ...]<br />
−V, −−version<br />
display version information<br />
−v, −−verbose<br />
more verbose output<br />
−R, −−reset<br />
reset MII to poweron state<br />
−r, −−restart<br />
restart autonegotiation<br />
−w, −−watch<br />
monitor for link status changes<br />
−l, −−log<br />
with −w, write events to syslog<br />
−A, −−advertise=media,&#8230;<br />
advertise only specified media<br />
−F, −−force=media<br />
force specified media technology<br />
media: 100baseT4, 100baseTx−FD, 100baseTx−HD, 10baseT−FD, 10baseT−HD,<br />
(to advertise both HD and FD) 100baseTx, 10baseT</p>
</blockquote>
<p>Creo que está bien claro: Al hacer &#8216;mii−tool&#8217; a secas, te dice que<br />
&#8216;media&#8217; está funcionando, y a qué estado ha<br />
negociado (o no). En el caso de los Catalysts, habría que forzar las<br />
tarjetas a lo que uno desee.<br />
En nuestro caso los servers tuvieron que forzarse a 100baset, full duplex:<br />
<code><br />
# mii−tool −F 100baseTx−FD eth0 (por ejemplo).</code></p>
<p>Y creo que eso es todo lo que tenia que contaros; lo demás son problemas<br />
no relacionados con los Linux, y que tienen<br />
importancia, pero lo he visto publicado en Bulma con anterioridad, así<br />
que no le doy mucha importancia.</p>
<p>Notas</p>
<p>• Para saber esto, nos leimos el Nano−HOWTO, que explica pasito a pasito<br />
como hacerlo, lo que pasa es que el<br />
gacho del howto se enreda un monton y opino que, no explica muy<br />
claramente todos los conceptos y al final<br />
puedes hacerte una empanada mental, por ejemplo, con las tablas (en<br />
nuestro caso no necesitabamos tablas<br />
para nada).</p>
<p>• Cuidado con el bonding. Para hacer bonding, al otro lado ha de haber<br />
bonding también (o en nuestro caso<br />
etherchannel con los cisco catalyst), tened cuidado con el tipo de<br />
etherchannel que hagáis porque según me<br />
han comentado hay varios tipos de etherchannel, y no todos son<br />
compatibles con bonding.</p>
<p>• La opción &#8220;proto static&#8221; del balanceo es muy importante, si alguna<br />
ruta deja de funcionar, automáticamente es<br />
descartada por el kernel, y a los 60 segundos (por defecto) vuelve a<br />
intentar con la tabla de rutas que tiene, este<br />
intervalo lo podeis tocar a través de /proc/sys/net/ipv4/route/gc_interval.</p>
<p>• Yo lo tengo claro, pero por si alguien no tiene muchos conocimientos<br />
de networking quiero que se entienda: el<br />
balanceo no puede nunca coger las 20 ADLSL&#8217;s para una conexión, es<br />
decir, no podemos coger una trama,<br />
dividirla en 20 y enviar cada una por cada ADSL, porque sino habria<br />
fragmentos que no tendrían cabecera, y<br />
en el supuesto caso de que las tuvieran, el destino no sabria como<br />
reensamblarlas al retornar desde ip&#8217;s<br />
diferentes (habría que hacer movidas no contempladas, como crear un<br />
nuevo protocolo en una capa superior a<br />
IP y decirle que cuando los paquetes retornen se reensamblen por<br />
diferentes ip&#8217;s, y eso creo que no está<br />
contemplado.)</p>
<p>• Para cercioraros de que el balanceo vaya bien, haced un &#8216;ip route ls<br />
cache&#8217; y si tenéis algún problema con<br />
alguna ruta antigua &#8216;ip route flush cache&#8217; y os borrará completamente<br />
las rutas que esté tomando en ese<br />
momento.</p>
<p>• Las conexiones SSH con clientes Linux no funcionaban, en cambio con<br />
windows sí, supongo que el sistema<br />
de funcionamiento con las ips seria diferente, pero no me lo miré mucho.</p>
<p>Por <a href="http://troesma.wordpress.com/" target="_blank">maestrolinux</a> vía mail.</p>
]]></content:encoded><description>Empezamos con la parte Teórica El Gateway era un Linux/Redhat 8.0, y aunque al final casi se me suicidadara porque el paquete iproute2 venia con bugs, pudimos solucionarlo. El balanceo que elegimos, no es nada más que un reparto equitativo &amp;#8230; &lt;a href="http://supremos.tk/2010/11/06/balanceo-de-carga-bonding/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/11/06/balanceo-de-carga-bonding/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Baja la versión N2 de la revista linux latino</title><link>http://supremos.tk/2010/09/28/baja-la-version-n2-de-la-revista-linux-latino/</link><category>lectura</category><category>latino</category><category>linux</category><category>revista</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Tue, 28 Sep 2010 16:35:04 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=69</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><center><a target="_blank" href="http://c.imagehost.org/view/0416/linuxlatino2-pagina001"><img src="http://c.imagehost.org/t/0416/linuxlatino2-pagina001.jpg" border="0" width="106" height="150" alt="linuxlatino2-pagina001.jpg (51 KB)" /></a></center></p>
<p><a href="http://www.megaupload.com/?d=2K3RCAN4">Download</a></p>
<p><a href="http://linuxlatino.wordpress.com/" target="_blank">Pagina oficial de la revista</a></p>
]]></content:encoded><description>Download Pagina oficial de la revista</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/09/28/baja-la-version-n2-de-la-revista-linux-latino/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments></item><item><title>polls</title><link>http://supremos.tk/2010/09/28/polls/</link><category>Sin categoría</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Tue, 28 Sep 2010 14:41:53 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=52</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class="wp-polls wp-polls-archive">
<p style="text-align: center;"><strong>Que medios es tu preferido para comunicarte?</strong></p><div id="polls-4-ans" class="wp-polls-ans"><ul class="wp-polls-ul"><li>diaspora <small>(50%, 1 Votos)</small><div class="pollbar" style="width: 45%;" title="diaspora (50% | 1 Votos)"></div></li><li>statusnet <small>(50%, 1 Votos)</small><div class="pollbar" style="width: 45%;" title="statusnet (50% | 1 Votos)"></div></li><li>google plus <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="google plus (0% | 0 Votos)"></div></li><li>feed <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="feed (0% | 0 Votos)"></div></li><li>xmpp <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="xmpp (0% | 0 Votos)"></div></li><li>mail <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="mail (0% | 0 Votos)"></div></li><li>twitter <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="twitter (0% | 0 Votos)"></div></li><li>facebook <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="facebook (0% | 0 Votos)"></div></li><li>yahoo-msn <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="yahoo-msn (0% | 0 Votos)"></div></li><li>msn <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="msn (0% | 0 Votos)"></div></li><li>yahoo meme <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="yahoo meme (0% | 0 Votos)"></div></li></ul><p style="text-align: center;">Votantes Totales: <strong>2</strong></p></div><p>Fecha de inicio: 3 Febrero, 2012 @ 23:53<br />Fecha de fin: 3 Febrero, 2014 @ 23:53</p><p style="text-align: center;"><strong>¿nos suspenderan en este hosting free?</strong></p><div id="polls-3-ans" class="wp-polls-ans"><ul class="wp-polls-ul"><li>no <small>(86%, 6 Votos)</small><div class="pollbar" style="width: 77%;" title="no (86% | 6 Votos)"></div></li><li>si <small>(14%, 1 Votos)</small><div class="pollbar" style="width: 13%;" title="si (14% | 1 Votos)"></div></li></ul><p style="text-align: center;">Votantes Totales: <strong>7</strong></p></div><p>Fecha de inicio: 28 Septiembre, 2010 @ 18:53<br />Fecha de fin: 28 Septiembre, 2013 @ 18:53</p><p style="text-align: center;"><strong>¿Que entorno te gusta mas?</strong></p><div id="polls-2-ans" class="wp-polls-ans"><ul class="wp-polls-ul"><li>lxde <small>(25%, 2 Votos)</small><div class="pollbar" style="width: 23%;" title="lxde (25% | 2 Votos)"></div></li><li>gnome <small>(25%, 2 Votos)</small><div class="pollbar" style="width: 23%;" title="gnome (25% | 2 Votos)"></div></li><li>jwm <small>(25%, 2 Votos)</small><div class="pollbar" style="width: 23%;" title="jwm (25% | 2 Votos)"></div></li><li>xfce <small>(13%, 1 Votos)</small><div class="pollbar" style="width: 12%;" title="xfce (13% | 1 Votos)"></div></li><li>kde <small>(12%, 1 Votos)</small><div class="pollbar" style="width: 12%;" title="kde (12% | 1 Votos)"></div></li></ul><p style="text-align: center;">Votantes Totales: <strong>8</strong></p></div><p>Fecha de inicio: 28 Septiembre, 2010 @ 18:52<br />Fecha de fin: 28 Septiembre, 2013 @ 18:52</p><p style="text-align: center;"><strong>Qué tal está mi página?</strong></p><div id="polls-1-ans" class="wp-polls-ans"><ul class="wp-polls-ul"><li>Bien <small>(100%, 1 Votos)</small><div class="pollbar" style="width: 90%;" title="Bien (100% | 1 Votos)"></div></li><li>Excelente <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="Excelente (0% | 0 Votos)"></div></li><li>Mal <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="Mal (0% | 0 Votos)"></div></li><li>Puede mejorarse <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="Puede mejorarse (0% | 0 Votos)"></div></li><li>Sin Comentarios <small>(0%, 0 Votos)</small><div class="pollbar" style="width: 1%;" title="Sin Comentarios (0% | 0 Votos)"></div></li></ul><p style="text-align: center;">Votantes Totales: <strong>1</strong></p></div><p>Fecha de inicio: 13 Agosto, 2010 @ 2:43<br />Fecha de fin: 13 Septiembre, 2013 @ 2:47</p></div>

]]></content:encoded><description></description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/09/28/polls/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments></item><item><title>Linux, wifi y hackers (podcast nº2) – team supremos</title><link>http://supremos.tk/2010/09/28/linux-wifi-y-hackers-podcast-n%c2%ba2-team-supremos/</link><category>Sin categoría</category><category>podcast</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Tue, 28 Sep 2010 14:21:23 PDT</pubDate><guid isPermaLink="false">http://supremos.tk/?p=46</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div><center><object type="application/x-shockwave-flash" data="http://www.podbean.com/wp-content/plugins/podpress/player.swf" id="audioplayer1825" height="24" width="290"><param name="movie" value="http://www.podbean.com/wp-content/plugins/podpress/player.swf"><param name="FlashVars" value="playerID=1825&amp;bg=0xF8F8F8&amp;leftbg=0xEEEEEE&amp;text=0x666666&amp;lefticon=0x666666&amp;rightbg=0xCCCCCC&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;slider=0x666666&amp;track=0xFFFFFF&amp;loader=0x9FFFB8&amp;border=0x666666&amp;soundFile=http%3A%2F%2Fsupremos.podbean.com%2Fmf%2Fplay%2Fwhkrjy%2F2.mp3"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent"></object></center></div>
<p></p>
<p>Autores: jebus, totoloco, maestrolinux y mama21mama<br />
Solo apto para mayores de 18 años</p>
<p>Musica: Delcraft (Pablo Valdés)<br />
www.delcraftmusic.com</p>
<p><a href="http://feeds.feedburner.com/PodcastDelTeamSupremos" title="Syndicate this site using RSS 2.0"><img src="http://www.podbean.com/wp-admin/images/rss_podcast.png" alt="rss2 podcast"></a></p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8041301913599380";
/* A53 */
//google_ad_slot = "3373583427";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
]]></content:encoded><description>Autores: jebus, totoloco, maestrolinux y mama21mama Solo apto para mayores de 18 años Musica: Delcraft (Pablo Valdés) www.delcraftmusic.com</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://supremos.tk/2010/09/28/linux-wifi-y-hackers-podcast-n%c2%ba2-team-supremos/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments></item></channel></rss>

