• How to temporarily disable IPv6 in Linux

    From nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED) ( Vivek Gite ) to All on Fri Jan 10 15:26:19 2025


    S
    ometimes, you may need to temporarily disable IPv6 in the Linux using net.ipv6.conf.all.disable_ipv6 kernel variable for testing purposes. You can use the sysctl command to turn IPv6 connectivity on or off without rebooting the system. For example, observe how your app or network reacts when IPv6 connectivity is suddenly lost and only IPv4 is available.

    Love this? sudo share_on:

    Twitter

    -

    Facebook

    -

    LinkedIn

    -

    Whatsapp

    -

    Reddit

    The post
    How to temporarily disable IPv6 in Linux
    appeared first on
    nixCraft
    .