<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I've got such a setup and it works just fine using veth and vbridges. I setup a bridge on each physical NIC and explicitly add a CT to a bridge. The only thing I noticed that (at least on a debian CT0) I had to add an IP4 for the CT0 on each NIC in order to get dual stack working.&nbsp;<div class=""><br class=""></div><div class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Peter</div><div class=""><br class=""></div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 28 Dec 2017, at 20:59, Axton &lt;<a href="mailto:axton.grams@gmail.com" class="">axton.grams@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have a HN with a presence on a series of networks:<div class="">vlan2, vlan3, vlan4, etc.</div><div class=""><br class=""></div><div class="">The HN only has an IP address allocated to one of the interfaces, a management network.</div><div class=""><br class=""></div><div class="">Is it possible to assign IP addresses to CT on a network where the HN does not have an IP address?</div><div class=""><br class=""></div><div class="">Example:</div><div class=""><br class=""></div><div class="">HN:</div><div class="">vmbr10 <a href="http://10.0.10.0/24" class="">10.0.10.0/24</a>, gw <a href="http://10.0.10.1/" class="">10.0.10.1</a>: no ip assigned, server vlan</div><div class="">vmbr20 <a href="http://10.0.20.0/24" class="">10.0.20.0/24</a>, gw <a href="http://10.0.20.1/" class="">10.0.20.1</a>: ip assigned, 10.0.20.100, management network</div><div class="">vmbr30 <a href="http://10.0.30.0/24" class="">10.0.30.0/24</a>, gw <a href="http://10.0.30.1/" class="">10.0.30.1</a>: no ip assigned, dmz</div><div class=""><br class=""></div><div class="">CT1:</div><div class="">venet0 with IP in dmz, 10.0.30.10</div><div class=""><br class=""></div><div class="">CT2:</div><div class="">venet0 with IP in server, 10.0.10.45</div><div class=""><br class=""></div><div class="">Everything works if I assign an IP to the CT on the network where the HN has an IP address.</div><div class=""><br class=""></div><div class="">I tried to setup source based routing on the HN for the interfaces where the HN does not have an IP address, but I get an error:</div><div class=""><br class=""></div><div class=""><div class=""># ip rule add from <a href="http://10.0.30.0/24" class="">10.0.30.0/24</a> lookup dmz</div><div class=""># ip route add throw <a href="http://10.0.30.0/24" class="">10.0.30.0/24</a> table dmz</div></div><div class=""># ip route add default via 10.0.30.1 dev vmbr30 table dmz<br class=""></div><div class=""><div class="">RTNETLINK answers: Network is unreachable</div></div><div class=""><br class=""></div><div class="">Not sure if this is possible, looking for insight.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Axton</div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@openvz.org" class="">Users@openvz.org</a><br class="">https://lists.openvz.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></body></html>