Re: [lxc-users] Network connection on a Debian unstable host

2015-03-24 Thread Geordie
Fajar The problem has been solved. I went back through all the notes I kept when I started this last year. In an obscure note I found a mention of gateway ie lxc.network.ipv4.gateway so now my /var/lib/lxc/lsmb1/config looks like this # Distribution configuration lxc.include = /usr/share/lxc

Re: [lxc-users] Network connection on a Debian unstable host

2015-03-24 Thread Geordie
Fajar > > Try a simple "ping -n 10.0.0.1" on the container, and on the host > side do # ping -n 10.0.0.1 bash: ping: command not found > > tcpdump -n -i eth0 host 10.0.0.1 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet

Re: [lxc-users] Network connection on a Debian unstable host

2015-03-24 Thread Fajar A. Nugraha
On Tue, Mar 24, 2015 at 8:46 PM, Geordie wrote: > Should vethYPF29L not have an ipv4 address? No > > you haven't enable /proc/sys/net/ipv4/ip_forward > has been enabled > > Any other thoughts or should I try 1.1? Try a simple "ping -n 10.0.0.1" on the container, and on the host side do tcpdu

Re: [lxc-users] Network connection on a Debian unstable host

2015-03-24 Thread Geordie
Devon B. Thank You I have cleaned the host and container. To start with, you have inconsistencies between your config and interfaces. 10.0.0.15/8 would be netmask 255.0.0.0, broadcast 10.255.255.255. I'm not sure if that makes a difference but you should This is a supplied router by the WIS

Re: [lxc-users] Network connection on a Debian unstable host

2015-03-22 Thread Fajar A. Nugraha
On Sun, Mar 22, 2015 at 10:53 PM, Geordie wrote: > /etc/lxc/default.conf > lxc.utsname =lsmb1 > lxc.network.type=veth > lxc.network.flags=up > lxc.network.link=br0 > lxc.network.hwaddr=ac:de:48:00:00:15 is the a unique MAC address? If you're unsure, just leave it empty. > lxc.network.ipv4=10.0.0

Re: [lxc-users] Network connection on a Debian unstable host

2015-03-22 Thread Devon B.
To start with, you have inconsistencies between your config and interfaces. 10.0.0.15/8 would be netmask 255.0.0.0, broadcast 10.255.255.255. I'm not sure if that makes a difference but you should probably be consistent and learn what the prefix size means. You're using prefix=24 in interfaces

[lxc-users] Network connection on a Debian unstable host

2015-03-22 Thread Geordie
/etc/lxc/default.conf lxc.utsname =lsmb1 lxc.network.type=veth lxc.network.flags=up lxc.network.link=br0 lxc.network.hwaddr=ac:de:48:00:00:15 lxc.network.ipv4=10.0.0.15 lxc.id_map = u 0 10 65536 lxc.id_map = g 0 10 65536 /etc/network/interfaces # The loopback network interface auto lo ifac