informatica:linux:virtualizacion:lxc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
informatica:linux:virtualizacion:lxc [2015/08/06 21:45] – jose | informatica:linux:virtualizacion:lxc [2015/08/06 23:09] (current) – jose | ||
---|---|---|---|
Line 156: | Line 156: | ||
Linux mldonkey 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17) x86_64 GNU/Linux | Linux mldonkey 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17) x86_64 GNU/Linux | ||
+ | ====== RED ====== | ||
+ | En el host tenemos que crear un bridge con nuestra tarjeta de red: | ||
+ | < | ||
+ | auto br0 | ||
+ | iface br0 inet dhcp | ||
+ | bridge_ports eth0 | ||
+ | bridge_fd 0 | ||
+ | bridge_maxwait 0 | ||
+ | </ | ||
- | + | En el fichero de configuración por defecto ponemos que cada máquina tenga una interficie con el bridge: | |
+ | / | ||
+ | |||
+ | lxc.network.type = veth | ||
+ | lxc.network.flags = up | ||
+ | lxc.network.link = br0 | ||
+ | |||
+ | Cuando creemos una máquina le pondrá esa configuración, | ||
+ | / | ||
+ | |
informatica/linux/virtualizacion/lxc.1438897541.txt.gz · Last modified: 2015/08/06 21:45 by jose