Niente da fare...
#- Attivare dhcpv6-pd sulla pppoe, abilitando rapid-commit e prefix-only. Nell'interfaccia assegni l'host-address e il prefix-id
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 host-address '::1'
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 no-dns
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 prefix-id ':0'
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 prefix-length 56
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd prefix-only
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd rapid-commit enable
#- Assegnare a switch0 una subnet in eui64
# - In questo caso, io ho le 3 VLAN "Ospiti", "Lab" e "Privata"
# Rete ospiti:
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 service slaac
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 prefix-id 1
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface switch0 host-address ::1
set interfaces switch switch0 ipv6 address eui64 '****::/64'
set interfaces switch switch0 ipv6 router-advert name-server '2001:4860:4860::8888'
set interfaces switch switch0 ipv6 router-advert name-server '2606:4700:4700::1111'
# Rete privata:
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth0 service slaac
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth0 prefix-id 2
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth0 host-address ::1
set interfaces ethernet eth0 ipv6 address eui64 '****::/64'
set interfaces ethernet eth0 ipv6 router-advert name-server '2001:4860:4860::8888'
set interfaces ethernet eth0 ipv6 router-advert name-server '2606:4700:4700::1111'
# Rete Lab:
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth2 service slaac
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth2 prefix-id 3
set interfaces ethernet eth1 vif 835 pppoe 1 dhcpv6-pd pd 0 interface eth2 host-address ::1
set interfaces ethernet eth2 ipv6 address eui64 '****::/64'
set interfaces ethernet eth2 ipv6 router-advert name-server '2001:4860:4860::8888'
set interfaces ethernet eth2 ipv6 router-advert name-server '2606:4700:4700::1111'
#- Creare una interface-route per ruotare tutto il traffico ipv6 verso la pppoe1
set protocols static interface-route6 '::/0' next-hop-interface pppoe1 distance 1
#- Attivare il servizio dhcpv6-server per trasmettere ai client che non accettano RDNSS ( tipo Windows ) i DNS di tuo piacimento, specificando per quale subnet deve agire
set service dhcpv6-server shared-network-name LANv6 name-server '2001:4860:4860::8888'
set service dhcpv6-server shared-network-name LANv6 name-server '2606:4700:4700::1111'
set service dhcpv6-server shared-network-name LANv6 subnet '****::/56'
Ho committato con successo e lo stato delle intefacce è questo:
matteo@EdgeRouter-X-5-Port:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 192.168.1.1/24 u/u Rete Privata
****/64
eth1 - u/u WAN
eth1.835 - u/u Pianeta Fibra
eth2 192.168.100.1/24 u/u Rete Laboratorio
****/64
eth3 - u/u eth3
eth4 - u/D eth4
lo 127.0.0.1/8 u/u
::1/128
pppoe1 **** u/u
switch0 192.168.120.1/24 u/u Rete CRIA Ospiti
****/64
Ma se provo a pingare qualche risorsa ottengo questo:
matteo@EdgeRouter-X-5-Port:~$ ping6 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 2001:4860:4860::8888 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2045ms
~$ ip route
default dev pppoe1 scope link
**** dev pppoe1 proto kernel scope link
**** dev pppoe1 proto kernel scope link src 83.136.108.239
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.1
192.168.100.0/24 dev eth2 proto kernel scope link src 192.168.100.1
192.168.120.0/24 dev switch0 proto kernel scope link src 192.168.120.1
192.168.122.0/24 via 192.168.100.101 dev eth2 proto zebra
192.168.125.0/24 via 192.168.100.101 dev eth2 proto zebra
Non ho provato a guardare il firewall prima di pingare, controllo di non aver bloccato qualcosa...