Hello all, I've been scratching my head and banging it against a brick wall for the last month, trying to get this sorted out. In our office, we are announcing a /48 v6 prefix to AAPT from our BGP router. We then have a NAT router for our internal VLANs. We wish to assign addresses to clients within our office. If I set static addresses all works ok so I know it's not a routing issue. We have 4 VLANs within our office to which we wish to allocate a /59 to each. Would anyone have any examples of configs or be able to point me in the right direction, to have our NAT router announce IP addresses to our clients? Thanks, CH.
Hi, No idea if this is the "Right" way to do it, but has been working for me for 12months or so now. [mtikadmin@MikroTik] /ipv6> export # mar/07/2023 11:51:27 by RouterOS 7.6 # software id = # /ipv6 dhcp-server option add code=23 name=v6dns value="'2404:9400:4176:XXXX::1'" /ipv6 pool add name=pool1 prefix=2404:9400:4176:XXXX::/64 prefix-length=64 /ipv6 address add address=::1 from-pool=pool1 interface=vlan12 /ipv6 dhcp-server add address-pool=pool1 dhcp-option=v6dns interface= vlan12 name=server1 /ipv6 firewall filter add action=accept chain=input comment=ICMP protocol=icmpv6 add action=accept chain=forward protocol=icmpv6 add action=accept chain=input comment="Established and Related" connection-state=established,related protocol=tcp add action=accept chain=forward connection-state=established,related protocol=tcp add action=accept chain=input comment="Allow DNS Replies" in-interface=ether1 protocol=udp src-port=53 add action=drop chain=input comment=Drop in-interface=ether1 add action=drop chain=forward in-interface=ether1 /ipv6 nd set [ find default=yes ] interface=ether1 mtu=1500 ra-lifetime=none reachable-time=5m add interface= vlan12 other-configuration=yes reachable-time=5m /ipv6 nd prefix default set preferred-lifetime=4h valid-lifetime=4h /ipv6 settings set accept-router-advertisements=yes max-neighbor-entries=8192 Andy -----Original Message----- From: Public <public-bounces@talk.mikrotik.com.au> On Behalf Of Christopher Hawker Sent: Tuesday, 7 March 2023 9:34 AM To: public@talk.mikrotik.com.au Subject: [MT-AU Public] Setting up IPv6 Hello all, I've been scratching my head and banging it against a brick wall for the last month, trying to get this sorted out. In our office, we are announcing a /48 v6 prefix to AAPT from our BGP router. We then have a NAT router for our internal VLANs. We wish to assign addresses to clients within our office. If I set static addresses all works ok so I know it's not a routing issue. We have 4 VLANs within our office to which we wish to allocate a /59 to each. Would anyone have any examples of configs or be able to point me in the right direction, to have our NAT router announce IP addresses to our clients? Thanks, CH. _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
participants (2)
-
Andrew Oakeley
-
Christopher Hawker