<div dir="ltr">Hey,<div><br></div><div>I made some changes:</div><div><div>root@ns321124:~# cat /etc/network/interfaces</div><div># This file describes the network interfaces available on your system</div><div># and how to activate them. For more information, see interfaces(5).</div>
<div><br></div><div># The loopback network interface</div><div>auto lo</div><div>iface lo inet loopback</div><div><br></div><div><div>auto br0</div><div> iface br0 inet static</div><div> bridge_ports eth0</div>
<div> bridge_stp off</div><div> bridge_maxwait 0</div><div> bridge_fd 0</div><div> address 94.23.237.216</div><div> netmask 255.255.255.0</div><div> network 94.23.237.0</div><div>
broadcast 94.23.237.255</div><div> gateway 94.23.237.254</div><div><br></div><div> post-up /sbin/ifconfig br0:0 91.121.239.228 netmask 255.255.255.255 broadcast 91.121.239.228</div><div> post-down /sbin/ifconfig br0:0 down</div>
</div></div><div><br></div><div><br></div><div><div>root@ns321124:~# cat /var/lib/lxc/Oksymoron/config</div><div># Template used to create this container: /usr/share/lxc/templates/lxc-ubuntu</div><div># Parameters passed to the template:</div>
<div># For additional config options, please look at lxc.container.conf(5)</div><div><br></div><div># Common configuration</div><div>lxc.include = /usr/share/lxc/config/ubuntu.common.conf</div><div><br></div><div># Container specific configuration</div>
<div>lxc.rootfs = /var/lib/lxc/Oksymoron/rootfs</div><div>lxc.mount = /var/lib/lxc/Oksymoron/fstab</div><div>lxc.utsname = Oksymoron</div><div>lxc.arch = amd64</div><div><br></div><div># Network configuration</div><div>lxc.network.type = veth</div>
<div>lxc.network.flags = up</div><div>lxc.network.link = br0</div><div><a href="http://lxc.network.name">lxc.network.name</a> = eth0</div><div>lxc.network.ipv4 = <a href="http://91.121.239.228/32">91.121.239.228/32</a></div>
<div>lxc.network.ipv4.gateway = 91.121.239.254</div><div>lxc.network.hwaddr = 00:16:3e:3e:35:9e</div></div><div><br></div><div><div>root@ns321124:~# ifconfig</div><div>br0 Link encap:Ethernet HWaddr 00:30:48:bd:ee:08</div>
<div> inet addr:94.23.237.216 Bcast:94.23.237.255 Mask:255.255.255.0</div><div> inet6 addr: fe80::230:48ff:febd:ee08/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div>
<div> RX packets:1432 errors:0 dropped:4 overruns:0 frame:0</div><div> TX packets:785 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:0</div><div> RX bytes:109849 (109.8 KB) TX bytes:149687 (149.6 KB)</div>
<div><br></div><div>br0:0 Link encap:Ethernet HWaddr 00:30:48:bd:ee:08</div><div> inet addr:91.121.239.228 Bcast:91.121.239.228 Mask:255.255.255.255</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div>
<div><br></div><div>eth0 Link encap:Ethernet HWaddr 00:30:48:bd:ee:08</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:1507 errors:0 dropped:0 overruns:0 frame:0</div>
<div> TX packets:826 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:1000</div><div> RX bytes:133897 (133.8 KB) TX bytes:163263 (163.2 KB)</div><div> Interrupt:16 Memory:fbce0000-fbd00000</div>
<div><br></div><div>lo Link encap:Local Loopback</div><div> inet addr:127.0.0.1 Mask:255.0.0.0</div><div> inet6 addr: ::1/128 Scope:Host</div><div> UP LOOPBACK RUNNING MTU:65536 Metric:1</div>
<div> RX packets:6 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:6 errors:0 dropped:0 overruns:0 carrier:0</div><div> collisions:0 txqueuelen:0</div><div> RX bytes:370 (370.0 B) TX bytes:370 (370.0 B)</div>
<div><br></div><div>#### LXC ###</div><div><br></div><div>root@Oksymoron:~# lxc-console -n Oksymoron</div><div><br></div><div><div>root@Oksymoron:~# cat /etc/network/interfaces</div><div># This file describes the network interfaces available on your system</div>
<div># and how to activate them. For more information, see interfaces(5).</div><div><br></div><div># The loopback network interface</div><div>auto lo</div><div>iface lo inet loopback</div><div><br></div><div>auto eth0</div>
<div>iface eth0 inet dhcp</div></div><div><br></div><div><br></div><div><div>root@Oksymoron:~# ifconfig</div><div>eth0 Link encap:Ethernet HWaddr 00:16:3e:3e:35:9e</div><div> inet addr:91.121.239.228 Bcast:255.255.255.255 Mask:255.255.255.255</div>
<div> inet6 addr: fe80::216:3eff:fe3e:359e/64 Scope:Link</div><div> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</div><div> RX packets:489 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:60 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:1000</div><div> RX bytes:41460 (41.4 KB) TX bytes:10332 (10.3 KB)</div><div><br></div><div>lo Link encap:Local Loopback</div><div> inet addr:127.0.0.1 Mask:255.0.0.0</div>
<div> inet6 addr: ::1/128 Scope:Host</div><div> UP LOOPBACK RUNNING MTU:65536 Metric:1</div><div> RX packets:60 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:60 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:0</div><div> RX bytes:4966 (4.9 KB) TX bytes:4966 (4.9 KB)</div></div><div><br></div><div>And failed:</div><div><br></div><div><br></div><div><div>root@Oksymoron:~# apt-get update</div>
<div>0% [Connecting to <a href="http://archive.ubuntu.com">archive.ubuntu.com</a>] [Connecting to <a href="http://security.ubuntu.com">security.ubuntu.com</a>]</div><div>0% [Connecting to <a href="http://archive.ubuntu.com">archive.ubuntu.com</a>] [Connecting to <a href="http://security.ubuntu.com">security.ubuntu.com</a>]</div>
</div><div><br></div><div>I don;t know what can i do more </div><div>Please give me some advice </div><div><br></div><div><br></div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-13 10:29 GMT+02:00 Tamas Papp <span dir="ltr"><<a href="mailto:tompos@martos.bme.hu" target="_blank">tompos@martos.bme.hu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On 08/13/2014 10:28 AM, bryn1u85 . wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<br>
what do u mean standard configuration ?<br>
<br>
</blockquote>
<br></div>
man interfaces<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
t<br>
______________________________<u></u>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<u></u>linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.<u></u>org/listinfo/lxc-users</a></div></div></blockquote></div><br></div>