SUMMARY: Second IP for a zone?

From: Xavier Mertens <xavier_at_rootshell.be>
Date: Thu Jul 06 2006 - 05:39:09 EDT
Thanks to Peter, Joon for their quick reply!

It must be done from the global zone.
There are two methods:

1. Via zonecfg:
zonecfg -z zone1
add net
set physical=bge0
set address=1.1.1.2
end
verify
commit

2. Via ifconfig:
ifconfig bge0:2 plumb 1.1.1.2 netmask + broadcast + up
ifconfig bge0:2 zone zone1

The first method needs to reboot the zone. But the second one can be done on a live zone (exactly what I expected!)

Regards,
Xavier
--
ESC:wq

---------- Forwarded message ----------
Date: Thu, 6 Jul 2006 10:33:18 +0200 (CEST)
From: Xavier Mertens <xavier@rootshell.be>
To: sunmanagers@sunmanagers.org
Subject: Second IP for a zone?

Hi *,

A question relative to zones IP address...
My global zone runs on a server with a bge0 interface.
zone1 runs with IP 1.1.1.1 on bge0:1.

Now, I would like to configure zone1 to use also 1.1.1.2.
Do I need to edit the zone config one more time (and use "add net") or this can be done "live" ? 

Regards,
Xavier
--
Speak softly and carry a cellular phone.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jul 6 05:39:45 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:59 EST