• # Poisson rouge

    Posté par . En réponse au journal Mon réseau (aussi). Évalué à 1.

    J'ai oublié deux choses importantes dans la section IPv6 (merci ma mémoire de poisson rouge...)

    Dans /etc/sysctl.conf, rajouter:

    net.ipv6.conf.all.forwarding=1
    # Freebox 1
    net.ipv6.conf.eth1.accept_ra=2
    # Freebox 2
    net.ipv6.conf.eth2.accept_ra=2
    

    Sinon pas de forwarding en IPv6 (et donc pas d'accès IPv6 pour les clients).

    Et modifier le fichier /etc/network/interfaces:

    auto lo
    iface lo inet loopback
    # WLAN
    auto eth0
    iface eth0 inet static
     address 10.2.0.1
     netmask 255.255.0.0
    # DMZ
    auto eth3
    iface eth3 inet static
     address 10.0.0.1
     netmask 255.255.0.0
    # LAN
    auto eth4
    iface eth4 inet static
     address 10.1.0.1
     netmask 255.255.0.0
    # Freebox 1
    auto eth1
    iface eth1 inet dhcp
    iface eth1 inet6 static
    # Freebox 2
    auto eth2
    iface eth2 inet dhcp
    iface eth2 inet6 static
    

    Où l'on configure les interfaces WAN en static pour IPv6 afin d'éviter toute reconfiguration automatique malvenue...