我參考了版上教學文中華電信 IPv4/IPv6 Dual Stack PPPoE
目前設定如下
WAN: pppoe0 (eth1)
LAN:eth1~4(switch0)
switch0.2 =192.168.2.254/24
switch0.3 =192.168.3.254/24
switch0.4 =192.168.4.254/24
![點我看大圖 [求助]EdgeRouter-X 多組LAN端都已取得IPv6位置卻只有第一組LAN網段可以通過IPv6 TEST](https://attach.mobile01.com/attach/202001/mobile01-97c7c194c44867348a81b81409136d3b.png)
完成後現在僅有VLAN2 192.168.2.x的設備拿到IPv6位置後用https://ipv6-test.com可以通過測試
![點我看大圖 [求助]EdgeRouter-X 多組LAN端都已取得IPv6位置卻只有第一組LAN網段可以通過IPv6 TEST](https://attach.mobile01.com/attach/202001/mobile01-836199f9614b111bf4551943b2f42fa1.png)
![點我看大圖 [求助]EdgeRouter-X 多組LAN端都已取得IPv6位置卻只有第一組LAN網段可以通過IPv6 TEST](https://attach.mobile01.com/attach/202001/mobile01-00e6dc514b2beb4232b4616ab68f9559.png)
相同電腦不管是win10或MacOS10.15.2只要插在192.168.3.x或4.x雖然透過網卡設定可以看到有取得IPv6 IP但是測試就是會顯示Not supported
![點我看大圖 [求助]EdgeRouter-X 多組LAN端都已取得IPv6位置卻只有第一組LAN網段可以通過IPv6 TEST](https://attach.mobile01.com/attach/202001/mobile01-5f298bb3605b1032bcc3a21051a6f885.png)
![點我看大圖 [求助]EdgeRouter-X 多組LAN端都已取得IPv6位置卻只有第一組LAN網段可以通過IPv6 TEST](https://attach.mobile01.com/attach/202001/mobile01-19682699bf55059bac19238a94da41f2.png)
目前配置檔案如下:
haseo@ubnt# show interfaces
ethernet eth0 {
description "Switch Port"
duplex auto
pppoe 0 {
default-route auto
dhcpv6-pd {
pd 0 {
interface switch0.2 {
service slaac
}
interface switch0.3 {
service slaac
}
interface switch0.4 {
service slaac
}
prefix-length 64
}
rapid-commit enable
}
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
ipv6 {
address {
autoconf
}
dup-addr-detect-transmits 1
enable {
}
}
mtu 1492
name-server auto
password xxxxxx
user-id xxxxxxx@hinet.net
}
speed auto
}
ethernet eth1 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth2 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth3 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth4 {
description "Switch Port"
duplex auto
poe {
output off
}
speed auto
}
switch switch0 {
address 192.168.1.254/24
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
valid-lifetime 2592000
}
reachable-time 0
retrans-timer 0
send-advert true
}
}
mtu 1500
switch-port {
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
}
vlan-aware disable
}
vif 2 {
address 192.168.2.254/24
description VLAN2
mtu 1500
}
vif 3 {
address 192.168.3.254/24
description VLAN3
mtu 1500
}
vif 4 {
address 192.168.4.254/24
description VLAN4
mtu 1500
}
}