Auteur Sujet: TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)  (Lu 30657 fois)

0 Membres et 1 Invité sur ce sujet

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #48 le: 17 juillet 2018 à 16:32:12 »
Bonjour,

Merci pour ce tuto très complet, je l'ai appliquer sur mon ERL 3 avec quelque modification,

ONT --> eth0
Box --> eth1
Lan --> eth2

Aucun soucis avec IPv4, mais impossible d'avoir une IPv6. j'ai reboot plusieurs fois, revu la conf en long en large et en travers.... je m'arrache les cheveux lol.

un petit coups de main est le bienvenue :)


La config adaptée à ma topologie

firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-name WANv6_IN {
        default-action drop
        description "WANv6 inbound traffic forwarded to LAN"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
        rule 30 {
            action accept
            description "Allow ICMPv6"
            log disable
            protocol icmpv6
        }
    }
    ipv6-name WANv6_LOCAL {
        default-action drop
        description "WANv6 inbound traffic to the router"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
        rule 30 {
            action accept
            description "Allow ICMPv6"
            log disable
            protocol icmpv6
        }
        rule 40 {
            action accept
            description "Allow DHCPv6"
            destination {
                port 546
            }
            protocol udp
            source {
                port 547
            }
        }
    }
    ipv6-name WANv6_OUT {
        default-action accept
        description "WANv6 outbound traffic"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action reject
            description "Reject invalid state"
            state {
                invalid enable
            }
        }
    }
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "WAN to internal"
        enable-default-log
        rule 20 {
            action accept
            description "Allow established/related"
            log disable
            protocol all
            state {
                established enable
                invalid disable
                new disable
                related enable
            }
        }
        rule 30 {
            action drop
            description "Drop invalid state"
            log disable
            protocol all
            state {
                established disable
                invalid enable
                new disable
                related disable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action accept
            description "Allow Ping From WAN"
            destination {
                group {
                    address-group ADDRv4_eth0.832
                }
            }
            log enable
            protocol icmp
        }
        rule 30 {
            action drop
            description "Drop invalid state"
            log disable
            state {
                invalid enable
            }
        }
        rule 40 {
            action accept
            description "Allow Ping"
            destination {
                group {
                    address-group ADDRv4_eth2
                }
            }
            log enable
            protocol icmp
        }
        rule 50 {
            action accept
            description "Remote access"
            destination {
                group {
                    address-group ADDRv4_eth0.832
                }
                port 10022,10443
            }
            log disable
            protocol tcp
            state {
                established enable
                invalid disable
                new enable
                related disable
            }
        }
    }
    options {
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    bridge br0 {
        aging 300
        bridged-conntrack disable
        description "bro -> eth0.838 LIVEBOX (VoD)"
        hello-time 2
        max-age 20
        priority 0
        promiscuous disable
        stp false
    }
    bridge br1 {
        aging 300
        bridged-conntrack disable
        description "br1 -> eth0.840 LIVEBOX (ZAPPING + CANAL 1)"
        hello-time 2
        max-age 20
        priority 0
        promiscuous disable
        stp false
    }
    ethernet eth0 {
        description "eth0 ONT (FIBRE RJ45)"
        duplex auto
        speed auto
        vif 832 {
            address dhcp
            description "eth0.832 (INTERNET + VOIP + CANAL 2)"
            dhcp-options {
                client-option "send vendor-class-identifier &quot;sagem&quot;;"
                client-option "send user-class &quot;\053FSVDSL_livebox.Internet.softathome.Livebox4&quot;;"
                client-option "send rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx;"
                client-option "request dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, domain-search, rfc3118-auth;"
                default-route update
                default-route-distance 210
                global-option "option rfc3118-auth code 90 = string;"
                name-server update
            }
            egress-qos "0:0 1:0 2:0 3:0 4:0 5:0 6:6 7:0"
            firewall {
                in {
                    ipv6-name WANv6_IN
                    name WAN_IN
                }
                local {
                    ipv6-name WANv6_LOCAL
                    name WAN_LOCAL
                }
            }
            ipv6 {
                address {
                    autoconf
                }
                dup-addr-detect-transmits 1
            }
        }
        vif 838 {
            bridge-group {
                bridge br0
            }
            description "eth0.838 (VoD)"
            egress-qos "0:4 1:4 2:4 3:4 4:4 5:4 6:4 7:4"
        }
        vif 840 {
            bridge-group {
                bridge br1
            }
            description "eth0.840 (ZAPPING + CANAL 1)"
            egress-qos "0:5 1:5 2:5 3:5 4:5 5:5 6:5 7:5"
        }
    }
    ethernet eth1 {
        description "eth1 VERS LIVEBOX"
        duplex auto
        speed auto
        vif 832 {
            address 192.168.2.1/24
            description "eth0.832 LIVEBOX (INTERNET + VOIP + CANAL 2)"
        }
        vif 838 {
            bridge-group {
                bridge br0
            }
            description "eth1.838 LIVEBOX (VoD)"
            egress-qos "0:4 1:4 2:4 3:4 4:4 5:4 6:4 7:4"
        }
        vif 840 {
            bridge-group {
                bridge br1
            }
            description "eth1.840 LIVEBOX (ZAPPING + CANAL 1)"
            egress-qos "0:5 1:5 2:5 3:5 4:5 5:5 6:5 7:5"
        }
    }
    ethernet eth2 {
        address 192.168.10.1/24
        description "eth2 LOCAL LAN SWITCH"
        duplex auto
        ipv6 {
            dup-addr-detect-transmits 1
            router-advert {
                cur-hop-limit 64
                link-mtu 0
                managed-flag false
                max-interval 600
                other-config-flag false
                prefix ::/64 {
                    autonomous-flag true
                    on-link-flag true
                    preferred-lifetime 14400
                    valid-lifetime 18000
                }
                reachable-time 0
                retrans-timer 0
                send-advert true
            }
        }
        speed auto
    }
    loopback lo {
    }
}
port-forward {
    auto-firewall enable
    hairpin-nat enable
    lan-interface eth2
    lan-interface eth1.832

[ .......]

}
protocols {
    static {
    }
}
service {
    dhcp-server {
        disabled false
        global-parameters "option rfc3118-auth code 90 = string;"
        global-parameters "option SIP code 120 = string;"
        global-parameters "option Vendor-specific code 125 = string;"
        hostfile-update disable
        shared-network-name LAN {
            authoritative disable
            disable
            subnet 192.168.10.0/24 {
                default-router 192.168.10.1
                dns-server 8.8.8.8
                dns-server 8.8.4.4
                domain-name KMS-HOME
                lease 86400
                start 192.168.10.3 {
                    stop 192.168.10.254
                }
            }
        }
        shared-network-name LIVEBOX {
            authoritative enable
            subnet 192.168.2.0/24 {
                default-router 192.168.2.1
                dns-server 81.253.149.9
                dns-server 80.10.246.1
                domain-name orange.fr
                lease 86400
                start 192.168.2.30 {
                    stop 192.168.2.50
                }
                static-mapping LiveBox {
                    ip-address 192.168.2.30
                    mac-address 78:81:02:2e:dd:9e
                }
                subnet-parameters "option rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:64:68:63:70:6c:69:76:65:62:6f:78:66:72:32:35:30;"
                subnet-parameters "option SIP 00:06:73:62:63:74:33:67:03:41:55:42:06:61:63:63:65:73:73:11:6f:72:61:6e:67:65:2d:6d:75:6c:74:69:6d:65:64:69:61:03:6e:65:74:00;"
                subnet-parameters "option Vendor-specific 00:00:05:58:0c:01:0a:00:00:00:00:00:ff:ff:ff:ff:ff;"
            }
        }
        static-arp disable
        use-dnsmasq disable
    }
    dns {
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers enable
    }
    nat {
        rule 5010 {
            log disable
            outbound-interface eth0.832
            protocol all
            type masquerade
        }
    }
    ssh {
        allow-root
        port 22
        protocol-version v2
    }
    upnp2 {
        listen-on eth1.832
        listen-on eth2
        nat-pmp enable
        secure-mode disable
        wan eth0.832
    }
}
system {
    config-management {
        commit-revisions 50
    }
    domain-name KMS-HOME
    host-name erl-3
    login {
        user kaktuss {
            authentication {
                encrypted-password xxxxxxxxxxxxxxxxxxxxxxxxxxx
                plaintext-password ""
            }
            level admin
        }
        user root {
            authentication {
                encrypted-password xxxxxxxxxxxxxxxxxxxxxxxxxxx/
                plaintext-password ""
            }
            level admin
        }

    }
    name-server 8.8.8.8
    name-server 8.8.4.4
    name-server 208.67.222.222
    name-server 208.67.220.220
    ntp {
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    offload {
        hwnat disable
        ipsec enable
        ipv4 {
            forwarding enable
            vlan enable
        }
        ipv6 {
            forwarding disable
        }
    }
    package {
        repository wheezy {
            components "main contrib non-free"
            distribution wheezy
            password ""
            url http://http.us.debian.org/debian
            username ""
        }
        repository wheezy-security {
            components main
            distribution wheezy/updates
            password ""
            url http://security.debian.org
            username ""
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone Europe/Paris
    traffic-analysis {
        dpi disable
        export disable
    }
}


/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:system@4:ubnt-pptp@1:ubnt-udapi-server@1:ubnt-unms@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v1.10.5.5098915.180622.1355 */


le fichier client.conf (chmod 755)

root@erl-3:/etc/dibbler# cat client.conf
# Defaults for dibbler-client
# installed at /etc/dibbler/client.conf by the maintainer script

# 8 (Debug) is most verbose. 7 (Info) is usually the best option
log-level 7

duid-type duid-ll
# To perform stateless (i.e. options only) configuration, uncomment
# this line below and remove any "ia" keywords from interface definitions
# stateless


downlink-prefix-ifaces "none"
script "/etc/dibbler/radvd.sh"

iface eth0.832 {
    pd
    option 16 hex 00:00:04:0e:00:05:73:61:67:65:6d
    option 15 hex 00:2b:46:53:56:44:53:4c:5f:6c:69:76:65:62:6f:78:2e:49:6e:74:65:72:6e:65:74:2e:73:6f:66:74:61:74:68:6f:6d:65:2e:6c:69:76:65:62:6f:78:34
    option 11 hex 00:00:00:00:00:00:00:00:00:00:00:66:labonnevaleurici
    option 11 hex 00:00:00:00:00:00:00:00:00:00:00:66:labonnevaleurici
    option dns-server


Le fichier radvd.sh (chmod 755)

root@erl-3:/etc/dibbler# cat radvd.sh
#!/bin/bash

if [ "$SRV_MESSAGE" != "REPLY" ]
then
                exit 1
fi

function fullPrefix () {
  local input=$1
  local o=""
  local z=""

  input=$(tr 'A-F' 'a-f' <<< $input )

  while [ "$o" != "$input" ]; do
    o="$input"

    input="$( sed  's|:\([0-9a-f]\{3\}\):|:0\1:|g'  <<< "$input" )"
    input="$( sed  's|:\([0-9a-f]\{3\}\)$|:0\1|g'   <<< "$input" )"
    input="$( sed  's|^\([0-9a-f]\{3\}\):|0\1:|g'   <<< "$input" )"

    input="$( sed  's|:\([0-9a-f]\{2\}\):|:00\1:|g' <<< "$input" )"
    input="$( sed  's|:\([0-9a-f]\{2\}\)$|:00\1|g'  <<< "$input" )"
    input="$( sed  's|^\([0-9a-f]\{2\}\):|00\1:|g'  <<< "$input" )"

    input="$( sed  's|:\([0-9a-f]\):|:000\1:|g'     <<< "$input" )"
    input="$( sed  's|:\([0-9a-f]\)$|:000\1|g'      <<< "$input" )"
    input="$( sed  's|^\([0-9a-f]\):|000\1:|g'      <<< "$input" )"
  done

  grep -qs "::" <<< "$input"
  if [ "$?" -eq 0 ]; then
    GRPS="$( sed  's|[0-9a-f]||g' <<< "$input" | wc -m )"
    ((GRPS--)) # carriage return
    ((MISSING=8-GRPS))
    for ((i=0;i<$MISSING;i++)); do
      z="$z:0000"
    done

    input="$( sed  's|\(.\)::\(.\)|\1'$z':\2|g'          <<< "$input" )"
    input="$( sed  's|\(.\)::$|\1'$z':0000|g'            <<< "$input" )"
    input="$( sed  's|^::\(.\)|'$z':0000:\1|g;s|^:||g'   <<< "$input" )"
  fi
  echo "$input"
}

ETH2_SUFFIX="01::1"

STATUS_FILE=/run/dibbler.lease

if [ -f "$STATUS_FILE" ];
then
                source $STATUS_FILE
fi

TRIM_SIZE=17
FULLPREFIX=$( fullPrefix $PREFIX1 )
PREFIX1=${FULLPREFIX:0:TRIM_SIZE}

if [ "$PREFIX1" != "$CURRENT_PREFIX1" ]
then
                if [ "$CURRENT_PREFIX1" != "" ]
                then
                               ip addr delete "$CURRENT_PREFIX1$ETH7_SUFFIX/64" dev eth2
                fi

                echo "CURRENT_PREFIX1=$PREFIX1" > $STATUS_FILE

                ip addr add "$PREFIX1$ETH7_SUFFIX/64" dev eth2
                service radvd restart >/dev/null 2>&1


Je pense pas mettre trompé dans le changement de topologie, tout fonctionne en IPv4

quasi sur que c'est une petite merdouille qui est grosse comme un camion mais que je vois pas.

Merci de votre aide :)

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #49 le: 17 juillet 2018 à 16:42:09 »
ETH2_SUFFIX="01::1"
Puis dans le reste du script, c'est $ETH7_SUFFIX qui est utilisé...

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #50 le: 17 juillet 2018 à 16:45:46 »
Rahhh phoque lol, gros comme une maison... je reconnais que sur ce coups je suis un boulet  ::) ::) ;D ;D

Merciiii , je corrige ca tout de suite

Edit : J'avais signalé que ça devait être gros comme un camion lol

Encore Merci, j'ai vérifier je n'ai plus d'occurence en rapport avec ETH7,
Tjrs pas d'IPv6, mais il me semble avoir retiré la route statique, je vais la remettre.

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #51 le: 17 juillet 2018 à 16:58:45 »
Pas d'IP attribuée à eth2 ?

Qu'il y ait la route ou pas ne devrait pas influer sur l'attribution du préfixe. Je vois aussi que ton fichier client.conf n'a pas d'accolade fermante, mais j'ai considéré qu'elle avait sauté lors du copier/coller sur le forum.


kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #52 le: 17 juillet 2018 à 17:00:10 »
En effet uniquement la lien-local, pas de publique :(

edit : je vais vérifier pour le client.conf

edit 2 : en effet sauté lors du copier/coller

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #53 le: 17 juillet 2018 à 17:03:56 »
Il est sans doute possible d'avoir plus d'infos en lançant dibbler-client en mode console au lieu du service: "dibbler-client run" en étant root (après avoir arrêté correctement le service si nécessaire).


kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #54 le: 17 juillet 2018 à 17:08:56 »
alors j'ai donc un show interfaces comme ceci

kaktuss@erl-3:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description
---------    ----------                        ---  -----------
br0          -                                 u/u  bro -> eth0.838 LIVEBOX
                                                    (VoD)
br1          -                                 u/u  br1 -> eth0.840 LIVEBOX
                                                    (ZAPPING + CANAL 1)
eth0         -                                 u/u  eth0 ONT (FIBRE RJ45)
eth0.832     90.46.67.239/21                   u/u  eth0.832 (INTERNET + VOIP +
                                                    CANAL 2)
eth0.838     -                                 u/u  eth0.838 (VoD)
eth0.840     -                                 u/u  eth0.840 (ZAPPING + CANAL 1)
eth1         -                                 u/u  eth1 VERS LIVEBOX
eth1.832     192.168.2.1/24                    u/u  eth0.832 LIVEBOX (INTERNET +
                                                    VOIP + CANAL 2)
eth1.838     -                                 u/u  eth1.838 LIVEBOX (VoD)
eth1.840     -                                 u/u  eth1.840 LIVEBOX (ZAPPING +
                                                    CANAL 1)
eth2         192.168.10.1/24                   u/u  eth2 LOCAL LAN SWITCH
lo           127.0.0.1/8                       u/u
             ::1/128
kaktuss@erl-3:~$


et le verbose de dibbler-client semble pourtant indiqué qu'il à bien reçu mon prefixe mais il n'est pas attribué??

root@erl-3:/etc/dibbler# service dibbler-client
force-reload  reload        restart       start         stop
root@erl-3:/etc/dibbler# service dibbler-client stop
Stopping DHCPv6 client: dibbler-client.
root@erl-3:/etc/dibbler# dibbler-client run
| Dibbler - a portable DHCPv6, version 1.0.1 (CLIENT, Linux port)
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
| Licence : GNU GPL v2 only. Developed at Gdansk University of Technology.
| Homepage: http://klub.com.pl/dhcpv6/
2018.07.17 17:04:38 Client Notice    My pid (19190) is stored in /var/lib/dibbler/client.pid
2018.07.17 17:04:38 Client Notice    Detected iface eth0.840/13, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface eth1.832/12, MAC=dc:9f:db:80:04:8d.
2018.07.17 17:04:38 Client Notice    Detected iface eth1.838/11, MAC=dc:9f:db:80:04:8d.
2018.07.17 17:04:38 Client Notice    Detected iface eth0.832/10, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface eth1.840/9, MAC=dc:9f:db:80:04:8d.
2018.07.17 17:04:38 Client Notice    Detected iface eth0.838/8, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface br0/7, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface br1/6, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface imq0/5, MAC=.
2018.07.17 17:04:38 Client Notice    Detected iface eth2/4, MAC=dc:9f:db:80:04:8e.
2018.07.17 17:04:38 Client Notice    Detected iface eth1/3, MAC=dc:9f:db:80:04:8d.
2018.07.17 17:04:38 Client Notice    Detected iface eth0/2, MAC=dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Notice    Detected iface lo/1, MAC=00:00:00:00:00:00.
2018.07.17 17:04:38 Client Notice    Parsing /etc/dibbler/client.conf config file...
2018.07.17 17:04:38 Client Info      Interface eth0.832/10 configuration has been loaded.
2018.07.17 17:04:38 Client Info      My DUID is 00:01:00:01:1c:37:4e:44:dc:9f:db:80:04:8c.
2018.07.17 17:04:38 Client Info      Loading old address database (client-AddrMgr.xml), using built-in routines.
2018.07.17 17:04:38 Client Info      DB timestamp:1531839870, now()=1531839878, db is 8 second(s) old.
2018.07.17 17:04:38 Client Notice    Creating control (::) socket on the lo/1 interface.
2018.07.17 17:04:38 Client Notice    Creating socket (addr=fe80::de9f:dbff:fe80:48c) on eth0.832/10 interface.
2018.07.17 17:04:38 Client Notice    CONFIRM support compiled in.
2018.07.17 17:04:38 Client Info      Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) on eth0.832/10 interface.
2018.07.17 17:04:38 Client Error     AUTH: protocol 10417976 not supported yet.
2018.07.17 17:04:38 Client Info      Received ADVERTISE on eth0.832/10,trans-id=0xf74880, 5 opts: 25 2 1 11 7
2018.07.17 17:04:38 Client Info      ADVERTISE message with preference set to 255 received, so wait time for other possible ADVERTISE messages is skipped.
2018.07.17 17:04:38 Client Info      Creating REQUEST. Backup server list contains 1 server(s).
2018.07.17 17:04:38 Client Error     AUTH: protocol 10418152 not supported yet.
2018.07.17 17:04:38 Client Info      Received REPLY on eth0.832/10,trans-id=0xadcbb3, 4 opts: 25 2 1 11
2018.07.17 17:04:38 Client Warning   PD: Prefix 2a01:cb08:652:ac00::/56 is already assigned to this PD.
2018.07.17 17:04:38 Client Notice    PD: Adding prefix 2a01:cb08:652:ac00::/56 to all interfaces (prefix will be split to /64 prefixes if necessary).
2018.07.17 17:04:38 Client Info      PD: Using 0 suitable interface(s):[none]
2018.07.17 17:04:38 Client Warning   All IA(s), TA and PD(s) has been configured, but some options (23 16 15 ) were not assigned.
2018.07.17 17:04:38 Client Notice    Insist-mode disabled, giving up (not sending INF-REQUEST).




zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #55 le: 17 juillet 2018 à 17:40:48 »
Effectivement il y a bien un préfixe. Le problème c’est donc le script.

Et là du coup je ne vois pas pourquoi.

Édit: Même question que tout à l’heure: le « fi » qui manque à la fin du script, c’est encore le copier/coller ? :)


kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #56 le: 17 juillet 2018 à 17:51:10 »
En effet. Sacré filou ce copier/coller  ;D ;)

zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #57 le: 17 juillet 2018 à 17:55:56 »
Je pense que j’ai compris: Le fichier status (/run/dibbler.lease) contient déjà le bon préfixe (à cause des exécutions précédentes du script qui utilisait la mauvaise variable), du coup l’interface n’est pas modifiée...

Supprime /run/dibbler.lease et relance le service, ça devrait marcher ;)

kaktuss77

  • Abonné Orange Fibre
  • *
  • Messages: 598
  • Free 8G/700M + Orange 2G/1G <3
    • @kaktuss77
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #58 le: 17 juillet 2018 à 20:52:07 »
Ok je vais tenter cela.

Depuis un tel dans le rer B :p

Edit : ca fonctionne ;)

Merci beaucoup

Maintenant reste à faire un seveur dhcpv6 afin de pouvoir pousser mes serveurs dns ipv6 locaux


Edit 2 :

Par contre j'ai "que" 200Mbps en IPv6... (testdebit.info sur boutgues IPv6)


zoc

  • Abonné Orange Fibre
  • *
  • Messages: 4 278
  • Antibes (06) / Mercury (73)
TUTO - Remplacer sa Livebox par routeur Ubiquiti + LIVEBOX (PARTIE 2 IPV6)
« Réponse #59 le: 17 juillet 2018 à 20:53:38 »
L’offload IPv6 est activé ?