<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20573">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst,
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle,
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div><br></div><div data-signatureblock="true"><div>To keep accounting for network traffic for each container, I need to know the virtual interface name. The problem is that each time my container starts I get a new interface created on the host, something like vethCSR894, it is never the same. I have tried by using lxc.network.veth.pair but that parameter is ignored and a new interace pair is cerated each time VETH##### (Host) ↔ ETH0 (Container).</div><div><br></div><div>So bottom line I want to create a virtual interface that is connected to my bridge and force the container to use that interface each time.</div><div><br></div><div> </div><div> I used Cacti but any tool has the same issue as the interface name is randomly generated each time the container starts.</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>---Garrett</div><div><br></div><div><br></div></div></div>
</body>
</html>