Re: [lxc-users] Ubuntu container IP address

2015-11-20 Thread Jäkel , Guido
on-Ubuntu user Guido >-Original Message- >From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf >Of Robert Koretsky >Sent: Friday, November 20, 2015 12:53 AM >To: LXC users mailing-list >Subject: Re: [lxc-users] Ubuntu container IP address > >Guido: >

[lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
I have successfully installed and created/started an LXC container on Ubuntu 15.10, but cannot get it to be visible on my home network. I do an ifconfig on both the host and in the container, and see the IPv4 address of lxcbr0 as 10.0.3.1, but after reading many, many convoluted and complex

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Luis Michael Ibarra
typo. I meant to expose a container. > In summary: > 1. If you are using a bridge not associated with a host interface(nic) and you want to expose a CONTAINER: > > - Only configure NAT on the host. > > 2. If you want to connect a host interface to the bridge having communication with the host

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Luis: Much thanks! Robert M. Koretsky On Thu, Nov 19, 2015 at 4:52 PM, Luis Michael Ibarra < michael.iba...@gmail.com> wrote: > Hi all, > > On Nov 19, 2015 6:09 PM, "Robert Koretsky" wrote: > > > > Fajar: > > Thanks for the references to the Ubuntu lxc and the network bridge

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Guido Jäkel
On 19.11.2015 21:42, Robert Koretsky wrote: > I have successfully installed and created/started an LXC container on > Ubuntu 15.10, but cannot get it to be visible on my home network. I do an > ifconfig on both the host and in the container, and see the IPv4 address of > lxcbr0 as 10.0.3.1, but

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Fajar: Thanks for the references to the Ubuntu lxc and the network bridge docs, I will carefully look those over for a solution to my problem. I did look at those docs first, and tried various modifications to the configuration files shown there, but didn't get anywhere. I will look again. In

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Guido Jäkel
On 19.11.2015 23:04, Robert Koretsky wrote: > Again, can anyone tell me why lxcbr0 is configured to start with an IP of > 10.0.3.1? My Ubuntu 15.10 Desktop machine, which has a container, gets its > IP via DHCP from a router. "Because" 10.0.0.0/8 is a reserved private network range like

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Guido et al: Another suggestion I got from the Ubuntu Forums on virtualisation gave me a single line that could be added to the iptables configuration( and also some other alternate ways of using and configuring ufw) to achieve a "port forwarding" of a port of interest, like 22, to the container

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Fajar A. Nugraha
On Fri, Nov 20, 2015 at 5:04 AM, Robert Koretsky wrote: > Guido et al: > Another suggestion I got from the Ubuntu Forums on virtualisation gave me > a single line that could be added to the iptables configuration( and also > some other alternate ways of using and configuring