0
votes
0answers
34 views

Link aggregation on a LXC bridge

I'm working on a server with a number of various interfaces (eth0-3) and I currently just use one for both host traffic and another for my LXC bridges traffic. Since I have a few spare ports just ...
0
votes
1answer
50 views

how to add lxc containers to host's DNS so that getaddrinfo() can resolve them?

I'm running LXC containers on Ubuntu 12.04 with a 3.8 kernel. The containers are on a host-only network, so their addresses are managed by dnsmasq. Is there a way to configure the host so that ...
2
votes
0answers
41 views

LXC bridging with two NICs

I am setting up a server to host a number of LXC containers, for now just isolating web and db services. The server I am using has two NICs and I'd like to use one for host traffic and one for ...
1
vote
0answers
171 views

Modifying sysctl values inside lxc container

I have made several linux containers using the normal userspace tools (not docker), and I have been setting up a test environment. I want to set up two containers to try out heartbeat, which requires ...
0
votes
0answers
311 views

102.04 LXC unable to create macvlan

I'm having problems creating a macvlan for a container on 12.04. In a terminal it works fine: $> ip li add link eth0 mac0 type macvlan But when in a container config it give the error: ...
0
votes
0answers
338 views

Network configuration in LXC- unable to ping IPs except LXC container IP

I have installed ubuntu server 12.04. I have installed LXC container. I started LXC container using lxc-start -n conrainername logged in using lxc-console -n contaniername -t 1. I prompted to ...
2
votes
0answers
526 views

Another LXC Puzzle

So my server is running... Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring I stumbled onto lxc when I trying to find something to replace vmware on a small ...
2
votes
0answers
48 views

How do I assign an IP address to an LXC container? [duplicate]

I'm trying to start lxc containers with their own public ip address on the network. This is what I've tried so far: On the host The host machine has an IP address of 192.168.255.254. I added a ...
2
votes
2answers
4k views

After starting a particular LXC container with a static IP, no default gateway route is configured

I've got one LXC container that works just fine, but a 2nd one now is mis-behaving. I've configured a static route for it, but it just won't define a gateway after sudo services networking restart or ...
0
votes
1answer
322 views

What's the best way to configure the containers to have an IP directly on the LAN

I see that there are a lot of new ease-of-use improvements to LXC in 12.04 & 12.10, and although I see some description to setting up bridged networking such that my containers have their own LAN ...
4
votes
1answer
6k views

How do I setup an LXC guest so that it gets a dhcp address so I can access it on my network?

I setup LXC using: lxc-create -t ubuntu -n lxcguest1 But I can't access any services running on it from my LAN, it appears to be NATed. How do I set it up so that I can access it (it probably ...