Disabling DHCPv6 requests

Peter Silva peter at bsqt.homeip.net
Tue Sep 13 02:36:42 UTC 2016


Go into Network Manager GUI / Edit Connections /

Bring up the connection you are using.  There is an IPv6 tab.
Change it from "Automatic" to "Manual"

and the dhclient should stop asking for ipv6.

btw.  I have been using dual-stack ipv4 and ipv6 for years.  It's not
something you need to disable ipv6 works fine.


On Mon, Sep 12, 2016 at 6:59 PM, Karl Auer <kauer at biplane.com.au> wrote:
> On Mon, 2016-09-12 at 15:35 -0300, Duane Whitty wrote:
>> I would like to know if there is a method to tell dhclient to send an
>> option in advance to the ipv6 capable router notifying it that this
>> client isn't doing ipv6 or a response back when it makes the request
>> to start ipv6 configuration
>
> All that is happening is that the router is advising your subnet (and
> thus your computer) that it has DHCPv6 available and the client should
> use it *if it wants to do IPv6*. However, your computer does not have
> to do DHCPv6,; it doesn't even have to do IPv6 at all.
>
> So if it is your router, just remove IPv6 and any DCPv6 server from the
> router interface serving your link.
>
> But I'm puzzled as to why, if you have really disabled IPv6, you saw
> any DHCPv6 information at all. You can check if you have really
> disabled IPv6 by running ifconfig - if you see an address "::1" on the
> lo interface, then you still have IPv6 enabled.
>
> To disable it properly, set disable_ipv6 in /proc to 1:
>
>    sysctl -w net.ipv6.conf.all.disable_ipv6=1
>
> Make it permanent by editing /etc/sysctl.conf if you wish.
>
> Regards, K.
>
> PS: I do not recommend disabling IPv6.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
> http://twitter.com/kauer389
>
> GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
> Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list