`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Johan,<br></div><div><br></div><div>Thank you, i thought of that,
but it's mentioned in oracle docs that Etherstubs are a pure software
implementation of nics, so the can't communicate with the outside word,
only and i need that both host and guest can do that, or did i
misunderstand something?<br></div><div><br></div><div><a href="https://docs.oracle.com/cd/E26502_01/html/E28992/gmhfi.html" target="_blank">https://docs.oracle.com/cd/E26502_01/html/E28992/gmhfi.html</a> <br></div><div><br></div><div>says:<br></div><pre># <b>dladm create-etherstub <var>etherstub</var></b><br></pre><p>Perform this step only if you are creating a private virtual network which
you want to restrict from being accessed by external systems. For a description
of a private virtual network, see <a href="https://docs.oracle.com/cd/E26502_01/html/E28992/gfkbw.html#scrolltoc" target="_blank">Overview of Network Virtualization</a>.<br></p><div><br></div><div class="zmail_extra"><div id="1"><div><br></div></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;"><p>---- On Mon, 15 Feb 2016 14:47:29 +0100 <b>Johan Kragsterman <<a href="mailto:johan.kragsterman@capvert.se" target="_blank">johan.kragsterman@capvert.se</a>></b>wrote ---- <br></p><div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><br></div><div>Hi!
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-----"OmniOS-discuss" <<a href="mailto:omnios-discuss-bounces@lists.omniti.com" target="_blank">omnios-discuss-bounces@lists.omniti.com</a>> skrev: -----
<br></div><div>Till: "<a href="mailto:omnios-discuss@lists.omniti.com" target="_blank">omnios-discuss@lists.omniti.com</a>" <<a href="mailto:omnios-discuss@lists.omniti.com" target="_blank">omnios-discuss@lists.omniti.com</a>>
<br></div><div>Från: Gordon Selisek
<br></div><div>Sänt av: "OmniOS-discuss"
<br></div><div>Datum: 2016-02-15 13:28
<br></div><div>Ärende: [OmniOS-discuss] How to do networking between host and KVM guest?
<br></div><div><br></div><div>Hi all,
<br></div><div><br></div><div>I ran into a problem, how to do networking between host and KVM guest?
<br></div><div><br></div><div>I read a lot of oracle documentation, but the virtual networking seems to be enough differently implemented, so that i can't wrap my head around it and apply it to omniOS.
<br></div><div><br></div><div>This is what i have, and the guest can communicate with the outside world and the host. The host communicate with the outside world, but not the guest. And if i assaign an address to vnic0, then the guest can not communicate with the host.
<br></div><div><br></div><div>dladm show-link
<br></div><div>LINK CLASS MTU STATE BRIDGE OVER
<br></div><div>e1000g0 phys 1500 up -- --
<br></div><div>vnic0 vnic 1500 up -- e1000g0
<br></div><div><br></div><div>ipadm show-addr
<br></div><div>ADDROBJ TYPE STATE ADDR
<br></div><div>lo0/v4 static ok 127.0.0.1/8
<br></div><div>e1000g0/lan static ok 192.168.200.190/24
<br></div><div>lo0/v6 static ok ::1/128
<br></div><div><br></div><div><br></div><div><br></div><div>Any hints? please?
<br></div><div><br></div><div>Cordial regards
<br></div><div><br></div><div>Gordon
<br></div><div><br></div><div><br></div><div><br></div><div>You need an internal virtual network, which you get with an internal virtual switch: Etherstub. To the etherstub you can connect any virtual interface from your host or your guest.
<br></div><div><br></div><div>/Johan
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>_______________________________________________
<br></div><div>OmniOS-discuss mailing list
<br></div><div><a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.com</a>
<br></div><div><a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
<br></div><div><br></div><div><br></div></blockquote></div><div><br></div></div></div></blockquote></div><div><br></div></div></body></html>`