Hi,
Since moving, my LEDE router no longer works with my DSL connection (1und1, VDSL, germany). I've done quite a bit of troubleshooting, and the reason seems to be that while I had a native IPv4 connection in my previous apartment, the connection in my new place runs over a native IPv6 connection with a DS-Lite tunnel. However, despite my best efforts, I can't seem to get up and running. I have a Netgear r7800 (LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685) )
At the PPPoE layer, everything seems fine. I'm able to authenticate with my ISP on VLAN 7 without issue.
The problem seems to be that my wan6 interface never gets a response to the DHCPv6 solicit request. When running a tcpdump on eth0.7, I am able to see my router sending a solicit message, but no response ever comes, leaving me without a usable WAN connection.
One thing that I did notice, is that the DHCPv6 solicit messages sent by my LEDE router are quite different than the ones sent by my ISP-provided one. I was hoping this would help me configure my router properly, but I've still been unable to find a working configuration on my own, so I'm trying here to see if anyone has any suggestions.
Here's what my LEDE router sends in it's DHCPv6 solicit message:
DHCPv6
Message type: Solicit (1)
Transaction ID: 0xa94f62
Elapsed time
Option: Elapsed time (8)
Length: 2
Value: 012e
Elapsed time: 3020ms
Option Request
Option: Option Request (6)
Length: 28
Value: 0015001600170018000c001f00380040004300520053005e...
Requested Option code: SIP Server Domain Name List (21)
Requested Option code: SIP Servers IPv6 Address List (22)
Requested Option code: DNS recursive name server (23)
Requested Option code: Domain Search List (24)
Requested Option code: Server unicast (12)
Requested Option code: Simple Network Time Protocol Server (31)
Requested Option code: NTP Server (56)
Requested Option code: Dual-Stack Lite AFTR Name (64)
Requested Option code: Prefix Exclude (67)
Requested Option code: SOL_MAX_RT (82)
Requested Option code: INF_MAX_RT (83)
Requested Option code: S46 MAP-E Container (94)
Requested Option code: S46 MAP-T Container (95)
Requested Option code: S46 Lightweight 4over6 Container (96)
Client Identifier
Option: Client Identifier (1)
Length: 10
Value: 000300018c3bad1f1dd6
DUID: 000300018c3bad1f1dd6
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: 8c:3b:ad:1f:1d:d6
Reconfigure Accept
Option: Reconfigure Accept (20)
Length: 0
Fully Qualified Domain Name
Option: Fully Qualified Domain Name (39)
Length: 9
Value: 00066469616c757000
0000 0... = Reserved: 0x00
.... .0.. = N bit: Server should perform DNS updates
.... ..0. = O bit: Server has not overridden client's S bit preference
.... ...0 = S bit: Server should not perform forward DNS updates
Client FQDN: dialup
Identity Association for Non-temporary Address
Option: Identity Association for Non-temporary Address (3)
Length: 12
Value: 000000010000000000000000
IAID: 00000001
T1: 0
T2: 0
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 12
Value: 000000010000000000000000
IAID: 00000001
T1: 0
T2: 0
And here's what my ICP-provided router sends in it's DHCPv6 solicit message:
DHCPv6
Message type: Solicit (1)
Transaction ID: 0xc0ecf4
Elapsed time
Option: Elapsed time (8)
Length: 2
Value: 0000
Elapsed time: 0ms
Client Identifier
Option: Client Identifier (1)
Length: 10
Value: 000300013431c4283b99
DUID: 000300013431c4283b99
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: 34:31:c4:28:3b:99
Rapid Commit
Option: Rapid Commit (14)
Length: 0
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 41
Value: c4283b990000000000000000001a00190000000000000000...
IAID: c4283b99
T1: 0
T2: 0
IA Prefix
Option: IA Prefix (26)
Length: 25
Value: 000000000000000000000000000000000000000000000000...
Preferred lifetime: 0
Valid lifetime: 0
Prefix length: 0
Prefix address: ::
Reconfigure Accept
Option: Reconfigure Accept (20)
Length: 0
Option Request
Option: Option Request (6)
Length: 22
Value: 00170038001f00190043004000eb0011005200530056
Requested Option code: DNS recursive name server (23)
Requested Option code: NTP Server (56)
Requested Option code: Simple Network Time Protocol Server (31)
Requested Option code: Identity Association for Prefix Delegation (25)
Requested Option code: Prefix Exclude (67)
Requested Option code: Dual-Stack Lite AFTR Name (64)
Requested Option code: Unknown (235)
Requested Option code: Vendor-specific Information (17)
Requested Option code: SOL_MAX_RT (82)
Requested Option code: INF_MAX_RT (83)
Requested Option code: PCP Server (86)
Vendor Class
Option: Vendor Class (16)
Length: 4
Value: 00000368
Enterprise ID: AVM GmbH (872)
And here's my config (I don't have the ds-lite interface configured yet since I've been trying to get the wan6 one working first):
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd96:980b:0d1c::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.123.1'
option ip6assign '64'
config interface 'wan'
option proto 'pppoe'
option username 'xxxxx'
option password 'xxxxx'
option ipv6 '1'
option ifname 'eth0.7'
config interface 'wan6'
option proto 'dhcpv6'
option ifname 'eth0.7'
option reqaddress 'try'
option reqprefix 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '1 2 3 4 6'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '7'
option ports '0t 5t'
Thanks!