• # rc.local

    Posté par (site web personnel) . En réponse au message Ipv6 fixe sous debian buster. Évalué à 1.

    Sous Buster 2 lignes dans le rc.local et cela marche aussi : Avoir une 2ème ipv6 qui soit static.

    root@omega:~# cat /etc/rc.local 
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    # Add static Ipv6 
    /sbin/ip -6 addr add 2a01:e0a:195:1040:cdaf:219b:207e:d823/64 dev enx001e06300937
    /sbin/ip -6 route add default via 2a01:e0a:195:1040::1
    exit 0
    root@omega:~#