<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Shared-IP and Exclusive-IP in Non-Global Solaris Zones</title>
	<atom:link href="http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/feed/" rel="self" type="application/rss+xml" />
	<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/</link>
	<description>Tips and tricks on DTrace, ZFS, Zones and Solaris administration</description>
	<lastBuildDate>Sun, 08 Jan 2012 03:14:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Amit Patel</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-1651</link>
		<dc:creator>Amit Patel</dc:creator>
		<pubDate>Fri, 08 Apr 2011 22:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-1651</guid>
		<description>Hi can you use ifs in a non global zone by configuring vfstab to connect to a nfs share. For our oracle install we have two zones configured for ifs access to nas.</description>
		<content:encoded><![CDATA[<p>Hi can you use ifs in a non global zone by configuring vfstab to connect to a nfs share. For our oracle install we have two zones configured for ifs access to nas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herve VELASCO</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-1602</link>
		<dc:creator>Herve VELASCO</dc:creator>
		<pubDate>Wed, 24 Mar 2010 14:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-1602</guid>
		<description>Hello,
I have a severe issue on Solaris Zone with IP exclusive.
Any help would be greatly appeciate.

I let you see my configuration:
# zoneadm list -cv
-----------
ID NAME             STATUS     PATH               BRAND    IP
   0 global           running    /                native   shared
   1 server01         running    /zones/server01  native   excl
   2 server03         running    /zones/server02  native   excl
   3 server02         running    /zones/server03  native   excl
   4 server04         running    /zones/server04  native   excl


# zonecfg -z server01 export
-----------
create -b
set zonepath=/zones/server01
set autoboot=true
set ip-type=exclusive
add net
set physical=bge1
end
add device
set match=/dev/bge0
end

#cat /zones/server01/root/etc/rcS.d/S01network.exclusive
-----------
#!/sbin/sh
case &quot;$1&quot; in
&#039;start&#039;)
        /usr/sbin/ifconfig bge0 plumb up # LAN ASTRIUM
        /usr/sbin/ifconfig bge0:1 plumb up # LAN ASTRIUM
        /usr/sbin/ifconfig bge0:1 inet XXX.XXX.XXX.34/23

        /usr/sbin/ifconfig bge1 plumb up # LAN PRIVE
        /usr/sbin/ifconfig bge1:1 plumb up
        /usr/sbin/ifconfig bge1:2 plumb up
        /usr/sbin/ifconfig bge1:3 plumb up
        /usr/sbin/ifconfig bge1:4 plumb up
        /usr/sbin/ifconfig bge1:5 plumb up
        /usr/sbin/ifconfig bge1:6 plumb up
        /usr/sbin/ifconfig bge1:7 plumb up
        /usr/sbin/ifconfig bge1:8 plumb up
        /usr/sbin/ifconfig bge1:9 plumb up
        /usr/sbin/ifconfig bge1:10 plumb up
        /usr/sbin/ifconfig bge1:1 inet YYY.YYY.YYY.106/24
        /usr/sbin/ifconfig bge1:2 inet YYY.YYY.YYY.107/24
        /usr/sbin/ifconfig bge1:3 inet YYY.YYY.YYY.108/24
        /usr/sbin/ifconfig bge1:4 inet YYY.YYY.YYY.109/24
        /usr/sbin/ifconfig bge1:5 inet YYY.YYY.YYY.110/24

        ;;
*)
        echo &quot;Usage: $0 { start }&quot;
        exit 1
        ;;
esac
exit 0
----------------------------------------

Each zone and global zone shares bge0 and are on the same subnet
Each secondary zone has exclusive control on secondary interface for private network.

There isn&#039;t any problem to communicate with computers on the LAN (outside global zone) but it&#039;s impossible to communicate (TCP/UDP/ICMP) beetween the zone.

traceroute don&#039;t find the way:
# traceroute server01
traceroute: Warning: Multiple interfaces found; using XXX.XXX.XXX.117 @ bge0
traceroute to server01 (XXX.XXX.XXX.34), 30 hops max, 40 byte packets
 1  * server-master1 (XXX.XXX.XXX.117)  1068.500 ms !H *
 2  *
 3  *
etc....</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have a severe issue on Solaris Zone with IP exclusive.<br />
Any help would be greatly appeciate.</p>
<p>I let you see my configuration:<br />
# zoneadm list -cv<br />
&#8212;&#8212;&#8212;&#8211;<br />
ID NAME             STATUS     PATH               BRAND    IP<br />
   0 global           running    /                native   shared<br />
   1 server01         running    /zones/server01  native   excl<br />
   2 server03         running    /zones/server02  native   excl<br />
   3 server02         running    /zones/server03  native   excl<br />
   4 server04         running    /zones/server04  native   excl</p>
<p># zonecfg -z server01 export<br />
&#8212;&#8212;&#8212;&#8211;<br />
create -b<br />
set zonepath=/zones/server01<br />
set autoboot=true<br />
set ip-type=exclusive<br />
add net<br />
set physical=bge1<br />
end<br />
add device<br />
set match=/dev/bge0<br />
end</p>
<p>#cat /zones/server01/root/etc/rcS.d/S01network.exclusive<br />
&#8212;&#8212;&#8212;&#8211;<br />
#!/sbin/sh<br />
case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
        /usr/sbin/ifconfig bge0 plumb up # LAN ASTRIUM<br />
        /usr/sbin/ifconfig bge0:1 plumb up # LAN ASTRIUM<br />
        /usr/sbin/ifconfig bge0:1 inet XXX.XXX.XXX.34/23</p>
<p>        /usr/sbin/ifconfig bge1 plumb up # LAN PRIVE<br />
        /usr/sbin/ifconfig bge1:1 plumb up<br />
        /usr/sbin/ifconfig bge1:2 plumb up<br />
        /usr/sbin/ifconfig bge1:3 plumb up<br />
        /usr/sbin/ifconfig bge1:4 plumb up<br />
        /usr/sbin/ifconfig bge1:5 plumb up<br />
        /usr/sbin/ifconfig bge1:6 plumb up<br />
        /usr/sbin/ifconfig bge1:7 plumb up<br />
        /usr/sbin/ifconfig bge1:8 plumb up<br />
        /usr/sbin/ifconfig bge1:9 plumb up<br />
        /usr/sbin/ifconfig bge1:10 plumb up<br />
        /usr/sbin/ifconfig bge1:1 inet YYY.YYY.YYY.106/24<br />
        /usr/sbin/ifconfig bge1:2 inet YYY.YYY.YYY.107/24<br />
        /usr/sbin/ifconfig bge1:3 inet YYY.YYY.YYY.108/24<br />
        /usr/sbin/ifconfig bge1:4 inet YYY.YYY.YYY.109/24<br />
        /usr/sbin/ifconfig bge1:5 inet YYY.YYY.YYY.110/24</p>
<p>        ;;<br />
*)<br />
        echo &#8220;Usage: $0 { start }&#8221;<br />
        exit 1<br />
        ;;<br />
