`<div dir="ltr">Having trouble with networking. Any thoughts on this?<div><br></div><div>ipadm show-addr<br></div><div><br></div><div><div>ADDROBJ TYPE STATE ADDR</div></div><div>vmxnet3s0/v4 static ok <a href="http://10.255.0.15/24">10.255.0.15/24</a><br></div><div><br></div><div><div>dladm show-vnic</div></div><div><br></div><div><div>LINK OVER SPEED MACADDRESS MACADDRTYPE VID</div><div>lx0 vmxnet3s0 10000 2:8:20:94:5e:c random 0</div></div><div><br></div><div><div><br></div><div><div>netstat -rn -finet</div></div><div><br></div><div>Routing Table: IPv4</div><div> Destination Gateway Flags Ref Use Interface</div><div>-------------------- -------------------- ----- ----- ---------- ---------</div><div>default 10.255.0.1 UG 2 66534</div><div>10.250.0.0 10.250.1.2 U 4 54902 vmxnet3s1</div><div>10.255.0.0 10.255.0.15 U 9 22094 vmxnet3s0</div><div>127.0.0.1 127.0.0.1 UH 2 60 lo0</div></div><div><br></div><div>Here is the config:</div><div><br></div><div><div>create</div><div>set zonepath=/main/zones/lx0</div><div>set brand=lx</div><div>set autoboot=false</div><div>set ip-type=exclusive</div><div>add net</div><div>set physical=lx0</div><div>add property (name=gateway,value="10.255.0.1")</div><div>add property (name=ips,value="<a href="http://10.255.0.16/24">10.255.0.16/24</a>")</div><div>add property (name=primary,value="true")</div><div>end</div><div>add attr</div><div>set name=dns-domain</div><div>set type=string</div><div>set value=<a href="http://mydomain.com">mydomain.com</a></div><div>end</div><div>add attr</div><div>set name=resolvers</div><div>set type=string</div><div>set value=10.255.0.1</div><div>end</div><div>add attr</div><div>set name=kernel-version</div><div>set type=string</div><div>set value=3.16.0</div><div>end</div><div>exit</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 11:35 AM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://omnios.omniti.com/wiki.php/LXZones" rel="noreferrer" target="_blank">https://omnios.omniti.com/<wbr>wiki.php/LXZones</a><br>
<br>
See the zonecfg example where you add properties to the "net" instance. For now, this is the only way to support network configurations on LX Zones. We plan to have /native/sbin/ipadm working before r151022 ships.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
</font></span></blockquote></div><br></div>
`