[OmniOS-discuss] Problem with VNIC in KVM

Andy Fiddaman omnios at citrus-it.net
Mon Apr 6 22:05:25 UTC 2015


Evening all,

I'm having a problem with network interfaces inside KVM and wondered if
anyone has any ideas?

The problem is that the virtual machine doesn't receive any traffic on the
network interface. It can send it ok though.

The VM is OpenIndiana and a snoop on the sole network interface within the
VM shows outbound ARP requests but no inbound traffic at all.

root at oi:~# snoop
Using device e1000g0 (promiscuous mode)
x.x.x.x -> (broadcast)  ARP C Who is y.y.y.y, y.y.y.y ?
(repeated)

Snooping on the vnic in the global zone shows the outbound ARPs and
responses.

global# snoop -d oi0
x.x.x.x -> (broadcast)  ARP C Who is y.y.y.y, y.y.y.y ?
y.y.y.y -> x.x.x.x ARP R y.y.y.y, y.y.y.y is 0:0:5e:0:1:1

global# dladm show-vnic
LINK         OVER         SPEED  MACADDRESS        MACADDRTYPE         VID
oi0          igb0         100    2:8:20:62:d7:d9   random              0

global# pargs `pgrep qemu`
1843:   /usr/bin/qemu-system-x86_64 -name oi -enable-kvm -nodefaults -vnc
:1 -monitor t
argv[0]: /usr/bin/qemu-system-x86_64
argv[1]: -name
argv[2]: oi
argv[3]: -enable-kvm
argv[4]: -nodefaults
argv[5]: -vnc
argv[6]: :1
argv[7]: -monitor
argv[8]: telnet:localhost:7001,server,nowait,nodelay
argv[9]: -cpu
argv[10]: host
argv[11]: -smp
argv[12]: 2
argv[13]: -m
argv[14]: 4G
argv[15]: -vga
argv[16]: std
argv[17]: -no-hpet
argv[18]: -localtime
argv[19]: -drive
argv[20]: file=/dev/zvol/rdsk/data/vm/oi/hdd0,if=ide
argv[21]: -daemonize
argv[22]: -net
argv[23]: nic,vlan=0,name=net0,model=e1000,macaddr=2:8:20:62:d7:d9
argv[24]: -net
argv[25]: vnic,vlan=0,name=net0,ifname=oi0,macaddr=2:8:20:62:d7:d9

Any pointers on how to diagnose the problem further?

Thanks,

Andy

-- 
Citrus IT Limited | +44 (0)870 199 8000 | enquiries at citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123



More information about the OmniOS-discuss mailing list