James Carlson wrote:
Ian Matchett writes:

How do I move a zone to use

bge1:1 10.12.13.14

Two methods: change the entry in zonecfg and restart the zone, or
unplumb the alias and plumb up a new one from the global zone.

The first case:

# zonecfg -z test
zonecfg:test> select net physical=bge0
zonecfg:test:net> set physical=bge1
zonecfg:test:net> end
zonecfg:test> verify
zonecfg:test> commit
zonecfg:test> exit
# zoneadm -z test reboot

The second case:

# ifconfig bge0:1 unplumb
# ifconfig bge1:1 10.12.13.14 netmask + broadcast + zone test up

Just in case it isn't obvious: If you want to change it without rebooting, *and* you want to the zone to use the new NIC the next time it boots, use both of James' methods.


--
--------------------------------------------------------------------------
Jeff VICTOR              Sun Microsystems            jeff.victor @ sun.com
OS Ambassador            Sr. Technical Specialist
Solaris 10 Zones FAQ:    http://www.opensolaris.org/os/community/zones/faq
--------------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to