Re: [zones-discuss] Adding a NIC to running zones
James Carlson wrote: > Jeff Victor writes: >> A NIC can be added to a running shared-IP zone by using the ifconfig >> command its zone parameter. >> >> Can an unplumbed NIC be added to a running exclusive-IP zone usnig the >> same method? (I don't have a system with enough NICs to test this.) > > No, because they're different objects. "ifconfig" controls IP > interfaces, not NICs. > > To move a NIC into a running exclusive-IP-stack zone, use dladm. This > should do the trick: > > dladm set-linkprop -t -p zone=myzone bge0 > > Note that "-t" is required. To make a permanent change, use zonecfg. And once you've done that you go into the non-global zone and do ifconfig bge0 plumb etc. Erik ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Adding a NIC to running zones
Jeff Victor writes: > A NIC can be added to a running shared-IP zone by using the ifconfig > command its zone parameter. > > Can an unplumbed NIC be added to a running exclusive-IP zone usnig the > same method? (I don't have a system with enough NICs to test this.) No, because they're different objects. "ifconfig" controls IP interfaces, not NICs. To move a NIC into a running exclusive-IP-stack zone, use dladm. This should do the trick: dladm set-linkprop -t -p zone=myzone bge0 Note that "-t" is required. To make a permanent change, use zonecfg. -- James Carlson, Solaris Networking Sun Microsystems / 35 Network Drive71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 ___ zones-discuss mailing list zones-discuss@opensolaris.org