I've got two WAN interfaces with both IPv4 and IPv6 which look like this:
- WAN - Native IPv4 only from ISP
- WAN6 - 6in4 from Hurricane Electric.
WANB is a VLAN I created (eth0.3) as a second WAN interface.
- WANB - 4G mobile broadband from another modem (Static route configured under 192.168.2.0/24)
- WANB6 - 4G mobile broadband from another modem (DHCPv6)
WAN6 and WANB6 are virtual interfaces because I've needed to split them for mwan3 usage.
All interfaces work fine I can ping, traceroute all that good stuff, I did have issues with the IPv6 side of things but discovered it was related to source address behaviour in OpenWrt and have managed to resolve those issues.
However, the problem I'm finding is I believe because WANB is mobile broadband I'm not routed any prefix other than a /64, I have tried configuring specific prefix sizes on the WANB6 interface, but only a /64 and /128 address is configured no matter I try. This leads me to think there's no chance of anything like a /56 or /60 etc. I've yet to confirm this with the provider, but given it's mobile broadband, I very much doubt they are routing such prefix sizes to customers.
This is what the ifstatus looks like:
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 5313,
"l3_device": "eth0.3",
"proto": "dhcpv6",
"device": "eth0.3",
"metric": 2,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2a01:4c8:c50:cf10:xxxx:xxx:xxx:xxxx",
"mask": 64
},
{
"address": "2a01:4c8:c50:cf10:xxxx:xxxx:x:xxx",
"mask": 128,
"preferred": 84690,
"valid": 84690
}
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::8a9e:33ff:fef6:7954",
"source": "::/0"
},
{
"target": "2a01:4c8:c50:cf10::",
"mask": 64,
"nexthop": "::",
"metric": 256,
"source": "::/0"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::8a9e:33ff:fef6:7954",
"metric": 512,
"valid": 60220,
"source": "2a01:4c8:c50:cf10:xxxx:xxx:xxxx:xxxx/64"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::8a9e:33ff:fef6:7954",
"metric": 512,
"valid": 60220,
"source": "2a01:4c8:c50:cf10:1415:9dff:0:86a/128"
}
],
"dns-server": [
"2a01:4c8:f000:1::1",
"2a01:4c8:f000:1::2"
],
"dns-search": [
"lan"
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "001700202a0104c8f000000100000000000000012a0104c8f0000001000000000000000200180005036c616e00"
}
}
I'm aware that in the case of only being provided a /64, you can relay this across. However, because I am already using server mode for DHCPv6/RA because of my fixed /48 prefix from Hurricane Electric on my LAN as below, is it even possible to have a combination of a server and relay type configuration?
I don't know if what I'm trying to achieve is possible, but in order to have IPv6 working from the second WAN interface, it would be my understanding that the br-lan interface must have some form of IPv6 address space from WANB6 to provide to clients otherwise the traffic will have no where to go. Even though the router itself has connectivity from WANB6 it needs to be provided to clients I'd of thought?
Any advice/guidance welcome!
Thank you!