I run my network off a x86 box running Ubuntu 18.04, firewalld (UFW is unsuitable for use as a router), /networks/interfaces (netplan had a bug that made it unfit for purpose) and dnsmasq for DHCP and DNS.
I had an ISP that ran ipv6 with PD and I used the setup here. My current ISP dosen't support IPV6 so I've gotten a tunnel set up to my router through hurricane electric - this is set up, and presumably works since I can ping .
I have enp1s0 as the external interface, and all other interfaces bridged together serving the rest of the network as br0. Also have he-ipv6 as the tunnel, not bridged to anything
At the moment the router is sitting behind an ISP router, with two different network segments - 192.168.1.x for everyone else, and my own test network in 192.168.2.x, with the router in a DMZ. This shouldn't be a problem.
The problem is I'd like to stick with dnsmasq, and I'm having trouble funding documentation on how to set it.
Here's what I have right now
- I've set up ipv6 to my router as per the instructions on hurricane electric's web page including the below on my /etc/networks/interfaces
auto he-ipv6 iface he-ipv6 inet6 v4tunnel address 2001:470:YY:YYYY::2 netmask 64 endpoint 184.108.40.206 local xxx.xxx.x.xxx ttl 255 gateway 2001:470:YY:YYYY::1
This works. I can ping ipv6.google.com and other known ipv6 sites. I just don't seem to be able to get IPs for anything else.
##For HE enable-ra dhcp-range = 2001:470:YY:YYYY:: dhcp-option=option6:dns-server,[2001:470:20::2],[2001:4860:4860::8888]
But apparently the syntax is wrong.
How do I get an IPv6 address for clients getting IPs from the router, as well as for br0?