<?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>IPv6 &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/category/tcp-ip/ipv6/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Mon, 23 Oct 2023 18:31:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Enable IPv6 on Direct Admin</title>
		<link>https://arunns.net/enabled-ipv6-on-direct-admin/</link>
					<comments>https://arunns.net/enabled-ipv6-on-direct-admin/#comments</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Mon, 14 Nov 2011 10:11:17 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[IPv6 Direct admin]]></category>
		<category><![CDATA[IPv6 DNS configuration for DA]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=569</guid>

					<description><![CDATA[It was rather easy to get IPv6 working with DA if you have the IPv6 subnet allocated for your server. Make sure that you have IPv6 enabled on your DA. # grep ipv6 /usr/local/directadmin/conf/directadmin.conf ipv6=1 Add the IPv6 Addresses to your direct admin, through IP Management (This will add IPv6 address to the interface). Enter [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It was rather easy to get IPv6 working with DA if you have the IPv6 subnet allocated for your server.</p>
<p>Make sure that you have IPv6 enabled on your DA.</p>
<p><code># grep ipv6 /usr/local/directadmin/conf/directadmin.conf<br />
ipv6=1</code></p>
<p>Add the IPv6 Addresses to your direct admin, through IP Management (This will add IPv6 address to the interface).<br />
<em>Enter the IPv6 Address in IP field and keep the Netmask as 255.255.255.0</em></p>
<p>Add IPv6 address for your name servers,<br />
<em>go to DNS administration &#8211;&gt; Select your name server domain &#8211;&gt; Add AAAA records for your Name Servers.</em> Make sure you have added the IPv6 addresses already to DA.</p>
<p>Check your name server is resolving/reachable via IPv6.</p>
<p>Now to add IPv6 Address to hosted domains, <em>select the domain &#8211;&gt; Modify user &#8211;&gt; select the IPv6 address in &#8220;Add Additional IP&#8221;</em>. If the IPv6 address is not visible, make sure it is added to DA and to the reseller account you are editing the domain.</p>
<p><em>Add the IPv6 address(AAAA) to the corresponding domains DNS configuration.</em></p>
<p>Here we go, ping666666</p>
<p>&nbsp;</p>
<p>./arun</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/enabled-ipv6-on-direct-admin/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Configure IPv6 squid</title>
		<link>https://arunns.net/configure-ipv6-squid/</link>
					<comments>https://arunns.net/configure-ipv6-squid/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 01 Mar 2011 08:01:43 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Squid]]></category>
		<category><![CDATA[configure squid with ipv6]]></category>
		<category><![CDATA[ipv6 proxy]]></category>
		<category><![CDATA[ipv6 squid]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=435</guid>

					<description><![CDATA[Squid 3.1+ support IPv6 &#8211; Compile and install 3.1.x version of squid. # useradd -d /opt/squid squid # wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.11-20110228.tar.gz # tar xvzf squid-3.1.11-20110228.tar.gz # cd squid-3.1.11-20110228; ./configure &#8211;prefix=/opt/squid/ # make; make install # /opt/squid/sbin/squid -z Configure squid edit /opt/squid/etc/squid.conf cache_effective_user squid acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Squid 3.1+ support IPv6</p>
<p>&#8211; Compile and install 3.1.x version of squid.</p>
<blockquote><p># useradd -d /opt/squid squid</p>
<p># wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.11-20110228.tar.gz</p>
<p># tar xvzf squid-3.1.11-20110228.tar.gz</p>
<p># cd squid-3.1.11-20110228; ./configure &#8211;prefix=/opt/squid/</p>
<p># make; make install</p>
<p># /opt/squid/sbin/squid -z</p></blockquote>
<p>Configure squid</p>
<p>edit /opt/squid/etc/squid.conf</p>
<blockquote><p>cache_effective_user squid</p>
<p>acl manager proto cache_object<br />
acl localhost src 127.0.0.1/32 ::1<br />
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1</p>
<p>acl to_ipv6 dst ipv6<br />
http_access allow to_ipv6 !all<br />
tcp_outgoing_address 2001:: to_ipv6<br />
tcp_outgoing_address 12.34.56.78 !to_ipv6</p></blockquote>
<p>And add necessary acls to allow access for your network to squid.</p>
<p>Testing:</p>
<blockquote><p>$ telnet &lt;v6_address&gt; 3128<br />
Trying 2001::&#8230;<br />
Connected to 2001::..<br />
Escape character is &#8216;^]&#8217;.<br />
get http://ipv6.google.com/<br />
HTTP/1.0 200 OK</p></blockquote>
<p>Check the access.log to make sure</p>
<blockquote><p>1298965141.719    477 2001:: TCP_MISS/200 25918 GET http://ipv6.google.com/ &#8211; DIRECT/2a00:1450:8002::6a text/html</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/configure-ipv6-squid/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>IPv6 configuration for KVM guests</title>
		<link>https://arunns.net/ipv6-configuration-for-kvm-guests/</link>
					<comments>https://arunns.net/ipv6-configuration-for-kvm-guests/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Wed, 28 Jul 2010 10:00:55 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[kvm bridge ipv6]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=356</guid>

					<description><![CDATA[It is simple and straight forward to enable IPv6 on KVM guests Configure the host machine with IPv6 Address on the bridge interface cat ifcfg-br0 IPV6INIT=yes IPV6ADDR=xxxx.xx::10 IPV6_DEFAULTGW=xxxx.xx::1 IPV6_AUTOCONF=no Configure the interface on virutal machines with ipv6 address cat ifcfg-eth0 IPV6INIT=yes IPV6ADDR=xxxx.xx::11 IPV6_DEFAULTGW=xxxx.xx::1 IPV6_AUTOCONF=no Add the the necessary firewall rules to ip6tables on the host [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It is simple and straight forward to enable IPv6 on KVM guests</p>
<p>Configure the host machine with IPv6 Address on the bridge interface</p>
<p>cat ifcfg-br0</p>
<blockquote><p>
IPV6INIT=yes<br />
IPV6ADDR=xxxx.xx::10<br />
IPV6_DEFAULTGW=xxxx.xx::1<br />
IPV6_AUTOCONF=no</p></blockquote>
<p>Configure the  interface on virutal machines with ipv6 address</p>
<p>cat ifcfg-eth0</p>
<blockquote><p>IPV6INIT=yes<br />
IPV6ADDR=xxxx.xx::11<br />
IPV6_DEFAULTGW=xxxx.xx::1<br />
IPV6_AUTOCONF=no</p></blockquote>
<p>Add the the necessary firewall rules to ip6tables on the host machine</p>
<blockquote><p>-A FORWARD -m physdev &#8211;physdev-is-bridged -j ACCEPT.</p></blockquote>
<p>./arun</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/ipv6-configuration-for-kvm-guests/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Setting Up IPv6 Tunnels on MAC and Linux</title>
		<link>https://arunns.net/ipv6-tunnel-from-maclinux/</link>
					<comments>https://arunns.net/ipv6-tunnel-from-maclinux/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Thu, 11 Mar 2010 13:28:19 +0000</pubDate>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC OS X]]></category>
		<category><![CDATA[ipv6 on mac]]></category>
		<category><![CDATA[ipv6 tunnel from mac]]></category>
		<category><![CDATA[ipv6 tunnel linux]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=247</guid>

					<description><![CDATA[IPv6, the next generation Internet Protocol, brings a wealth of possibilities to your network, system, and services. In this guide, we&#8217;ll walk you through the process of establishing an IPv6 network tunnel on both MAC OS X and Linux. Step 1: Choose an IPv6 Tunnel Broker First, you need to select an IPv6 tunnel broker. [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="flex-col gap-1 md:gap-3">
<div class="flex flex-grow flex-col gap-3 max-w-full">
<div class="min-h-[20px] flex flex-col items-start gap-3 whitespace-pre-wrap break-words overflow-x-auto">
<div class="markdown prose w-full break-words dark:prose-invert light">
<p>IPv6, the next generation Internet Protocol, brings a wealth of possibilities to your network, system, and services. In this guide, we&#8217;ll walk you through the process of establishing an IPv6 network tunnel on both MAC OS X and Linux.</p>
<p><strong>Step 1: Choose an IPv6 Tunnel Broker</strong></p>
<p>First, you need to select an IPv6 tunnel broker. These brokers provide the essential infrastructure to connect your network to the IPv6 world. There are several options available, but for this guide, we&#8217;ll use Hurricane Electric, a free and reliable tunnel broker. You can find a list of tunnel brokers <a href="https://tunnelbroker.net/" target="_new" rel="noopener">here</a>.</p>
<p><strong>Step 2: Creating the Tunnel</strong></p>
<p>With your selected tunnel broker, follow these steps to create your IPv6 tunnel:</p>
<ul>
<li>Visit your chosen tunnel broker&#8217;s website and sign up for an account.</li>
<li>Once logged in, create a tunnel by specifying your public IPv4 address.</li>
<li>Your tunnel broker will assign you a range of IPv6 addresses, which you will need in the next steps.</li>
</ul>
<p><strong>Step 3: Configuration for MAC OS X</strong></p>
<p>For MAC OS X, here are the steps to configure your machine for the IPv6 tunnel:</p>
<ul>
<li>Configure the tunnel with your assigned IPv4 and IPv6 addresses:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ifconfig gif0 tunnel host_ip tunnel_broker_ipv4_ip<br />
</code></div>
</div>
<p>Replace <code>host_ip</code> with your machine&#8217;s private address or public IP if you&#8217;re not behind NAT.</p>
</div>
</div>
</div>
</div>
<p>Set up the tunnel endpoints:</p>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md"><code class="!whitespace-pre hljs language-bash">$ sudo ifconfig gif0 inet6 host_ipv6_address tunnel_broker_ipv6_address prefixlen 128<br />
</code></div>
</div>
<p>These IPv6 addresses are assigned by the tunnel broker.</p>
<ul>
<li>Add a default route for IPv6 traffic:</li>
</ul>
<p><code class="!whitespace-pre hljs language-bash">$ sudo route -n add -inet6 default tunnel_broker_ipv6_address<br />
</code></p>
<ul>
<li>To ensure IPv6 is enabled on the interface, use:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip6 -x gif0<br />
</code></div>
</div>
<ul>
<li>Test your IPv6 connectivity:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ ping6 ipv6.google.com<br />
$ telnet ipv6.google.com 80<br />
</code></div>
</div>
<p><strong>Step 4: Configuration for Linux</strong></p>
<p>The process is nearly identical on Linux:</p>
<ul>
<li>Confirm that the IPv6 module is present in the kernel:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo modprobe ipv6<br />
</code></div>
</div>
<ul>
<li>Create the tunnel:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip tunnel add he-ipv6 mode sit remote 216.66.xx.xx <span class="hljs-built_in">local</span> 192.168.1.2 ttl 255<br />
</code></div>
</div>
<p>Replace <code>local</code> with your public IP if directly assigned.</p>
<ul>
<li>Activate the tunnel:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip <span class="hljs-built_in">link</span> <span class="hljs-built_in">set</span> he-ipv6 up<br />
</code></div>
</div>
<ul>
<li>Assign an IP address to the interface:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip addr add 2001:470:xxxx:xxxx::2/64 dev he-ipv6<br />
</code></div>
</div>
<ul>
<li>Add a default route for IPv6:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip route add ::/0 dev he-ipv6<br />
</code></div>
</div>
<ul>
<li>Add a protocol family identifier:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ sudo ip -f inet6 addr<br />
</code></div>
</div>
<p>With these steps, your MAC or Linux machine is now equipped with an IPv6 tunnel, allowing you to access IPv6 networks.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/ipv6-tunnel-from-maclinux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Enable IPv6 on Linux (2010)</title>
		<link>https://arunns.net/enable-ipv6-on-linux/</link>
					<comments>https://arunns.net/enable-ipv6-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 09 Mar 2010 14:09:55 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=242</guid>

					<description><![CDATA[IPv6 is the future of internet addressing, and Linux, with its robust kernel support, makes it remarkably easy to enable IPv6 on your system. In this guide, we&#8217;ll explore the process of setting up IPv6 on a Linux system, with a focus on Red Hat Linux. However, the principles and steps discussed here are applicable [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>IPv6 is the future of internet addressing, and Linux, with its robust kernel support, makes it remarkably easy to enable IPv6 on your system. In this guide, we&#8217;ll explore the process of setting up IPv6 on a Linux system, with a focus on Red Hat Linux. However, the principles and steps discussed here are applicable to all Linux distributions. By the end of this guide, you&#8217;ll have a clear understanding of how to configure and utilize IPv6 effectively.</p>
<p><strong>Step 1: Ensure IPv6 Support in the Kernel</strong></p>
<p>Before diving into the configuration, you need to confirm that IPv6 support is enabled in your kernel. Most modern kernels have IPv6 support enabled by default. However, it&#8217;s always a good idea to double-check.</p>
<ul>
<li>To do this, open the file <code>/etc/modprobe.conf</code> and comment out the following lines if they exist:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">#alias ipv6 off<br />
</code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">#alias net-pf-10 off<br />
</code></div>
</div>
<p><strong>Step 2: Enable IPv6 Networking</strong></p>
<p>The next step is to enable IPv6 networking. To do this:</p>
<ul>
<li>Open the file <code>/etc/sysconfig/network</code>.</li>
<li>Add or modify the following line to read:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">NETWORKING_IPV6=yes<br />
</code></div>
</div>
<p><strong>Step 3: Configure the IPv6 Address</strong></p>
<p>To configure your IPv6 address:</p>
<ul>
<li>Edit the appropriate network configuration file. For example, if you&#8217;re using Ethernet, you would typically edit <code>/etc/sysconfig/network-scripts/ifcfg-eth0</code>. If you&#8217;re using bond interfaces, the same principles apply.</li>
<li>Add or modify the following lines to specify your IPv6 address details:</li>
</ul>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6INIT=yes<br />
</code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6ADDR=your_ipv6_address<br />
IPV6ADDR_SECONDARIES=any_additional_ipv6_addresses<br />
IPV6_DEFAULTGW=your_ipv6_gateway </code></div>
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">IPV6_AUTOCONF=yes/no<br />
</code></div>
</div>
<p><strong>Step 4: Restart the Network</strong></p>
<p>After making these changes, restart your network to apply the new IPv6 configurations. Your system should now be assigned an IPv6 address, and you&#8217;ll be ready to utilize IPv6 networking.</p>
<p><strong>Step 5: Software Configuration</strong></p>
<p>Most Linux software works seamlessly with IPv6. However, for certain services like Apache, you may need to make some adjustments. For Apache, ensure you do the following:</p>
<ul>
<li>Add the IPv6 listen address to your Apache configuration.</li>
<li>Enable name virtual host for IPv6 addresses if necessary.</li>
</ul>
<p><strong>Step 6: Testing IPv6 Connectivity</strong></p>
<p>You can verify your IPv6 connectivity by using the <code>ping6</code> command. For instance, to test your connection to Google&#8217;s IPv6 address, you can run:</p>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">bash</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-bash">$ ping6 ipv6.google.com<br />
</code></div>
</div>
<p>This command will help you confirm that your system is effectively communicating over IPv6.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/enable-ipv6-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
