<?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>Sun Solaris System Admin &#187; ARP</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/arp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Increase/Decrease route flushing time period in Solaris</title>
		<link>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=increasedecrease-route-flushing-time-period-in-solaris</link>
		<comments>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 19:08:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[ndd]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[routing-table]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/</guid>
		<description><![CDATA[Just as we saw modifying the caching time for ARP entries in the ARP table here. We can modify the default time that a sun Solaris system can hold the routing entries. The default time for which a dynamically learnt Route entry in the routing table is 20mins (1200000ms) To Display current Route holding time <a href='http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><br />
Just as we saw modifying the caching time for ARP entries in the ARP table <a title="Reduce ARP Caching time in Sun Solaris" href="http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/" target="_blank">here</a>. We can modify the default time that a sun Solaris system can hold the routing entries.</p>
<p>The default time for which a dynamically learnt Route entry in the routing table is 20mins (1200000ms)</p>
<p><span id="more-50"></span></p>
<p><strong><span style="text-decoration: underline;">To Display current Route holding time</span></strong></p>
<p>To display the current time interval to hold a route entry</p>
<p><strong>In Solaris 8/9/10</strong></p>
<blockquote><p><strong>sunsolaris# ndd -get /dev/ip ip_ire_arp_interval<br />
</strong>1200000</p></blockquote>
<p><strong>In earlier versions to Solaris 8</strong></p>
<blockquote><p><strong>sunsolaris# ndd -get /dev/ip ip_ire_flush_interval</strong></p></blockquote>
<p><strong><span style="text-decoration: underline;">To modify the Route holding time</span></strong> </p>
<p><!--adsense#AD2-->This can be modified or reduced to a lower level. To modify the default time to say 15 mins</p>
<p><strong>In Solaris 8/9/10</strong></p>
<blockquote><p><strong>sunsolaris# ndd -set /dev/ip ip_ire_arp_interval 900000</strong></p></blockquote>
<p>In earlier versions to Solaris 8</p>
<blockquote><p><strong>sunsolaris# ndd -set /dev/ip ip_ire_flush_interval 900000</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display/Add/Delete/modify ARP entries in ARP Table</title>
		<link>http://www.sunsolarisadmin.com/networking/displayadddeletemodify-arp-entries-in-arp-table/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displayadddeletemodify-arp-entries-in-arp-table</link>
		<comments>http://www.sunsolarisadmin.com/networking/displayadddeletemodify-arp-entries-in-arp-table/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 18:42:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[ARP-table]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Caching-time]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/networking/displayadddeletemodify-arp-entries-in-arp-table/</guid>
		<description><![CDATA[Not so often we would end up troubleshooting or manipulating ARP and ARP tables in Sun Solaris. However, following are some of the useful commands which can help when required. The following commands will help you display,modify,add,delete ARP entries in Sun Solaris ARP table. Display ARP table sunsolaris# arp -a Net to Media Table: IPv4 <a href='http://www.sunsolarisadmin.com/networking/displayadddeletemodify-arp-entries-in-arp-table/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Not so often we would end up troubleshooting or manipulating ARP and ARP tables in Sun Solaris. However, following are some of the useful commands which can help when required. The following commands will help you display,modify,add,delete ARP entries in Sun Solaris ARP table.</p>
<p><span id="more-49"></span></p>
<p><strong><u>Display ARP table</u></strong></p>
<blockquote><p><strong>sunsolaris# arp -a</strong><br />
Net to Media Table: IPv4<br />
Device   IP Address               Mask      Flags   Phys Addr<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;<br />
pcn0   192.168.0.1          255.255.255.255       00:18:4d:f8:a4:6e<br />
pcn0   192.168.0.2          255.255.255.255       00:13:ce:85:0e:e1<br />
pcn0   sunsolaris            255.255.255.255 SP    00:0c:29:d3:76:89<br />
pcn0   BASE-ADDRESS.MCAST.NET 240.0.0.0       SM    01:00:5e:00:00:00</p></blockquote>
<p><strong><u>Delete an ARP entry</u></strong></p>
<blockquote><p><strong>sunsolaris# arp -d 192.168.0.1</strong><br />
192.168.0.1 (192.168.0.1) deleted</p></blockquote>
<p>To verify the entry indeed is deleted</p>
<blockquote><p><strong>sunsolaris# arp -a<br />
</strong>Net to Media Table: IPv4<br />
Device   IP Address               Mask      Flags   Phys Addr<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;<br />
pcn0   192.168.0.2          255.255.255.255       00:13:ce:85:0e:e1<br />
pcn0   solaris10            255.255.255.255 SP    00:0c:29:d3:76:89<br />
pcn0   BASE-ADDRESS.MCAST.NET 240.0.0.0       SM    01:00:5e:00:00:00</p></blockquote>
<p>You can see the ARP entry for 192.168.0.1 is longer found.</p>
<p><strong><u>Add a Static entry</u></strong></p>
<blockquote><p><strong>sunsolaris# arp -s 192.168.0.1 00:18:4d:f8:a4:6e</strong></p></blockquote>
<p>Syntax is</p>
<p><strong>arp -s HOSTNAME MAC-Address &lt;pub/temp/trail&gt;</strong></p>
<p>where</p>
<p>pub &#8211; publishes the ARP entries to other hosts on the network</p>
<p>temp &#8211; Temporary entry</p>
<p>trail &#8211; Allows Trailer Encapsulations to be sent to host</p>
<p>You can also read static entries from a file. This can come handy if you decide that all ARP entries are static and no ARP requests are sent and received from the system. You can add the static entries onto a file and add the arp command onto the network init scripts in /etc/rc2.d/</p>
<p><strong><u>To read from file</u></strong></p>
<blockquote><p><strong>sunsolaris# arp -f /etc/host_mac</strong></p></blockquote>
<p>where /etc/host_mac is my file name from where the ARP entries are read.</p>
<p><strong><u>To check the current ARP caching time</u></strong></p>
<blockquote><p><strong>sunsolaris# ndd -get /dev/arp arp_cleanup_interval<br />
</strong>500000</p></blockquote>
<p>where 500000 in milliseconds indicates 5mins</p>
<p>To modify ARP Cache timing, <a target="_blank" href="http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/" title="Sun Solaris Modify ARP Cache Time">click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/networking/displayadddeletemodify-arp-entries-in-arp-table/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Reduce ARP caching time in Sun Solaris using ndd</title>
		<link>http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=reduce-arp-caching-time-in-sun-solaris-using-ndd</link>
		<comments>http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 18:02:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[ARP-table]]></category>
		<category><![CDATA[attacks]]></category>
		<category><![CDATA[cache]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/</guid>
		<description><![CDATA[ARP attacks are the easiest attacks that can be launched on a network or a Server causing a Denial of Service. One of those things that can be done on the Sun Solaris Operating System is to alter the caching time for the ARP cache whch reduces the time that a rogue ARP entry stays <a href='http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
ARP attacks are the easiest attacks that can be launched on a network or a Server causing a Denial of Service. One of those things that can be done on the Sun Solaris Operating System is to alter the caching time for the ARP cache whch reduces the time that a rogue ARP entry stays in the ARP table. While this is not fool proof but can certainly make it that extra difficult to the hacker.</p>
<p>The default time that ARP entries are cached in a Sun Solaris system is 5 mins.</p>
<p><span id="more-48"></span></p>
<p>However, this can be reduced to lower level (say 3mins). This means that the number of ARP requests and ARP replies to and from the server will increase as a result. So, before modifying the caching time, check if this can cause andy congestion on your network.</p>
<p>To set the ARP cache time period</p>
<blockquote><p><strong>solaris# ndd -set /dev/arp arp_cleanup_interval 180000</strong></p></blockquote>
<p>The above command sets the interval to 3 minutes (1min is equal to 60000ms). Now, all the ARP entries are flushed at a faster rate (every 3mins)</p>
<p>For this change to persist across reboots, add this command onto the init scripts in /etc/rc2.d directory for your network interface (where all the required ndd commands are run).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