esac<br />
exit 0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Each zone and global zone shares bge0 and are on the same subnet<br />
Each secondary zone has exclusive control on secondary interface for private network.</p>
<p>There isn&#8217;t any problem to communicate with computers on the LAN (outside global zone) but it&#8217;s impossible to communicate (TCP/UDP/ICMP) beetween the zone.</p>
<p>traceroute don&#8217;t find the way:<br />
# traceroute server01<br />
traceroute: Warning: Multiple interfaces found; using XXX.XXX.XXX.117 @ bge0<br />
traceroute to server01 (XXX.XXX.XXX.34), 30 hops max, 40 byte packets<br />
 1  * server-master1 (XXX.XXX.XXX.117)  1068.500 ms !H *<br />
 2  *<br />
 3  *<br />
etc&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koko Hernowo</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-1523</link>
		<dc:creator>Koko Hernowo</dc:creator>
		<pubDate>Fri, 28 Aug 2009 05:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-1523</guid>
		<description>&quot;zoneadm: zone &#039;zone1&#039;: WARNING: unable to hold network interface &#039;eri1&#039;.: Invalid argument&quot;
i&#039;ve got this error when i&#039;m booting the zone (zone1) 
My box is SF V120, i&#039;m not plumbing the eri1 on the global zone.
What&#039;s wrong?</description>
		<content:encoded><![CDATA[<p>&#8220;zoneadm: zone &#8216;zone1&#8242;: WARNING: unable to hold network interface &#8216;eri1&#8242;.: Invalid argument&#8221;<br />
i&#8217;ve got this error when i&#8217;m booting the zone (zone1)<br />
My box is SF V120, i&#8217;m not plumbing the eri1 on the global zone.<br />
What&#8217;s wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Changing hostname in Solaris &#124; Solaris Blog</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-563</link>
		<dc:creator>Changing hostname in Solaris &#124; Solaris Blog</dc:creator>
		<pubDate>Wed, 20 May 2009 14:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-563</guid>
		<description>[...] IP address configuration in Solaris zones [...]</description>
		<content:encoded><![CDATA[<p>[...] IP address configuration in Solaris zones [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-366</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Thu, 14 May 2009 10:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-366</guid>
		<description>bbr, thanks for asking!

Last time I checked, native NFS server functionality was global zone only. I think exclusive-ip provides direct access to networking stack, but not Solaris kernel.

Here&#039;s the NFS related FAQ entry for zones:

http://opensolaris.org/os/community/zones/faq/#svc_nfs</description>
		<content:encoded><![CDATA[<p>bbr, thanks for asking!</p>
<p>Last time I checked, native NFS server functionality was global zone only. I think exclusive-ip provides direct access to networking stack, but not Solaris kernel.</p>
<p>Here&#8217;s the NFS related FAQ entry for zones:</p>
<p><a href="http://opensolaris.org/os/community/zones/faq/#svc_nfs" rel="nofollow">http://opensolaris.org/os/community/zones/faq/#svc_nfs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-365</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Thu, 14 May 2009 09:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-365</guid>
		<description>Prashanth, you have to manage IP address from within the exclusive-ip zone.</description>
		<content:encoded><![CDATA[<p>Prashanth, you have to manage IP address from within the exclusive-ip zone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbr</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-360</link>
		<dc:creator>bbr</dc:creator>
		<pubDate>Thu, 14 May 2009 08:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-360</guid>
		<description>does it means you can serve NFS request within a zone with exclusive IP? aka run NFS server inside a zone?


bbr</description>
		<content:encoded><![CDATA[<p>does it means you can serve NFS request within a zone with exclusive IP? aka run NFS server inside a zone?</p>
<p>bbr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashanth</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-332</link>
		<dc:creator>Prashanth</dc:creator>
		<pubDate>Wed, 13 May 2009 15:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-332</guid>
		<description>I have one NIC in my server.I need to have IPSec setup for the local zone and hence have to create this zone in exclusive mode. If I do so, can the global zone be still assigned a IP on this NIC</description>
		<content:encoded><![CDATA[<p>I have one NIC in my server.I need to have IPSec setup for the local zone and hence have to create this zone in exclusive mode. If I do so, can the global zone be still assigned a IP on this NIC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-325</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Wed, 13 May 2009 06:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-325</guid>
		<description>Indeed, Eric!

It&#039;s always possible manage the zone via local console (zlogin -C) though.</description>
		<content:encoded><![CDATA[<p>Indeed, Eric!</p>
<p>It&#8217;s always possible manage the zone via local console (zlogin -C) though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://solaris.reys.net/shared-ip-and-exclusive-ip-in-solaris-zones/comment-page-1/#comment-312</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 12 May 2009 23:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://solaris.reys.net/?p=317#comment-312</guid>
		<description>It would be useful if ip-type was set per interface instead of globally per zone.  Then you could use one shared network for management in addition to the exclusive interface(s).</description>
		<content:encoded><![CDATA[<p>It would be useful if ip-type was set per interface instead of globally per zone.  Then you could use one shared network for management in addition to the exclusive interface(s).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

