<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Trying to wrap my mind around the lxc networking. I need to configure each container with it’s own static IP on the same subnet as the host. I
<span style="font-weight: bold;">think</span> that requires a “macvlan/bridge” setup like this:</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.type = macvlan</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.macvlan.mode = bridge</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.flags = up</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.link = br0</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.ipv4 = 10.0.0.11/24 10.0.0.255</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.ipv4.gateway = 10.0.0.1</p>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc-network.name = eth0</p>
</div>
<p style="margin: 0px; font-size: 13px; font-family: 'Lucida Console'; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">
lxc.network.mtu = 1500</p>
<div><span style="background-color: rgb(0, 0, 0); color: rgb(245, 245, 245); font-family: 'Lucida Console'; font-size: 13px;">lxc.network.hwaddr= 00:16:3e:97:81:42</span></div>
<div><br>
</div>
<div>But this goes nowhere. The host does have a properly configured br0 device (this is an ol6 system, btw) and <span style="background-color: rgb(0, 0, 0); color: rgb(245, 245, 245); font-family: 'Lucida Console'; font-size: 13px;">net.ipv4.ip_forward =</span><span style="background-color: rgb(0, 0, 0); color: rgb(245, 245, 245); font-family: 'Lucida Console'; font-size: 13px;"> 1</span> Is
enabled. The host iptables are disabled. </div>
<div><br>
</div>
<div>I’ve been beating my head against this for a week now. Please help, or tell me what other information I can provide. Thank you.</div>
<div><br>
</div>
<div><br>
</div>
<div>— </div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><b><font color="#0433ff"><i>Chris Kloiber</i></font></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><b>CEDAR Document Technologies<o:p></o:p></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;">One Ravinia Drive, Suite 200<o:p></o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;">Atlanta, GA 30346</p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;">1(404)436-2470 (office)</p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;">1(678)512-9636 (cell)</p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><br>
</p>
</div>
</div>
<div><img src="cid:B1F380DE-0953-4EB2-A8B5-270AD86DD288" type="image/png"></div>
</div>
</body>
</html>