Hi John,

I have done that earlier this evening.  I can see only UDP and ICMP based
traffic, that's all.  Nothing TCP related.  It seem that a step is needed to
the the NGZ (via the GZ??) to route traffic from the kvm1 NIC to the KVM ...
not sure how to do that in a Zone.

-Jacques


Jacques Hugo
Three Two Labs
Information Technology | Solaris Engineering 32L
Phone +44 7939 433701
[email protected]


-----Original Message-----
From: John D Groenveld [mailto:[email protected]] 
Sent: 22 February 2016 20:47
To: Discussion list for OpenIndiana <[email protected]>
Subject: Re: [OpenIndiana-discuss] KVM in Zones && networking

In message <[email protected]>, "Jacques Hugo"
wri
tes:
>Here's my NGZ KVM script ... exactly the same as my GZ KVM script with 
>the only difference being the vnic.
>
>#!/bin/ksh
>MAC=$(dladm show-vnic -po macaddress kvm1) /usr/bin/qemu-kvm \
>        -boot cd \
>        -cpu host \
>        -enable-kvm \
>        -vnc 0.0.0.0:43 \
>        -smp 4  \
>        -m 8192 \
>        -no-hpet \
>        -localtime \
>        -drive
>file=/dev/zvol/rdsk/naspool/zones/src/kvm/disk0,if=ide,index=0 \
>        -drive
>file=/naspool/zones/src/kvm/iso/sol-11_3-text-x86.iso,media=cdrom,if=id
>e,ind
>ex=2  \
>        -net nic,vlan=0,name=net0,model=e1000,macaddr=$MAC \
>        -net vnic,vlan=0,name=net0,ifname=kvm1,macaddr=$MAC \
>        -vga std

That looks correct.

Within your NGZ, shutdown your KVM, plumb your kvm1 interface, and snoop -d
kvm1, do you see network traffic?

John
[email protected]



_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to