<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>4roberto&#039;s Blog</title>
	<atom:link href="http://4roberto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://4roberto.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 02 Mar 2010 18:51:59 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='4roberto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>4roberto&#039;s Blog</title>
		<link>http://4roberto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://4roberto.wordpress.com/osd.xml" title="4roberto&#039;s Blog" />
	<atom:link rel='hub' href='http://4roberto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Creación de recursos compartidos por SAMBA</title>
		<link>http://4roberto.wordpress.com/2010/03/02/creacion-de-recursos-compartidos-por-samba/</link>
		<comments>http://4roberto.wordpress.com/2010/03/02/creacion-de-recursos-compartidos-por-samba/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 18:51:59 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SAMBA]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=75</guid>
		<description><![CDATA[En el ejercicio de hoy vamos a crear recursos compartidos mediante SAMBA, ejercicio del colegio Es Liceu. Lo primero que haremos será iniciar nuestra máquina virtual (Debian). Una vez se ha iniciado crearemos un grupo UNIX, llamada estudiant y con la misma contraseña. Para crear un usuario UNIX usaremos la orden &#8220;adduser&#8221;. Bien, para empezar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=75&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>En el ejercicio de hoy vamos a crear recursos compartidos mediante SAMBA, ejercicio del colegio <a href="http://www.esliceu.com/">Es Liceu</a>.</p>
<p>Lo primero que haremos será iniciar nuestra máquina virtual (Debian). Una vez se ha iniciado crearemos un grupo UNIX, llamada estudiant y con la misma contraseña. Para crear un usuario UNIX usaremos la orden &#8220;adduser&#8221;.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/usuarioestudiant.png"><img class="aligncenter size-medium wp-image-76" title="usuarioestudiant" src="http://4roberto.files.wordpress.com/2010/02/usuarioestudiant.png?w=300&#038;h=196" alt="" width="300" height="196" /></a></p>
<p>Bien, para empezar vamos a instalar el SAMBA en nuestra máquina virtual, para eso ponemos &#8220;sudo apt-get install samba&#8221; . Seguimos los pasos que nos va diciendo y listo.</p>
<p>Ahora descargaremos el <a href="http://www.webmin.com/">Webmin</a> en nuestro Debian virtualizado, ponemos:</p>
<p><em>&#8220;wget -c http://downloads.sourceforge.net/project/webadmin/webmin/1.500/webmin_1.500_all.deb?use_mirror=ovh&#8221;</em></p>
<p>Y para instalar el paquete descargado, ponemos:</p>
<p><em>&#8220;dpkg -i webmin_1.500_all.deb&#8221;</em></p>
<p>Seguramente nos dirá que hemos de instalar algunos paquetes más, los instalamos los que nos diga y listo.</p>
<p>Bien, ahora miraremos cual es nuestra ip en la máquina virtual con la orden &#8220;ifconfig&#8221;, una vez la sabemos, vamos a un navegador (mi caso Firefox) y introducimos:</p>
<p><em>&#8220;https://IP_Sistema_Virtual:10000&#8243; </em></p>
<p>Nos saldrá una página de seguridad porque el certificado no es de confianza pero podemos entrar con los siguientes pasos:</p>
<p style="padding-left:30px;">Le damos a &#8220;Entiendo los riesgos&#8221;, &#8220;Añadir excepción&#8221;, y en la ventana que nos saldrá, le damos a &#8220;Obtener certificado&#8221; y a &#8220;Confirmar excepción de seguridad&#8221;.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/webmin.png"><img class="aligncenter size-medium wp-image-77" title="webmin" src="http://4roberto.files.wordpress.com/2010/02/webmin.png?w=300&#038;h=156" alt="" width="300" height="156" /></a></p>
<p>Ahora ponemos nuestra ID de root y su contraseña, y entraremos en nuestro Debian por via <a href="http://www.webmin.com/">Webmin</a>.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura2.png"><img class="aligncenter size-medium wp-image-79" title="Captura2" src="http://4roberto.files.wordpress.com/2010/02/captura2.png?w=300&#038;h=130" alt="" width="300" height="130" /></a><a href="http://4roberto.files.wordpress.com/2010/02/captura.png"><img class="aligncenter size-medium wp-image-80" title="Captura" src="http://4roberto.files.wordpress.com/2010/02/captura.png?w=300&#038;h=131" alt="" width="300" height="131" /></a></p>
<p>A continuación sincronizaremos los usuarios UNIX con los SAMBA:</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura3.png"><img class="aligncenter size-medium wp-image-83" title="Captura3" src="http://4roberto.files.wordpress.com/2010/02/captura3.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura41.png"><img class="aligncenter size-medium wp-image-85" title="Captura4" src="http://4roberto.files.wordpress.com/2010/02/captura41.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura5.png"><img class="aligncenter size-medium wp-image-86" title="Captura5" src="http://4roberto.files.wordpress.com/2010/02/captura5.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura6.png"><img class="aligncenter size-medium wp-image-87" title="Captura6" src="http://4roberto.files.wordpress.com/2010/02/captura6.png?w=300&#038;h=129" alt="" width="300" height="129" /></a></p>
<p>Ahora crearemos las carpetas compartidas:</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura7.png"><img class="aligncenter size-medium wp-image-88" title="Captura7" src="http://4roberto.files.wordpress.com/2010/02/captura7.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura8.png"><img class="aligncenter size-medium wp-image-89" title="Captura8" src="http://4roberto.files.wordpress.com/2010/02/captura8.png?w=300&#038;h=84" alt="" width="300" height="84" /></a></p>
<p>Presionamos crear y listo.</p>
<p>Ahora le daremos permisos a nuestra carpeta compartida de la siguiente manera:</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura9.png"><img class="aligncenter size-medium wp-image-91" title="Captura9" src="http://4roberto.files.wordpress.com/2010/02/captura9.png?w=300&#038;h=114" alt="" width="300" height="114" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura10.png"><img class="aligncenter size-medium wp-image-92" title="Captura10" src="http://4roberto.files.wordpress.com/2010/02/captura10.png?w=300&#038;h=141" alt="" width="300" height="141" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura11.png"><img class="aligncenter size-medium wp-image-93" title="Captura11" src="http://4roberto.files.wordpress.com/2010/02/captura11.png?w=300&#038;h=118" alt="" width="300" height="118" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura12.png"><img class="aligncenter size-medium wp-image-94" title="Captura12" src="http://4roberto.files.wordpress.com/2010/02/captura12.png?w=300&#038;h=88" alt="" width="300" height="88" /></a></p>
<p>Bien, ahora vamos a crear otra carpeta compartida pero  en este caso haremos haremos que no nos pida ni usuario ni contraseña.</p>
<p>Para eso hemos de jacer practicamente los mismo pasos que con la otra carpeta compartida.</p>
<p>Empezaremos creando la carpeta directamente con el Webmin, para eso seguimos los siguientes pasos.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura7.png"><img class="aligncenter size-medium wp-image-88" title="Captura7" src="http://4roberto.files.wordpress.com/2010/02/captura7.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura13.png"><img class="aligncenter size-medium wp-image-102" title="Captura13" src="http://4roberto.files.wordpress.com/2010/03/captura13.png?w=300&#038;h=86" alt="" width="300" height="86" /></a></p>
<p>Ahora le daremos los permisos.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura14.png"><img class="aligncenter size-medium wp-image-103" title="Captura14" src="http://4roberto.files.wordpress.com/2010/03/captura14.png?w=300&#038;h=120" alt="" width="300" height="120" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura15.png"><img class="aligncenter size-medium wp-image-104" title="Captura15" src="http://4roberto.files.wordpress.com/2010/03/captura15.png?w=300&#038;h=139" alt="" width="300" height="139" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura16.png"><img class="aligncenter size-medium wp-image-105" title="Captura16" src="http://4roberto.files.wordpress.com/2010/03/captura16.png?w=300&#038;h=116" alt="" width="300" height="116" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura17.png"><img class="aligncenter size-medium wp-image-106" title="Captura17" src="http://4roberto.files.wordpress.com/2010/03/captura17.png?w=300&#038;h=82" alt="" width="300" height="82" /></a></p>
<p>Y ahora solo entramos por el navegador de ficheros.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura18.png"><img class="aligncenter size-medium wp-image-109" title="Captura18" src="http://4roberto.files.wordpress.com/2010/03/captura18.png?w=300&#038;h=223" alt="" width="300" height="223" /></a></p>
<p>Bien, por último crearemos un nuevo usuario y le daremos los permisos indicados para que pueda entrar en las carpetas antes creadas (apunts y musica), para eso creamos el usuario (en nuestro caso) &#8220;professor&#8221; desde nuestra máquina virtual, asi que ponemos &#8220;adduser professor&#8221; y rellenamos sus datos.</p>
<p>Una vez hecho convertiremos las usuarios UNIX en usuarios SAMBA.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura20.png"><img class="aligncenter size-medium wp-image-110" title="Captura20" src="http://4roberto.files.wordpress.com/2010/03/captura20.png?w=300&#038;h=112" alt="" width="300" height="112" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura5.png"><img class="aligncenter size-medium wp-image-86" title="Captura5" src="http://4roberto.files.wordpress.com/2010/02/captura5.png?w=300&#038;h=130" alt="" width="300" height="130" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/captura6.png"><img class="aligncenter size-medium wp-image-87" title="Captura6" src="http://4roberto.files.wordpress.com/2010/02/captura6.png?w=300&#038;h=129" alt="" width="300" height="129" /></a></p>
<p>Para acabar vamos a añadir a la carpeta de apunts el nuevo usuario &#8220;professor&#8221;.</p>
<p>Para eso vamos a la carpeta de &#8220;apunts&#8221; y entramos en &#8220;seguridad y control de acceso&#8221;.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura21.png"><img class="aligncenter size-medium wp-image-111" title="Captura21" src="http://4roberto.files.wordpress.com/2010/03/captura21.png?w=300&#038;h=139" alt="" width="300" height="139" /></a></p>
<p>Ahora le ponemos contraseña al usuario &#8220;professor&#8221; para eso vamos a&#8230;</p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura22.png"><img class="aligncenter size-medium wp-image-112" title="Captura22" src="http://4roberto.files.wordpress.com/2010/03/captura22.png?w=300&#038;h=72" alt="" width="300" height="72" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura23.png"><img class="aligncenter size-medium wp-image-113" title="Captura23" src="http://4roberto.files.wordpress.com/2010/03/captura23.png?w=300&#038;h=69" alt="" width="300" height="69" /></a></p>
<p><a href="http://4roberto.files.wordpress.com/2010/03/captura24.png"><img class="aligncenter size-medium wp-image-114" title="Captura24" src="http://4roberto.files.wordpress.com/2010/03/captura24.png?w=300&#038;h=78" alt="" width="300" height="78" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=75&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/03/02/creacion-de-recursos-compartidos-por-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/usuarioestudiant.png?w=300" medium="image">
			<media:title type="html">usuarioestudiant</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/webmin.png?w=300" medium="image">
			<media:title type="html">webmin</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura2.png?w=300" medium="image">
			<media:title type="html">Captura2</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura.png?w=300" medium="image">
			<media:title type="html">Captura</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura3.png?w=300" medium="image">
			<media:title type="html">Captura3</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura41.png?w=300" medium="image">
			<media:title type="html">Captura4</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura5.png?w=300" medium="image">
			<media:title type="html">Captura5</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura6.png?w=300" medium="image">
			<media:title type="html">Captura6</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura7.png?w=300" medium="image">
			<media:title type="html">Captura7</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura8.png?w=300" medium="image">
			<media:title type="html">Captura8</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura9.png?w=300" medium="image">
			<media:title type="html">Captura9</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura10.png?w=300" medium="image">
			<media:title type="html">Captura10</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura11.png?w=300" medium="image">
			<media:title type="html">Captura11</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura12.png?w=300" medium="image">
			<media:title type="html">Captura12</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura7.png?w=300" medium="image">
			<media:title type="html">Captura7</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura13.png?w=300" medium="image">
			<media:title type="html">Captura13</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura14.png?w=300" medium="image">
			<media:title type="html">Captura14</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura15.png?w=300" medium="image">
			<media:title type="html">Captura15</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura16.png?w=300" medium="image">
			<media:title type="html">Captura16</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura17.png?w=300" medium="image">
			<media:title type="html">Captura17</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura18.png?w=300" medium="image">
			<media:title type="html">Captura18</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura20.png?w=300" medium="image">
			<media:title type="html">Captura20</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura5.png?w=300" medium="image">
			<media:title type="html">Captura5</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/captura6.png?w=300" medium="image">
			<media:title type="html">Captura6</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura21.png?w=300" medium="image">
			<media:title type="html">Captura21</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura22.png?w=300" medium="image">
			<media:title type="html">Captura22</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura23.png?w=300" medium="image">
			<media:title type="html">Captura23</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/03/captura24.png?w=300" medium="image">
			<media:title type="html">Captura24</media:title>
		</media:content>
	</item>
		<item>
		<title>Subneting con VirtualBox. Linux</title>
		<link>http://4roberto.wordpress.com/2010/02/03/subneting-con-virtualbox-linux/</link>
		<comments>http://4roberto.wordpress.com/2010/02/03/subneting-con-virtualbox-linux/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 12:30:39 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=58</guid>
		<description><![CDATA[Lo primero que haremos será abrir el VirtualBox y arrancar nuestra máquina virtual, en nuestro caso Debian. Una vez haya arrancado, haremos una copia de seguridad del apartado &#8220;interfaces&#8221;, para eso introducimos &#8220;cp /etc/network/interfaces /etc/network/interfaces3&#8243; por ejemplo. Ahora que ya tenemos la copia de seguridad hecha podemos modificarla sin peligro a que perdamos nada que [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=58&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lo primero que haremos será abrir el VirtualBox y arrancar nuestra máquina virtual, en nuestro caso Debian.</p>
<p>Una vez haya arrancado, haremos una copia de seguridad del apartado &#8220;interfaces&#8221;, para eso introducimos &#8220;cp /etc/network/interfaces /etc/network/interfaces3&#8243; por ejemplo.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/copiared3.png"><img class="aligncenter size-medium wp-image-59" title="copiared3" src="http://4roberto.files.wordpress.com/2010/02/copiared3.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Ahora que ya tenemos la copia de seguridad hecha podemos modificarla sin peligro a que perdamos nada que nos interesase.</p>
<p>A continuación editaremos el fichero de red, en mia caso usaremos el editor &#8220;vim&#8221;, para entrar solo hemos de introducir:&#8221;vim /etc/network/interfaces&#8221;, y una vez dento presionamos la letra &#8220;i&#8221; para editar el fichero, cambiamos los datos que hay por las siguientes parámetros:</p>
<p><a href="http://4roberto.files.wordpress.com/2010/02/subneting.png"><img class="alignright size-medium wp-image-60" title="subneting" src="http://4roberto.files.wordpress.com/2010/02/subneting.png?w=300&#038;h=240" alt="" width="300" height="240" /></a>#The primary netwok interface</p>
<p>auto eth0</p>
<p>iface eth0 inet static</p>
<p style="padding-left:30px;">address 192.178.2.101</p>
<p style="padding-left:30px;">netmask 255.255.255.224</p>
<p style="padding-left:30px;">network 192.178.2.96</p>
<p style="padding-left:30px;">broadcast 192.178.2.127</p>
<p style="padding-left:30px;">gateway 192.178.2.1</p>
<p>Pulsamos &#8220;Ctrl+C&#8221; y escribimos &#8220;:x&#8221; para que se nos guarden los cambios efectuados.</p>
<p>Una vez hecho todo esto reiniciaremos la red poniendo lo siguiente:</p>
<p>&#8220;etc/init.d/networking restart&#8221;</p>
<p style="text-align:left;"><a href="http://4roberto.files.wordpress.com/2010/02/restart.png"><img class="aligncenter size-medium wp-image-61" title="restart" src="http://4roberto.files.wordpress.com/2010/02/restart.png?w=180&#038;h=144" alt="" width="180" height="144" /></a></p>
<p style="text-align:left;">Ahora comprobamos que estamos conectados en nuestro sector usando el &#8220;nmap&#8221; y ponemos: &#8220;nmap -sP 192.178.2.96/27&#8243;</p>
<p style="text-align:left;"><a href="http://4roberto.files.wordpress.com/2010/02/nmap.png"><img class="aligncenter size-medium wp-image-63" title="nmap" src="http://4roberto.files.wordpress.com/2010/02/nmap.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=58&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/02/03/subneting-con-virtualbox-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/copiared3.png?w=300" medium="image">
			<media:title type="html">copiared3</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/subneting.png?w=300" medium="image">
			<media:title type="html">subneting</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/restart.png?w=300" medium="image">
			<media:title type="html">restart</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/02/nmap.png?w=300" medium="image">
			<media:title type="html">nmap</media:title>
		</media:content>
	</item>
		<item>
		<title>Montar Firewall en máquina virtual con Debian, Linux.</title>
		<link>http://4roberto.wordpress.com/2010/01/19/montar-firewall-en-maquina-virtual-con-debian-linux/</link>
		<comments>http://4roberto.wordpress.com/2010/01/19/montar-firewall-en-maquina-virtual-con-debian-linux/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 09:27:05 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=50</guid>
		<description><![CDATA[Bien, para empezar la configuración hemos de ir a la configuración de la máquina virtual en la que vamos a crear el Firewall. Para eso entramos en la configuración y vamos a la pestaña de redes, una vez dentro habilitamos los &#8220;Adaptadores&#8221; y los conectamos como &#8220;Adaptador puente&#8221;. Ahora podemos iniciar nuestro Debian virtualizado. Una [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=50&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Bien, para empezar la configuración hemos de ir a la configuración de la máquina virtual en la que vamos a crear el Firewall. Para eso entramos en la configuración y vamos a la pestaña de redes, una vez dentro habilitamos los &#8220;Adaptadores&#8221; y los conectamos como &#8220;Adaptador puente&#8221;.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/01/adaptadores.png"><img class="aligncenter size-medium wp-image-51" title="adaptadores" src="http://4roberto.files.wordpress.com/2010/01/adaptadores.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Ahora podemos iniciar nuestro Debian virtualizado. Una vez se haya iniciado nos podemos conectar como &#8220;administrador&#8221; o &#8220;root&#8221;, para eso usamos el comando &#8220;su&#8221; y introducimos nuestra contraseña. Para empezar realizaremos una copia de la configuracion e la &#8220;interfaces&#8221;, para eso introducimos &#8220;cp /etc/network/interfaces /etc/network/interfaces2&#8243;.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/01/copia-cp2.png"><img class="aligncenter size-medium wp-image-54" title="copia cp" src="http://4roberto.files.wordpress.com/2010/01/copia-cp2.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Ahora ya podemos empezar a construir nuestro Firewall. Para eso entramos en la configuración de la red, ponemos &#8220;vim /etc/network/interfaces&#8221;, una vez dentro pulsamos la letra &#8220;i&#8221; para editarla y cambiamos los datos que tenemos por los siguientes.</p>
<p><em>auto eth0<br />
iface eth0 inet static<br />
address 192.178.2.1</em><br />
<em> netmask 255.255.255.0<br />
network 192.178.2.0</em><em><a href="http://4roberto.files.wordpress.com/2010/01/firewall.png"><img class="size-medium wp-image-55 alignright" title="firewall" src="http://4roberto.files.wordpress.com/2010/01/firewall.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></em><br />
<em> broadcast 192.178.2.255</em></p>
<p><em>auto eth1</em><br />
<em> iface eth1 inet static</em><br />
<em> address 192.178.1.1<br />
netmask 255.255.255.0<br />
network 192.178.1.0<br />
broadcast 192.178.1.255</em></p>
<p><em>auto eth2</em><br />
<em> iface eth2 inet static</em><br />
<em> address 192.178.3.1<br />
netmask 255.255.255.0</em><br />
<em> network 192.178.3.0<br />
broadcast 192.178.3.255</em></p>
<p><em>auto eth3<br />
iface eth3 inet dhcp</em></p>
<p>Para salir presionamos &#8220;Ctrl+C&#8221; y lo guardamos escribiendo &#8220;:x&#8221; .</p>
<p>A continuación vamos a reiniciar la red, para eso escribimos: &#8220;/etc/init.d/networking restart&#8221;</p>
<p><a href="http://4roberto.files.wordpress.com/2010/01/restart1.png"><img class="aligncenter size-medium wp-image-56" title="restart" src="http://4roberto.files.wordpress.com/2010/01/restart1.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Y si ahora introducimos el comando &#8220;ifconfig&#8221; nos mostrará las conexiones que hemos instalado.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=50&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/01/19/montar-firewall-en-maquina-virtual-con-debian-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/adaptadores.png?w=300" medium="image">
			<media:title type="html">adaptadores</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/copia-cp2.png?w=300" medium="image">
			<media:title type="html">copia cp</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/firewall.png?w=300" medium="image">
			<media:title type="html">firewall</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/restart1.png?w=300" medium="image">
			<media:title type="html">restart</media:title>
		</media:content>
	</item>
		<item>
		<title>Montar 2 tarjetas de red para máquina virtual con Debian. Linux</title>
		<link>http://4roberto.wordpress.com/2010/01/15/montar-2-targetas-de-red-para-maquina-virtual-con-debian-linux/</link>
		<comments>http://4roberto.wordpress.com/2010/01/15/montar-2-targetas-de-red-para-maquina-virtual-con-debian-linux/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 09:53:42 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=40</guid>
		<description><![CDATA[Para empezar abrimos el VirtualBox y vamos a la configuración de red de nuestra máquina virtual y habilitamos el segundo adaptador, lo conectamos a, adaptador puente, para poder conectarla con la máquina real y aceptamos. Ahora ya podemos arrancar la máquina virtual, una vez dentro nos conectamos como root, con el comando “su”, introducimos nuestra contraseña. Ahora lo que vamos a hacer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=40&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Para empezar abrimos el VirtualBox y vamos a la configuración de red de nuestra máquina virtual y habilitamos el segundo adaptador, lo conectamos a, adaptador puente, para poder conectarla con la máquina real y aceptamos.<br />
<a href="http://4roberto.files.wordpress.com/2010/01/2adaptador.png"><img class="aligncenter size-medium wp-image-39" title="2adaptador" src="http://4roberto.files.wordpress.com/2010/01/2adaptador.png?w=300&#038;h=240" alt="" width="300" height="240" /></a><br />
Ahora ya podemos arrancar la máquina virtual, una vez dentro nos conectamos como root, con el comando “su”, introducimos nuestra contraseña.</p>
<p>Ahora lo que vamos a hacer es copiar el archivo de configuración de red, por si surge algún problema poder recuperarlo, para eso escribimos:<br />
“cp /etc/network/interfaces /etc/network/interfaces1”</p>
</div>
<div><a href="http://4roberto.files.wordpress.com/2010/01/copiared.png"><img class="aligncenter size-medium wp-image-41" title="copiared" src="http://4roberto.files.wordpress.com/2010/01/copiared.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></div>
<div>Para comprobar que se ha copiado, escribimos:  “ls /etc/network/” <a href="http://4roberto.files.wordpress.com/2010/01/copiared2.png"><img class="aligncenter size-medium wp-image-42" title="copiared2" src="http://4roberto.files.wordpress.com/2010/01/copiared2.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Ahora ya tendremos la copia y pasamos a modificar la configuración de red. Para eso vamos al editor “vim” (también puedes usar el nano, pero a mi me va mejor este.)<br />
“vim /etc/network/interfaces”<br />
una vez hemos entrado con el editor “vim” presionamos “i” para editar el archivo y cambiar la configuración que nos sale por la siguiente:<br />
<a href="http://4roberto.files.wordpress.com/2010/01/redeth.png"><img class="size-medium wp-image-43 alignright" title="redeth" src="http://4roberto.files.wordpress.com/2010/01/redeth.png?w=279&#038;h=209" alt="" width="279" height="209" /></a><br />
auto eth0<br />
iface eth0 inet dhcp</p>
<p>auto eth1<br />
iface eth1 inet static<br />
address 192.178.2.51<br />
netmask 255.255.255.0<br />
network 192.178.2.0<br />
broadcast 192.178.2.255</p>
</div>
<div>Una vez hecho esto presionamos “ctrl+C” y escribimos “:x”, si no te deja guardar escribe “:x!”. Ahora ya se nos abra guardado la configuración de nuestra red.</p>
<p>Ahora hemos de tirar y levantar la red, para eso escribimos  “/etc/init.d/networking restart”</p>
</div>
<div><a href="http://4roberto.files.wordpress.com/2010/01/restart.png"><img class="aligncenter size-medium wp-image-45" title="restart" src="http://4roberto.files.wordpress.com/2010/01/restart.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></div>
<div>ahora se nos reiniciará nuestra red de la máquina virtual y si escribimos “ifconfig” veremos como nos salen las conexiones de red que hemos añadido.</div>
<div><a href="http://4roberto.files.wordpress.com/2010/01/redesifconfig.png"><img class="aligncenter size-medium wp-image-44" title="redesifconfig" src="http://4roberto.files.wordpress.com/2010/01/redesifconfig.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=40&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/01/15/montar-2-targetas-de-red-para-maquina-virtual-con-debian-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/2adaptador.png?w=300" medium="image">
			<media:title type="html">2adaptador</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/copiared.png?w=300" medium="image">
			<media:title type="html">copiared</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/copiared2.png?w=300" medium="image">
			<media:title type="html">copiared2</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/redeth.png?w=300" medium="image">
			<media:title type="html">redeth</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/restart.png?w=300" medium="image">
			<media:title type="html">restart</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/redesifconfig.png?w=300" medium="image">
			<media:title type="html">redesifconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Crear Red en Máquina virtual de Linux</title>
		<link>http://4roberto.wordpress.com/2010/01/13/13/</link>
		<comments>http://4roberto.wordpress.com/2010/01/13/13/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 11:43:12 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=13</guid>
		<description><![CDATA[Lo que vamos a hacer ahora va a ser, crear una red nueva y nombrar las redes de nuestra máquina virtual. Para empezar tenemos que editar la interfaces: Ponemos “vim /etc/network/interfaces” y ponemos los siguientes datos: iface trabajo inet static address 192.178.2.51 netmask 255.255.255.0 network 192.178.2.0 broadcast 192.178.2.255 gateway 192.178.2.1 iface casa inet static address [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=13&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } -->Lo que vamos a hacer ahora va a ser, crear una red nueva y nombrar las redes de nuestra máquina virtual.</p>
<p>Para empezar tenemos que editar la interfaces:</p>
<p>Ponemos “vim /etc/network/interfaces” y ponemos los siguientes datos:</p>
<p><span style="color:#000000;"> </span></p>
<p><em><span style="color:#000000;">iface trabajo inet static</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> address 192.178.2.51</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> netmask 255.255.255.0</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> network 192.178.2.0</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> broadcast 192.178.2.255</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> gateway 192.178.2.1</span></em></p>
<p><em><span style="color:#000000;">iface casa inet static</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> address 192.178.1.51</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> netmask 255.255.255.0</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> network 192.178.1.0</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> broadcast 192.178.1.255</span></em></p>
<p style="padding-left:30px;"><em><span style="color:#000000;"> gateway 192.178.1.1</span></em></p>
<p style="text-align:center;"><em><span style="color:#000000;"><a href="http://4roberto.files.wordpress.com/2010/01/nombre.png"><img class="size-medium wp-image-14 aligncenter" title="nombre" src="http://4roberto.files.wordpress.com/2010/01/nombre.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></span></em><br />
Una vez hemos acabado de escribirlo pulsamos &#8220;ctrl+C&#8221; y introducimos &#8220;:x&#8221;, de esta forma guardaremos todo lo que hemos escrito.</p>
<p>A continuación introducimos el comando &#8220;ifup eth0=casa&#8221; y de esta forma entraremos en la red que hemos creado, podemos confirmarlo introduciendo el comando &#8220;ifconfig&#8221;.</p>
<p style="text-align:center;"><a href="http://4roberto.files.wordpress.com/2010/01/red-trabajo.png"><img class="size-medium wp-image-15 aligncenter" title="red trabajo" src="http://4roberto.files.wordpress.com/2010/01/red-trabajo.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Ahora comprobaremos que también podemos entrar en la otra red que tenemos, ahora nombrada &#8220;trabajo&#8221;.</p>
<p>Para eso primero deberemos salir de la red en la que estábamos, introduciendo &#8220;ifdown eth0=casa&#8221;, ahora ponemos &#8220;ifup eth0=trabajo&#8221; y comprobamos que hemos entrado bien con &#8220;ifconfig&#8221;.</p>
<p style="text-align:center;"><a href="http://4roberto.files.wordpress.com/2010/01/redtrabajo.png"><img class="size-medium wp-image-16 aligncenter" title="redtrabajo" src="http://4roberto.files.wordpress.com/2010/01/redtrabajo.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=13&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/01/13/13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/nombre.png?w=300" medium="image">
			<media:title type="html">nombre</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/red-trabajo.png?w=300" medium="image">
			<media:title type="html">red trabajo</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/redtrabajo.png?w=300" medium="image">
			<media:title type="html">redtrabajo</media:title>
		</media:content>
	</item>
		<item>
		<title>Configurar la red de nuestra máquina virtual en Linux</title>
		<link>http://4roberto.wordpress.com/2010/01/12/configurar-la-red-de-nuesrta-maquina-virtual-sin-cambiar-el-host/</link>
		<comments>http://4roberto.wordpress.com/2010/01/12/configurar-la-red-de-nuesrta-maquina-virtual-sin-cambiar-el-host/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 09:50:58 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=9</guid>
		<description><![CDATA[Configurar la red de la máquina virtual para que tenga el mismo host que en del ejercicio 1 pero con la dirección de red 192.178.2.0/24. La puerta de enlace assignau-al host 192.178.2.1 Para empezar, averigamos cual es nuestra IP de la máquina virtual, con el comando “ifconfig”, en nuestro caso pondremos 192.168.2.46. Una vez sabemos nuestra IP, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=9&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Configurar la red de la máquina virtual para que tenga el mismo host que en del ejercicio 1 pero con la dirección de red 192.178.2.0/24. La puerta de enlace assignau-al host 192.178.2.1</p>
<div>Para empezar, averigamos cual es nuestra IP de la máquina virtual, con el comando “ifconfig”, en nuestro caso pondremos 192.168.2.46.<br />
Una vez sabemos nuestra IP, introducimos la dirección: “vim /etc/network/interfaces” de esta manera entraremos en un editor para configurar la “interfaces”. Presionamos la letra “I” para editarlos y cambiamos los datos que nos aparecen por:</div>
<div>auto eth0<br />
iface eth0 inet static<br />
address 192.178.2.46<br />
netmask 255.255.255.0<br />
network 192.178.2.0<br />
broadcast 192.178.2.255<br />
gateway 192.178.2.1</div>
<div><a href="http://4roberto.files.wordpress.com/2010/01/captura-11.png"><img class="size-medium wp-image-20 aligncenter" title="Captura-1" src="http://4roberto.files.wordpress.com/2010/01/captura-11.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></div>
<div>Una vez copiado todo esto presionamos ctrl+C para salir del editor y escribimos “:x” de esta manera saldremos y se guardarán los cambios que hemos realizado.</div>
<div>Lo siguiente que hemos de hacer es tirar la red, y eso lo conseguiremos con el comando “ifdown eth0” (ponemos eth0 porque es el nombre de nuestra red), y ahora la levantamos con el comando “ifup eth0”.</div>
<div>Ahora introducimos “ifconfig” y veremos como nuestra IP a cambia de 192.168.2.46 por la 192.178.2.46, esto significa que ahora estamos en otra dirección de red, por lo tanto ya no nos podremos conectar via ssh con nuesrta máquina real y tampoco conectarnos a internet.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=9&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/01/12/configurar-la-red-de-nuesrta-maquina-virtual-sin-cambiar-el-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/captura-11.png?w=300" medium="image">
			<media:title type="html">Captura-1</media:title>
		</media:content>
	</item>
		<item>
		<title>Conectar Máquina Real con Máquina Virtual via SFTP con Linux</title>
		<link>http://4roberto.wordpress.com/2010/01/12/conectar-maquina-real-con-maquina-virtual-via-sftp/</link>
		<comments>http://4roberto.wordpress.com/2010/01/12/conectar-maquina-real-con-maquina-virtual-via-sftp/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 09:27:05 +0000</pubDate>
		<dc:creator>4roberto</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://4roberto.wordpress.com/?p=4</guid>
		<description><![CDATA[Ejercicio encargado del colegio de Es Liceu. Si tenemos el Ubuntu, abrimos la terminal y ponemos el comando “ifconfig” (sin comillas), de este modo podremos averiguar nuestra ip (en nuestro caso: 192.168.2.51 ). Y a continuación abrimos la máquina virtual, y también ponemos el comando “ifconfig” para saber la ip de tu máquina virtual (en nuestro caso: 192.168.2.48). Una [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=4&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Ejercicio encargado del colegio de <a href="http://www.esliceu.com/">Es Liceu</a>.</div>
<div></div>
<div>Si tenemos el Ubuntu, abrimos la terminal y ponemos el comando “ifconfig” (sin comillas), de este modo podremos averiguar nuestra ip (en nuestro caso: 192.168.2.51 ). Y a continuación abrimos la máquina virtual, y también ponemos el comando “ifconfig” para saber la ip de tu máquina virtual (en nuestro caso: 192.168.2.48).</div>
<div>
<p>Una vez hecho esto, aprietas (en tu ordenador principal) “Alt + F2” y introduces, “Nautilus”, y así podras navegar via “sftp”.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/01/f2nau.png"><img class="aligncenter size-medium wp-image-28" title="f2nau" src="http://4roberto.files.wordpress.com/2010/01/f2nau.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
<p>Una vez dentro ponemos en la casilla de arriba: “sftp://(tu usuario de tu máquina virtual)@(ip de tu máquina virtual)”.</p>
<p><em>Ejemplo: sftp://roberto@192.168.2.84</em></p>
<p><em><a href="http://4roberto.files.wordpress.com/2010/01/contrasena.png"><img class="aligncenter size-medium wp-image-29" title="Contraseña" src="http://4roberto.files.wordpress.com/2010/01/contrasena.png?w=300&#038;h=240" alt="" width="300" height="240" /></a><br />
</em></p>
</div>
<div>Una vez introducida tu enlace de sftp te pedirá la contraseña de tu máquina virtual, la introduces y ya estarás dentro de tu máquina virtual.</div>
<div><a href="http://4roberto.files.wordpress.com/2010/01/nautilus.png"><img class="aligncenter size-medium wp-image-31" title="nautilus" src="http://4roberto.files.wordpress.com/2010/01/nautilus.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></div>
<div>
<p>A continuación introduciremos un archivo de texto del ordenador a la máquina virtual, para eso entramos en la carpeta “/home” y después en la carpeta de tu usuario en nuestro caso “/roberto”<br />
y una vez dentro podremos introducir nuestro documento.</p>
<p><a href="http://4roberto.files.wordpress.com/2010/01/homeroberto.png"><img class="aligncenter size-medium wp-image-30" title="homeroberto" src="http://4roberto.files.wordpress.com/2010/01/homeroberto.png?w=300&#038;h=240" alt="" width="300" height="240" /></a></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/4roberto.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/4roberto.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/4roberto.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=4roberto.wordpress.com&amp;blog=11313281&amp;post=4&amp;subd=4roberto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://4roberto.wordpress.com/2010/01/12/conectar-maquina-real-con-maquina-virtual-via-sftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4978f7f9e78d41d00ec44da943479d5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">4roberto</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/f2nau.png?w=300" medium="image">
			<media:title type="html">f2nau</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/contrasena.png?w=300" medium="image">
			<media:title type="html">Contraseña</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/nautilus.png?w=300" medium="image">
			<media:title type="html">nautilus</media:title>
		</media:content>

		<media:content url="http://4roberto.files.wordpress.com/2010/01/homeroberto.png?w=300" medium="image">
			<media:title type="html">homeroberto</media:title>
		</media:content>
	</item>
	</channel>
</rss>
