[Lxc-users] DHCP
Daniel Lezcano
daniel.lezcano at free.fr
Wed Jun 23 20:45:10 UTC 2010
On 06/23/2010 08:50 PM, Nirmal Guhan wrote:
> Hi,
>
> How do I use DHCP to configure the interface address and gateway for
> the container? Currently I specify the address in the config file
> which will not work for me in production.
>
> Also, at times I get error when adding default gateway as :
>
> SIOCADDRT: No such process
>
> Googling didn't help me much, so let me know.
>
Use dhclient <interface> command in your container.
More information about the lxc-users
mailing list