[Lxc-users] Networking between host and container

2012-12-28 Thread Marko Anastasov
Hello, What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the container using its hostname as handle, instead of an IP address. I'm using the default template in Ubuntu 12.04. I have made a container template that I want to reuse. My first

Re: [Lxc-users] Networking between host and container

2012-12-28 Thread Stéphane Graber
On 12/28/2012 10:27 AM, Marko Anastasov wrote: Hello, What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the container using its hostname as handle, instead of an IP address. I'm using the default template in Ubuntu 12.04. I have made

Re: [Lxc-users] Networking between host and container

2012-12-28 Thread Rob van der Hoeven
What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the container using its hostname as handle, instead of an IP address. I'm using the default template in Ubuntu 12.04. I have made a container template that I want to reuse. My setup

Re: [Lxc-users] Networking between host and container

2012-12-28 Thread Marko Anastasov
On Dec 28, 2012, at 11:47 , Stéphane Graber stgra...@ubuntu.com wrote: On 12/28/2012 10:27 AM, Marko Anastasov wrote: Hello, What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the container using its hostname as handle, instead of an

Re: [Lxc-users] Networking between host and container

2012-12-28 Thread Marko Anastasov
On Dec 28, 2012, at 13:07 , Rob van der Hoeven robvanderhoe...@ziggo.nl wrote: What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the container using its hostname as handle, instead of an IP address. I'm using the default template in

Re: [Lxc-users] Networking between host and container

2012-12-28 Thread Stéphane Graber
On 12/28/2012 01:20 PM, Marko Anastasov wrote: On Dec 28, 2012, at 11:47 , Stéphane Graber stgra...@ubuntu.com wrote: On 12/28/2012 10:27 AM, Marko Anastasov wrote: Hello, What is the best way to broadcast container's hostname to host? I want to be able to ssh from host into the