David Edmondson <> scribbled on : > Xu, Jiajun wrote: >> I have a machine with three network cards, and the third card(named >> e1000g2) is in use now. I want to use e1000g2 as default NIC when I >> create Guest. How can I change the default NIC? I can override the >> default value of config/default-nic property of svc:/system/xvm/xend. >> But xend still use e1000g0 when creating Guest. > > Either you didn't set it properly or there is a bug. > > Can you tell us the steps you took to set it? > > dme.
My steps following: [vt-dp3@/]svccfg -s xvm/xend setprop config/default-nic = astring: \"e1000g2\" [vt-dp3@/]svcadm refresh xvm/xend [vt-dp3@/]svcadm restart xvm/xend [vt-dp3@/]svccfg -s xvm/xend listprop | grep default config/default-nic astring e1000g2 But when I create a Guest and check with /usr/lib/vna, xend still use e1000g0 as default. [vt-dp3@/]/usr/lib/vna 900 e1000g0 0:16:3e:14:5d:27 [vt-dp3@/]dladm show-link e1000g0 type: non-vlan mtu: 1500 device: e1000g0 e1000g1 type: non-vlan mtu: 1500 device: e1000g1 e1000g2 type: non-vlan mtu: 1500 device: e1000g2 vnic900 type: non-vlan mtu: 1500 device: vnic900 [vt-dp3@/]uname -a SunOS vt-dp3 5.11 snv_77 i86pc i386 i86xpv Best Regards Jiajun _______________________________________________ xen-discuss mailing list [email protected]
