<div dir="ltr">I have a HN with a presence on a series of networks:<div>vlan2, vlan3, vlan4, etc.</div><div><br></div><div>The HN only has an IP address allocated to one of the interfaces, a management network.</div><div><br></div><div>Is it possible to assign IP addresses to CT on a network where the HN does not have an IP address?</div><div><br></div><div>Example:</div><div><br></div><div>HN:</div><div>vmbr10 <a href="http://10.0.10.0/24">10.0.10.0/24</a>, gw <a href="http://10.0.10.1">10.0.10.1</a>: no ip assigned, server vlan</div><div>vmbr20 <a href="http://10.0.20.0/24">10.0.20.0/24</a>, gw <a href="http://10.0.20.1">10.0.20.1</a>: ip assigned, 10.0.20.100, management network</div><div>vmbr30 <a href="http://10.0.30.0/24">10.0.30.0/24</a>, gw <a href="http://10.0.30.1">10.0.30.1</a>: no ip assigned, dmz</div><div><br></div><div>CT1:</div><div>venet0 with IP in dmz, 10.0.30.10</div><div><br></div><div>CT2:</div><div>venet0 with IP in server, 10.0.10.45</div><div><br></div><div>Everything works if I assign an IP to the CT on the network where the HN has an IP address.</div><div><br></div><div>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><br></div><div><div># ip rule add from <a href="http://10.0.30.0/24">10.0.30.0/24</a> lookup dmz</div><div># ip route add throw <a href="http://10.0.30.0/24">10.0.30.0/24</a> table dmz</div></div><div># ip route add default via 10.0.30.1 dev vmbr30 table dmz<br></div><div><div>RTNETLINK answers: Network is unreachable</div></div><div><br></div><div>Not sure if this is possible, looking for insight.</div><div><br></div><div>Thanks,</div><div>Axton</div></div>