[Lxc-users] Network interface isolation

jeetu.golani at gmail.com jeetu.golani at gmail.com
Mon May 14 15:14:58 UTC 2012


Thanks so much Matthijs :)....truly appreciate the help :)....will try
this out :)

Regards,
Jeetu
ebrain.in | Beehive Computing
Discover and run software from devices around you - share your
software and computing resources. A GPLv3 licensed project.


On Mon, May 14, 2012 at 8:07 PM, Matthijs Kooijman <matthijs at stdin.nl> wrote:
> Hi Jeetu,
>
>> I would appreciate if someone could shed light as to if this is normal
>> and expected behaviour and if so how could I bring about network
>> isolation within my container.
> AFAIU, this is normal: If you don't configure any networks within the
> lxc config file, no network isolation happens and the container shares
> the same network stack as the host.
>
> So it should be sufficient to just add network configuration. For
> example, to give the container access to (just) the eth0 device:
>
> lxc.network.type = phys
> lxc.network.link = eth0
>
> I think these should be sufficient (not using this configuration myself,
> though).
>
> Gr.
>
> Matthijs
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk+xGMIACgkQz0nQ5oovr7xBHwCfad342fvu/73nrI69xIYtSYui
> cLUAoLy+AHcT7rCejAFpthUZfcyIlft7
> =zWU7
> -----END PGP SIGNATURE-----
>




More information about the lxc-users mailing list