<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IPv6 single-stack? (Points!) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266952#M81145</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I am doing some testing with IPv6.&lt;BR /&gt;&lt;BR /&gt;I am wondering, if I got this right, Linux 2.6 kernel systems are usually dual-stack (IPv4+IPv6) out of the box after installation.&lt;BR /&gt;&lt;BR /&gt;Is it easy to set up a Linux 2.6 kernel machine as IPv6 only with really only the IPv6 networking stack on that system?&lt;BR /&gt;&lt;BR /&gt;All truly helpful responses will be generously rewarded with points!&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
    <pubDate>Fri, 17 Dec 2010 14:39:49 GMT</pubDate>
    <dc:creator>Christian Deutsch_1</dc:creator>
    <dc:date>2010-12-17T14:39:49Z</dc:date>
    <item>
      <title>IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266952#M81145</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I am doing some testing with IPv6.&lt;BR /&gt;&lt;BR /&gt;I am wondering, if I got this right, Linux 2.6 kernel systems are usually dual-stack (IPv4+IPv6) out of the box after installation.&lt;BR /&gt;&lt;BR /&gt;Is it easy to set up a Linux 2.6 kernel machine as IPv6 only with really only the IPv6 networking stack on that system?&lt;BR /&gt;&lt;BR /&gt;All truly helpful responses will be generously rewarded with points!&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
      <pubDate>Fri, 17 Dec 2010 14:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266952#M81145</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-12-17T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266953#M81146</link>
      <description>Even the latest Linux kernel (2.6.36.2 at this time) does not yet support compiling the IPv4 support as a module. &lt;BR /&gt;&lt;BR /&gt;The kernel compilation option that controls IPv4 support is CONFIG_INET, and disabling that will also disable IPv6 support.&lt;BR /&gt;&lt;BR /&gt;So it seems it isn't possible to _remove_ the IPv4 stack from Linux yet. Although I believe that may eventually become possible, when/if IPv6-only networks become common enough.&lt;BR /&gt;&lt;BR /&gt;However, you can *completely block* the IPv4 functionality very simply using iptables:&lt;BR /&gt;&lt;BR /&gt;iptables -P INPUT DROP&lt;BR /&gt;iptables -P FORWARD DROP&lt;BR /&gt;iptables -P OUTPUT DROP&lt;BR /&gt;iptables -F&lt;BR /&gt;iptables -X&lt;BR /&gt;&lt;BR /&gt;This will set all the built-in IPv4 chains (INPUT, FORWARD and OUTPUT) to DROP all packets unless other rules say otherwise, then clears all the other rules and removes any custom rule-chains.&lt;BR /&gt;&lt;BR /&gt;After this, even if you still have IPv4 addresses configured on a NIC, the system will not process any incoming IPv4 packets.&lt;BR /&gt;&lt;BR /&gt;To be doubly sure, you can then remove all IPv4 address assignments from the NICs, making them IPv6-only.&lt;BR /&gt;&lt;BR /&gt;The IPv6 firewall rules are controlled with the command "ip6tables", so they aren't affected by this. &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 17 Dec 2010 15:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266953#M81146</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-12-17T15:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266954#M81147</link>
      <description>Thanks MK,&lt;BR /&gt;&lt;BR /&gt;That's very helpful indeed!&lt;BR /&gt;&lt;BR /&gt;What about if I want to restore IPv4 communication?&lt;BR /&gt;&lt;BR /&gt;To get the complete picture would be nice :)&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
      <pubDate>Mon, 20 Dec 2010 15:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266954#M81147</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-12-20T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266955#M81148</link>
      <description>Those iptables settings are not persistent unless you write a script that does them at each boot, or use a distribution-specific method to save the iptables settings. &lt;BR /&gt;&lt;BR /&gt;In RHEL 4 and newer, the command to make the current iptables settings persistent is:&lt;BR /&gt;&lt;BR /&gt;service iptables save&lt;BR /&gt;&lt;BR /&gt;(NOTE: this will overwrite the previous rule set. If you want to save it, backup "/etc/sysconfig/iptables" before running this command.)&lt;BR /&gt;&lt;BR /&gt;To re-enable IPv4 traffic without rebooting, just reload your previous iptables rules. Or if you didn't use iptables before, these commands can be used to restore the kernel default "allow everything" policy:&lt;BR /&gt;&lt;BR /&gt;iptables -P INPUT ACCEPT&lt;BR /&gt;iptables -P OUTPUT ACCEPT&lt;BR /&gt;iptables -P FORWARD ACCEPT&lt;BR /&gt;&lt;BR /&gt;(The "-F" and "-X" options are not needed this time: they would delete any exceptions to the default rules.)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 21 Dec 2010 14:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266955#M81148</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-12-21T14:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266956#M81149</link>
      <description>Thanks MK,&lt;BR /&gt;&lt;BR /&gt;That's wonderful!&lt;BR /&gt;&lt;BR /&gt;Very helpful!&lt;BR /&gt;&lt;BR /&gt;Happy Christmas!&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Thu, 23 Dec 2010 14:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266956#M81149</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-12-23T14:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: IPv6 single-stack? (Points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266957#M81150</link>
      <description>:)</description>
      <pubDate>Thu, 23 Dec 2010 14:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-single-stack-points/m-p/5266957#M81150</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-12-23T14:33:52Z</dc:date>
    </item>
  </channel>
</rss>

