<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Seeds of Genius &#187; IPMP</title>
	<atom:link href="http://www.seedsofgenius.net/tag/ipmp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seedsofgenius.net</link>
	<description>Defining Value Add</description>
	<lastBuildDate>Wed, 19 Oct 2011 18:13:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Solaris IPMP: Link Based IPMP</title>
		<link>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp-link-based-ipmp</link>
		<comments>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp-link-based-ipmp#comments</comments>
		<pubDate>Mon, 15 Mar 2010 23:47:43 +0000</pubDate>
		<dc:creator>bisbell</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[IPMP]]></category>

		<guid isPermaLink="false">http://www.seedsofgenius.net/?p=190</guid>
		<description><![CDATA[IPMP, or IP Multipathing, is used to provide redundant network connections for your Solaris servers.  When IPMP was first release it used a probe based method for failure detection.  This [...]]]></description>
			<content:encoded><![CDATA[<p>IPMP, or IP Multipathing, is used to provide redundant network connections for your Solaris servers.  When IPMP was first release it used a probe based method for failure detection.  This required an IP address to be placed on all NIC&#8217;s in the IPMP group, even if the NIC was just being used a test interface.  Also, the probe based methodology for failure detection would send pings out every 2 seconds and would wait for 5 failures before failing over the IP addresses to another NIC in the IPMP group.  This means that a network connection would be down for 10 seconds before the failover occurred.</p>
<p>Starting with Solaris 9 link-based IPMP was released.  This uses the interfaces link state to determine the status of the network connection for failover/failback purposes.  With link-based IPMP the failover will occur instantly when a link goes  down.   Since the failover is instantaneous and no extra IP addresses are required to build test interfaces, link-based IPMP is the preferred way to build redundant network interfaces on Solaris.</p>
<p>IPMP requires that each NIC has a unique MAC address.  Before configuring IPMP verify that the <em>local-mac-address?</em> setting on the system PROM is set to true.<br />
<span style="color: #993300; font-family: 'courier new'"># eeprom local-mac-address?<br />
local-mac-address?=true</span><br />
If it&#8217;s not set to true then run the following command to change the setting and then reboot the system<br />
<span style="color: #993300; font-family: 'courier new'"># eeprom local-mac-address?=true</span></p>
<p>Link based IPMP can be configured as active/active or  active/passive.  Examples of both are provided below.</p>
<p><span style="text-decoration: underline;"><strong>Active/Passive</strong></span><br />
If your server is only using 1 IP address you will have to configure your IPMP as Active/Passive.  Here is a sample configuration.</p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/hostname.e1000g0</span><br />
<span style="color: #993300; font-family: 'courier new'">192.168.3.32 group IPMP-1</span></p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/hostname.e1000g1</span><br />
<span style="color: #993300; font-family: 'courier new'">group IPMP-1 standby</span></p>
<p>The standby keyword is used on the passive interfaces.  No hostname or IP address should be assigned to this NIC.<br />
This configuration will result in the following after a system reboot.</p>
<p><span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;"># ifconfig -a</span><br />
<span style="font-family: 'courier new'; color: #473933; font-size: 7.25pt;">lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;">e1000g0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.3.32 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:84</span><br />
<span style="font-family: 'courier new'; color: #473933; font-size: 7.25pt;">e1000g0:1: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;">e1000g1: flags=69000842&lt;BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,STANDBY,INACTIVE&gt; mtu 0 index 4<br />
inet 0.0.0.0 netmask 0<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:85</span></p>
<p>An attempt to assign an IP address to a standby interface will cause that IP to be configured on another NIC in the IPMP group.<br />
Notice in the following example an attempt to assign an IP address to e1000g1 will result in a new logical interface being configured on e1000g0.  As long as the link status of one NIC in the IPMP group is good, then the standby interface will not allow any IP addresses to be configured on it.</p>
<p><span style="color: #993300; font-family: 'courier new'"># ifconfig e1000g1 addif 192.168.3.33 up<br />
Created new logical interface e1000g0:2</span></p>
<p>In an active/passive configuration you can setup as many virtual IP address on the active NIC as you want.  However, if multiple IP addresses are to be used then it would probably make sense to use an active/active configuration for load balancing purposes.</p>
<p><span style="text-decoration: underline;"><strong>Active/Active</strong></span></p>
<p>If your server uses multiple IP address on the same network you can spread your network load across all NIC&#8217;s in your IPMP group.  The following example shows 2 IP address on 2 NIC&#8217;s.</p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/e1000g0</span><br />
<span style="color: #993300; font-family: 'courier new';">192.168.3.32 group IPMP-1</span></p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/e1000g1</span><br />
<span style="color: #993300; font-family: 'courier new';">192.168.3.33 group IPMP-1</span></p>
<p>This configuration will result in the following after a system reboot.</p>
<p><span style="color: #993300; font-family: 'courier new'; font-size: 8pt;"># ifconfig -a</span><br />
<span style="color: #473933; font-family: 'courier new'; font-size: 8pt;">lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 8pt;">e1000g0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.3.32 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:84</span><br />
<span style="color: #473933; font-family: 'courier new'; font-size: 8pt;">e1000g1: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 3<br />
inet 192.168.3.33 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:85</span>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=406">Modify a Solaris Jumpstart Miniroot for Fun and Profit</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=149">BIND 9.6.1-P3 on Solaris 10</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=59">Solaris IPMP: Probe Based IPMP</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp-link-based-ipmp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris IPMP: Probe Based IPMP</title>
		<link>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp</link>
		<comments>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp#comments</comments>
		<pubDate>Wed, 25 Nov 2009 16:18:07 +0000</pubDate>
		<dc:creator>bisbell</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[IPMP]]></category>

		<guid isPermaLink="false">http://www.seedsofgenius.net/?p=59</guid>
		<description><![CDATA[In a highly available server configuration it is important to eliminate any single point of failure.  IPMP, or IP Multipathing, provides a mechanism for building redundant network interfaces to guard [...]]]></description>
			<content:encoded><![CDATA[<p>IPMP, or IP Multipathing, is used to provide redundant network connections for your Solaris servers.  When IPMP was first release it used a probe based method for failure detection.  This required an IP address to be placed on all NIC&#8217;s in the IPMP group, even if the NIC was just being used a test interface.  Also, the probe based methodology for failure detection would send pings out every 2 seconds and would wait for 5 failures before failing over the IP addresses to another NIC in the IPMP group.  This means that a network connection would be down for 10 seconds before the failover occurred.</p>
<p>Starting with Solaris 9 link-based IPMP was released.  This uses the interfaces link state to determine the status of the network connection for failover/failback purposes.  With link-based IPMP the failover will occur instantly when a link goes  down.   Since the failover is instantaneous and no extra IP addresses are required to build test interfaces, link-based IPMP is the preferred way to build redundant network interfaces on Solaris.</p>
<p>IPMP requires that each NIC has a unique MAC address.  Before configuring IPMP verify that the <em>local-mac-address?</em> setting on the system PROM is set to true.<br />
<span style="color: #993300; font-family: 'courier new'"># eeprom local-mac-address?<br />
local-mac-address?=true</span><br />
If it&#8217;s not set to true then run the following command to change the setting and then reboot the system<br />
<span style="color: #993300; font-family: 'courier new'"># eeprom local-mac-address?=true</span></p>
<p>Link based IPMP can be configured as active/active or  active/passive.  Examples of both are provided below.</p>
<p><span style="text-decoration: underline;"><strong>Active/Passive</strong></span><br />
If your server is only using 1 IP address you will have to configure your IPMP as Active/Passive.  Here is a sample configuration.</p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/hostname.e1000g0</span><br />
<span style="color: #993300; font-family: 'courier new'">192.168.3.32 group IPMP-1</span></p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/hostname.e1000g1</span><br />
<span style="color: #993300; font-family: 'courier new'">group IPMP-1 standby</span></p>
<p>The standby keyword is used on the passive interfaces.  No hostname or IP address should be assigned to this NIC.<br />
This configuration will result in the following after a system reboot.</p>
<p><span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;"># ifconfig -a</span><br />
<span style="font-family: 'courier new'; color: #473933; font-size: 7.25pt;">lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;">e1000g0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.3.32 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:84</span><br />
<span style="font-family: 'courier new'; color: #473933; font-size: 7.25pt;">e1000g0:1: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 7.25pt;">e1000g1: flags=69000842&lt;BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,STANDBY,INACTIVE&gt; mtu 0 index 4<br />
inet 0.0.0.0 netmask 0<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:85</span></p>
<p>An attempt to assign an IP address to a standby interface will cause that IP to be configured on another NIC in the IPMP group.<br />
Notice in the following example an attempt to assign an IP address to e1000g1 will result in a new logical interface being configured on e1000g0.  As long as the link status of one NIC in the IPMP group is good, then the standby interface will not allow any IP addresses to be configured on it.</p>
<p><span style="color: #993300; font-family: 'courier new'"># ifconfig e1000g1 addif 192.168.3.33 up<br />
Created new logical interface e1000g0:2</span></p>
<p>In an active/passive configuration you can setup as many virtual IP address on the active NIC as you want.  However, if multiple IP addresses are to be used then it would probably make sense to use an active/active configuration for load balancing purposes.</p>
<p><span style="text-decoration: underline;"><strong>Active/Active</strong></span></p>
<p>If your server uses multiple IP address on the same network you can spread your network load across all NIC&#8217;s in your IPMP group.  The following example shows 2 IP address on 2 NIC&#8217;s.</p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/e1000g0</span><br />
<span style="color: #993300; font-family: 'courier new';">192.168.3.32 group IPMP-1</span></p>
<p><span style="color: #993300; font-family: 'courier new'; text-decoration: underline;">/etc/e1000g1</span><br />
<span style="color: #993300; font-family: 'courier new';">192.168.3.33 group IPMP-1</span></p>
<p>This configuration will result in the following after a system reboot.</p>
<p><span style="color: #993300; font-family: 'courier new'; font-size: 8pt;"># ifconfig -a</span><br />
<span style="color: #473933; font-family: 'courier new'; font-size: 8pt;">lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1<br />
inet 127.0.0.1 netmask ff000000</span><br />
<span style="color: #993300; font-family: 'courier new'; font-size: 8pt;">e1000g0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.3.32 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:84</span><br />
<span style="color: #473933; font-family: 'courier new'; font-size: 8pt;">e1000g1: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 3<br />
inet 192.168.3.33 netmask ffffff00 broadcast 192.168.3.255<br />
groupname IPMP-1<br />
ether 0:21:28:27:bc:85</span>
<div id="apf_post_footer">
<h4>Related Articles:</h4>
<ul>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=406">Modify a Solaris Jumpstart Miniroot for Fun and Profit</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=149">BIND 9.6.1-P3 on Solaris 10</a></li>
<li class="apf_footer"><a href="http://www.seedsofgenius.net/?p=59">Solaris IPMP: Probe Based IPMP</a></li>
</ul>
</div>
<p><!-- HTML Codes by Quackit.com --><br />
<span style="font-family:Arial;font-size:18px;font-style:italic;font-weight:bold;text-decoration:underline;text-transform:none;color:000066;background-color:ffffff;">ABOUT US</span><br />
<span style="font-family:Arial;font-size:14px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:none;color:003366;background-color:ffffff;">Seeds of Genius, Inc. offers a full range of IT solutions including hardware and software products in addition to consulting, installation and support services. For more information, please visit our main web site at <a href="http://www.seedsofgenius.com">http://www.seedsofgenius.com</a> or contact our Technical Sales department at (410) 312-9806.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seedsofgenius.net/solaris/networking/solaris-ipmp-link-based-ipmp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

