https://www.reddit.com/r/mikrotik/comme ... hain_pool/
Mysetup (homelab)
- ISP supplies a /56 IPV6 though Prefix delegation ( over IPV4 PPPOE)
internet facing router is opnsense.
IPV6 is OK on OPENSENSE interfaces ( using Track interface and setting prefix id to > 0x80)
On of the OPENSENSE interface is a TRANSIT vlan connected to a RB4011
DHCPV6 server is configured on the TRANSIT interface to delegate a /60 prefix
Here is part of the rb4011 config
Code: Select all
/ipv6 dhcp-server
add address-pool=TRANSIT interface=LAN name=dhcpv6_LAN
add address-pool=TRANSIT interface=INT name=dhcpv6_INT
add address-pool=TRANSIT interface=EXT name=dhcpv6_EXT
/ipv6 address
add address=::1 from-pool=TRANSIT interface=LAN
add address=::1000:0:0:1 from-pool=TRANSIT interface=INT
/ipv6 dhcp-client
add add-default-route=yes interface=TRANSIT pool-name=TRANSIT pool-prefix-length=48 prefix-hint=::/60 request=address,prefix
/ipv6 nd
set [ find default=yes ] mtu=1480
add interface=EXT mtu=1480
add interface=INT mtu=1480
add interface=LAN mtu=1480
/ipv6 settings
set accept-router-advertisements=yes
[admin@RB-01] /ipv6> pool/print
Flags: D - DYNAMIC
Columns: NAME, PREFIX, PREFIX-LENGTH, EXPIRES-AFTER
# NAME PREFIX PR EXPIRES-
0 D TRANSIT 2a02:xxxx:yyyy:3250::/60 68 1h49m27s
[admin@RB-01] /ipv6> address/print
12 G 2a02:xxxx:yyyy:3250::1/64 TRANSIT LAN yes
13 G 2a02:xxxx:yyyy:3250:1000::1/64 TRANSIT INT yes
In opnsense,
The addresses extracted from the pool are then in the same /64 subnet instead of from different /64
I'd expect something along the line of
Code: Select all
LAN: 2a02:xxxx:yyyy:3250::1/64
INT: 2a02:xxxx:yyyy:3251::1/64