[Lxc-users] lxc networking using nat

Serge E. Hallyn serue at us.ibm.com
Mon Apr 5 19:54:22 UTC 2010


Quoting Mikhail Gusarov (dottedmag at dottedmag.net):
> 
> Twas brillig at 12:52:05 05.04.2010 UTC-05 when serue at us.ibm.com did gyre and gimble:
> 
>  SEH> Any idea of the best way to implement this in lxc?  Just add some
>  SEH> code into setup_netdev() to recognize and handle a 'use_nat'
>  SEH> option?
> 
> I did a crude hack (post-up script in /etc/network/interfaces), though
> the best way IMHO is to put distribution-specific hooks into network
> configuration. Think of wireless going up and down or laptop switching
> between Ethernet and wireless as it gets docked/undocked and adjustments
> of routing and NAT needed.
> 
> I will share my Debian-specific scripts as soon as I get it to work
> reliably.
> 
> -- 
>   http://fossarchy.blogspot.com/

Cool, thanks, looking forward to it.

-serge




More information about the lxc-users mailing list