<?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>Linux &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Sun, 22 Oct 2023 18:19:52 +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 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>
