[OpenIndiana-discuss] KVM in Zones && networking
Jacques Hugo
jacques.hugo at threetwo.co.uk
Mon Feb 22 21:03:30 UTC 2016
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
jacques.hugo at threetwo.co.uk
-----Original Message-----
From: John D Groenveld [mailto:jdg117 at elvis.arl.psu.edu]
Sent: 22 February 2016 20:47
To: Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
Subject: Re: [OpenIndiana-discuss] KVM in Zones && networking
In message <002a01d16db0$8b975f00$a2c61d00$@threetwo.co.uk>, "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
groenveld at acm.org
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list