<?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>Cristian Bradiceanu &#187; Solaris</title>
	<atom:link href="http://blog.bradiceanu.net/tag/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bradiceanu.net</link>
	<description>just another (technical) blog</description>
	<lastBuildDate>Sun, 13 Nov 2011 14:18:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>(Open)Solaris, Linux and FreeBSD tunnelbroker.net IPv6 setup</title>
		<link>http://blog.bradiceanu.net/2009/12/01/opensolaris-and-linux-tunnelbroker-net-ipv6-setup/</link>
		<comments>http://blog.bradiceanu.net/2009/12/01/opensolaris-and-linux-tunnelbroker-net-ipv6-setup/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 18:36:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ipv6-in-ipv4]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://blog.bradiceanu.net/?p=192</guid>
		<description><![CDATA[After you create a Regular Tunnel at Hurricane Electric&#8216;s tunnelbroker.net you will receive the following informations: Server IPv4 Address Server IPv6 Address Client IPv4 Address Client IPv6 Address Routed /64 Solaris and OpenSolaris IPv6 tunnel setup Create /etc/hostname6.ip.tun0 file: tsrc Client_IPv4_Address tdst Server_IPv4_Address up addif Client_IPv6_Address Server_IPv6_Address up Add the permanent IPv6 default gateway: route [...]]]></description>
			<content:encoded><![CDATA[<p>After you create a Regular Tunnel at <a href="http://www.he.net/">Hurricane Electric</a>&#8216;s <a href="http://tunnelbroker.net/">tunnelbroker.net</a> you will receive the following informations:</p>
<p>Server IPv4 Address<br />
Server IPv6 Address<br />
Client IPv4 Address<br />
Client IPv6 Address<br />
Routed /64</p>
<p><strong>Solaris and OpenSolaris IPv6 tunnel setup</strong></p>
<p>Create <code>/etc/hostname6.ip.tun0</code> file:<br />
<code>tsrc Client_IPv4_Address tdst Server_IPv4_Address up<br />
addif Client_IPv6_Address Server_IPv6_Address up</code></p>
<p>Add the permanent IPv6 default gateway:<br />
<code>route -p add -inet6 default Server_IPv6_Address</code></p>
<p>(Tested on <a href="http://www.sun.com/software/solaris/10/">Solaris</a> 10 5/09 and 10/09, <a href="http://www.opensolaris.com/">OpenSolaris</a> 2009.06 and 2010.02 preview snv_127)</p>
<p><strong>Linux (RHEL / Fedora / CentOS) IPv6 tunnel setup</strong></p>
<p>Create <code>/etc/sysconfig/network-scripts/ifcfg-sit1</code> file:</p>
<p><code>DEVICE=sit1<br />
BOOTPROTO=none<br />
ONBOOT=yes<br />
IPV6INIT=yes<br />
IPV6TUNNELIPV4=Server_IPv4_Address<br />
IPV6TUNNELIPV4LOCAL=Client_IPv4_Address<br />
IPV6ADDR=Client_IPv6_Address/64<br />
</code></p>
<p>Add the following to <code>/etc/sysconfig/network</code> file:</p>
<p><code>NETWORKING_IPV6=yes<br />
IPV6_DEFAULTDEV=sit1</code></p>
<p>(Tested with <a href="http://fedoraproject.org/">Fedora</a> 11 and 12, <a href="http://www.centos.org/">CentOS</a> 5.3 and 5.4)</p>
<p><strong>FreeBSD IPv6 tunnel setup</strong></p>
<p>Add the following lines to <code>/etc/rc.conf</code> file:</p>
<p><code>gif_interfaces="gif0"<br />
gifconfig_gif0="Client_IPv4_Address Server_IPv4_Address"<br />
ipv6_enable="YES"<br />
ipv6_network_interfaces="lo0 gif0"<br />
ipv6_ifconfig_gif0="Client_IPv6_Address prefixlen 128"<br />
ipv6_defaultrouter="Server_IPv6_Address"</code></p>
<p>(Tested with <a href="http://www.freebsd.org/">FreeBSD</a> 6.4)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bradiceanu.net/2009/12/01/opensolaris-and-linux-tunnelbroker-net-ipv6-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Source NAT on Solaris 10 5/08 quick how-to</title>
		<link>http://blog.bradiceanu.net/2008/10/08/nat-on-solaris-10-508-quick-how-to/</link>
		<comments>http://blog.bradiceanu.net/2008/10/08/nat-on-solaris-10-508-quick-how-to/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 12:34:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ipf]]></category>
		<category><![CDATA[ipfilter]]></category>
		<category><![CDATA[NAT]]></category>

		<guid isPermaLink="false">http://www.bradiceanu.net/wordpress/?p=66</guid>
		<description><![CDATA[Enable ipv4 forwarding: routeadm -u -e ipv4-forwarding Configure NAT in /etc/ipf/ipnat.conf (replace e1000g0 with your outside interface, 172.16.0.0/12 with your LAN IP range): map e1000g0 172.16.0.0/12 -&#62; 0/32 proxy port ftp ftp/tcp map e1000g0 172.16.0.0/12 -&#62; 0/32 portmap tcp/udp auto map e1000g0 172.16.0.0/12 -&#62; 0/32 Enable ipf: svcadm enable network/ipfilter]]></description>
			<content:encoded><![CDATA[<p>Enable ipv4 forwarding:</p>
<p><code>routeadm -u -e ipv4-forwarding</code></p>
<p>Configure NAT in <code>/etc/ipf/ipnat.conf</code> (replace e1000g0 with your outside interface, 172.16.0.0/12 with your LAN IP range):</p>
<p><code>map e1000g0 172.16.0.0/12 -&gt; 0/32 proxy port ftp ftp/tcp<br />
map e1000g0 172.16.0.0/12 -&gt; 0/32 portmap tcp/udp auto<br />
map e1000g0 172.16.0.0/12 -&gt; 0/32</code></p>
<p>Enable ipf:</p>
<p><code>svcadm enable network/ipfilter</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bradiceanu.net/2008/10/08/nat-on-solaris-10-508-quick-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

