Re: turning off ipv6 on lo0

From: TIM KELLERS <trkellers_at_gmail.com>
Date: Wed, 10 May 2023 18:47:25 UTC
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I didn't see any replies to this message, but here is my ifconfig
      regarding l0:</p>
    <p>lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu
      16384<br>
        
       options=680003&lt;RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6&gt;<br>
          inet 127.0.0.1 netmask 0xff000000<br>
          groups: lo<br>
    </p>
    <p>I turned off IPV6 option in the kernel and rebuilt it.</p>
    <p><br>
    </p>
    <p>It was an interesting process.  It seems to break some ports.</p>
    <p><br>
    </p>
    <p>Tim<br>
    </p>
    <div class="moz-signature">
      <p><br>
      </p>
      <font size="2" face="sans-serif" color="gray">
        <!-- a href="http://twitter.com/njitcpe"><img alt="CPE Twitter" style="padding:2px;" hspace="2" vspace="2" src="http://dl1.njit.edu/~bpenczak1/tw.png"></img></a>
<a href="https://www.laverne.edu"><img alt="CPE Facebook" style="padding:2px;" hspace="2" vspace="2" src="http://dl1.njit.edu/~bpenczak1/fb.png"></img></a -->
      </font></div>
    <div class="moz-cite-prefix">On 5/8/23 1:52 PM, Gary Aitken wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:996b0ce7-0bfe-03e3-0666-6cec58b4ceba@dreamchaser.org">Can't
      seem to figure out how to completely disable ipv6 in 12.4-RELEASE.
      <br>
      Tried everything I've found in searches, I think.
      <br>
      <br>
      rc.conf:
      <br>
      <br>
      ip6addrctl_enable="NO"
      <br>
      ip6addrctl_prefer_ipv4="YES"
      <br>
      ip6addrctl_prefer_ipv6="NO"
      <br>
      ipv6_activate_all_interfaces="NO"
      <br>
      # neither of the 2 lines below have any effect;
      <br>
      # nor does the absence of them
      <br>
      # lo0 always has ipv6 configured
      <br>
      #ipv6_network_interfaces="none"
      <br>
      #ipv6_network_interfaces=""
      <br>
      <br>
      An ifconfig shows no ipv6 on any interfaces except lo0:
      <br>
      <br>
      lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu
      16384
      <br>
             
      options=680003&lt;RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6&gt;
      <br>
              inet6 ::1 prefixlen 128
      <br>
              inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
      <br>
              inet 127.0.0.1 netmask 0xff000000
      <br>
              groups: lo
      <br>
              nd6 options=21&lt;PERFORMNUD,AUTO_LINKLOCAL&gt;
      <br>
      <br>
      So how do I get rid of it on lo0?
      <br>
      Should I care?
      <br>
      <br>
      Gary
      <br>
      <br>
    </blockquote>
  </body>
</html>