Re: [arch-general] Bridge interface with netctl

2014-02-26 Thread arnaud gaboury
This profile is wrong. Here is the right one: --- $ cat /etc/netctl/lxc_lan_bridge Description=LAN bridge for LXC containers Connection=bridge Interface=br0 SkipNoCarrier=yes BindsToInterfaces=() IP=static Address=(10.137.0.1/24) --- Also, since you are running systemd = 209, you can

Re: [arch-general] Bridge interface with netctl

2014-02-26 Thread arnaud gaboury
On Wed, Feb 26, 2014 at 1:37 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: -- Now: * Populate the iptables FORWARD chain to route traffic from your physical interface to the bridge and back. I missed totally this part of the setup. I must admit this topic is a little bit new to me.

[arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
Dear list, I am messing with assigning a static IP on a systemd-nspawn container, on both sides (host,container). My idea is to first create a bridge (br0) on the host. My config on host : systemd-git netctl to configure network $ ifocnfig enp7s0:

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
On Tue, Feb 25, 2014 at 1:43 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: Now, I want to start the bridge: # netctl start bridge-hortensia % ping -c 3 8.8.8.8 connect: Network is unreachable I realized that starting the bridge profile empty the /etc/resolv.conf. Even if I modified the

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread Jakub Klinkovský
On 25.02.14 at 16:33, arnaud gaboury wrote: On Tue, Feb 25, 2014 at 1:43 PM, arnaud gaboury arnaud.gabo...@gmail.com wrote: Now, I want to start the bridge: # netctl start bridge-hortensia % ping -c 3 8.8.8.8 connect: Network is unreachable I realized that starting the bridge

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread Leonid Isaev
On Tue, 25 Feb 2014 12:47:02 +0100 arnaud gaboury arnaud.gabo...@gmail.com wrote: Dear list, I am messing with assigning a static IP on a systemd-nspawn container, on both sides (host,container). You assign an IP address only inside the container. My idea is to first create a bridge (br0)

Re: [arch-general] Bridge interface with netctl

2014-02-25 Thread arnaud gaboury
Note that the original author of [3] and [4] is Xyne, see his excellent tutorial [5]. [5]: http://xyne.archlinux.ca/notes/network/dhcp_with_dns.html Regards, Thank you for this very interesting link