The simple way to configure a zone with multiple IP addresses (on one or more
NICs) is with zonecfg:
# zonecfg -z myzone
add net
set address=10.1.1.2
set physical=qfe0
end
add net
set address=10.2.1.2
set physical=qfe1
end
exit
They will all be plumbed when the zone boots.
Sarah Jelinek wrote:
------------------------------------------------------------------------
Subject:
[install-discuss] virtual interfaces in non-global zone ?
From:
jason jin <[EMAIL PROTECTED]>
Date:
Thu, 15 Mar 2007 13:33:16 -0700 (PDT)
To:
[EMAIL PROTECTED]
To:
[EMAIL PROTECTED]
Gurus:
would it possible for a non-global zone to listen on multiple vip address?
global> ifconfig -a
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.22 netmask ffffff00 broadcast 204.252.48.255
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
zone www-zone
inet 192.168.1.104 netmask ffffff00 broadcast 204.252.48.255
now within www-zone, the apache is doing virtual hosting , and need listen to a bunch
of VIP address , such as 192.168.105 , 192.168.1.106
I could configure bge0:x on global if need. but how can I bring up the multiple virtual interfaces within a non-global zone?
thanks in advance.
This message posted from opensolaris.org
_______________________________________________
install-discuss mailing list
[EMAIL PROTECTED]
http://opensolaris.org/mailman/listinfo/install-discuss
------------------------------------------------------------------------
_______________________________________________
zones-discuss mailing list
[email protected]
--
--------------------------------------------------------------------------
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
[email protected]