Quelles infos de plus:
Si je branche ma mini 4K, j'obtiens bien ipv4 ET ipv6 sans soucis.
Si je l’enlève, remet le SFP dans mon TPLink-MC220L, et branche directement un PC sur le port ethernet du MC220L
## Root
sudo su
## Define Network card to use
Card=enp0s13f0u3
## Define Freebox MAC
FbxMac="XX:XX:XX:XX:XX:XX"
## Change MAC to Freebox MAC
systemctl stop NetworkManager
ip link set ${Card} down
ip link set dev ${Card} address ${FbxMac}
## Add vlan 836
ip link add link ${Card} name fbx.836 type vlan id 836
ip link set ${Card} up
ip link set dev fbx.836 up
## Add ipv6 option (basé sur
https://www.surlemont.fr/dotclear/index.php?post/2019/01/18/Exemple-de-mise-en-place-d-un-tunnel-4rd-%3A-mon-acc%C3%A8s-internet )
grep "Fbx ipv6" /etc/dhcpcd.conf ||\
cat <<EOF >> /etc/dhcpcd.conf
## Fbx ipv6 options
option dhcp6_s46_rule
option dhcp6_s64_br
option dhcp6_s46_dmr
option dhcp6_s46_v4v6bind
option dhcp6_s46_portparams
option dhcp6_s46_cont_mape
option dhcp6_s46_cont_mapt
##
EOF
## Connect to TPLink-MC220L
## Try to get dhcp address
dhcpcd -6 -d -T fbx.836
dhcpcd-8.1.6 starting
DUID xxxxxxxxxxxxxxxxxx
fbx.836: IAID xxxxxxxxxxx
fbx.836: delaying IPv6 router solicitation for 0.7 seconds
fbx.836: soliciting an IPv6 router
fbx.836: sending Router Solicitation
fbx.836: sending Router Solicitation
fbx.836: sending Router Solicitation
fbx.836: sending Router Solicitation
fbx.836: no IPv6 Routers available
timed out
fbx.836: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' STOPPED
dhcpcd exited
Pourtant j'obtiens sans soucis mon ipv4 de la même façon:
dhcpcd -4 -d -T fbx.836
dhcpcd-8.1.6 starting
DUID xxxxxxxxxxxxxxxxxxxxxxx
fbx.836: IAID xxxxxxxxxxxxxxxx
fbx.836: delaying IPv4 for 0.5 seconds
fbx.836: soliciting a DHCP lease
fbx.836: sending DISCOVER (xid 0xa129f520), next in 4.1 seconds
fbx.836: offered nn.nn.nn.nn from nn.nn.nn.nn `XXXXXX.nro.proxad.net'
fbx.836: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' TEST
interface=fbx.836
pid=16062
protocol=dhcp
reason=TEST
ifcarrier=up
ifflags=4163
ifmtu=1500
ifwireless=0
new_broadcast_address=nn.nn.nn.nn
new_dhcp_lease_time=604800
new_dhcp_message_type=2
new_dhcp_server_identifier=nn.nn.nn.nn
new_domain_name_servers='212.27.40.240 212.27.40.241'
new_filename=bzImage
new_ip_address=nn.nn.nn.nn
new_network_number=nn.nn.nn.nn
new_routers=nn.nn.nn.nn
new_server_name=XXXX.nro.proxad.net
new_subnet_cidr=24
new_subnet_mask=255.255.255.0
dhcpcd exited
Je continue à chercher...