> You forgot to paste your config files. thanks, does this help? Its the gateway address that doesn't get set up until I do a ifdown eth0 && ifup eth0
lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = x.x.x.x lxc.utsname = taxibus lxc.tty = 4 lxc.pts = 1024 lxc.rootfs = /var/lib/lxc/test/rootfs lxc.mount = /var/lib/lxc/test/fstab lxc.cgroup.devices.deny = a # /dev/null and zero lxc.cgroup.devices.allow = c 1:3 rwm lxc.cgroup.devices.allow = c 1:5 rwm # consoles lxc.cgroup.devices.allow = c 5:1 rwm lxc.cgroup.devices.allow = c 5:0 rwm #lxc.cgroup.devices.allow = c 4:0 rwm #lxc.cgroup.devices.allow = c 4:1 rwm # /dev/{,u}random lxc.cgroup.devices.allow = c 1:9 rwm lxc.cgroup.devices.allow = c 1:8 rwm lxc.cgroup.devices.allow = c 136:* rwm lxc.cgroup.devices.allow = c 5:2 rwm # rtc lxc.cgroup.devices.allow = c 254:0 rwm /etc/network/interfaces (container) # The loopback network interface auto lo iface lo inet loopback #The primary network interface auto eth0 iface eth0 inet static address x.x.x.x gateway x.x.x.x netmask 255.255.255.0 On 02/07/11 15:31, Papp Tamas wrote: > On 2011-07-02 16:09, Stuart Johnson wrote: >> lxc version: 0.7.4 >> Ubuntu 11.04/natty >> >> >> I have set up my container with a static IP address. If the start the >> container, I can see the IP address in ifconfig, but the route is not >> set up until I do a ifdown eth0&& ifup eth0 >> > You forgot to paste your config files. > > tamas > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Lxc-users mailing list > Lxc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-users ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users