Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 23620

Containers • Containers and IPv6 addresses

$
0
0
This is just something I noticed, and I wonder why. Anyone know?

I set up Pi-hole and unbound containers, giving them IPv4 and IPv6 addresses. Pi-hole was installed following the wiki (plus the IPv6 address, see below); unbound was just a case of setting its interface/addresses and pulling the image.
Code:
# Config line for the Pihole for both IPv4 and IPv6/interface/veth/add address=192.168.1.46/24,[redacted]::46/64 gateway=192.168.1.254 gateway6=[redacted]::254 name=vethPihole
Using them with IPv4 works perfectly.

IPv6 however doesn't, unless I also add the IPv6 addresses to the containers' interfaces in the /IPv6/address section. I didn't need to do that for IPv4 and /ip/address/print does not show them, as expected.

Without the above I can't even ping the containers' IPv6 addresses.

Just curious... why the difference?

My Pi-hole->unbound DNS is working nicely on both IPv4 and IPv6 now... I love my new RB5009 8)

And yes, I know I technically don't need both IPv4 and IPv6 DNS, but since when does 'need' have anything to do with it? :lol:

Statistics: Posted by SpartanX — Mon Mar 10, 2025 4:18 am



Viewing all articles
Browse latest Browse all 23620

Latest Images

Trending Articles



Latest Images