Hi All,
I have being scratching my head for this. Please give help!
So here’s what’s happening:
I have an ISP that does not provide IPv6, so I registered a Tunnel Broker that HE.net provides. I followed all the standard configuration guides and even setup a script to automatically update my IP address to the tunnel. Everything on my network works with IPv6 now. So far so good.
And recently, I am trying to build a small server farm for my colleagues to drop some data or run some processes. So I created a VLAN for that part of network, configured the IPv4 part for it. Everything is good on that aspect. But I have great trouble with IPv6.
I notice that before any setup, the computer on the VLAN can actually get IPv6 configuration. I don’t think this is right because I tried to attach IPv6 Address only on my main network interface. And when I try to create one set of configuration for my VLAN, I found that both the main network and VLAN network can get both IPv6 configuration. And somehow, only my main network works well with IPv6, and VLAN network although got configuration but cannot route.
My question is, how can I isolate these 2 networks with IPv6? My bottom line is if I can limit IPv6 to my main network it would be good enough. Because the VLAN network does not really need IPv6. However that’s impossible because whatever I do the VLAN network always get configuration. Of course, if I can make both work that would be nice.
Below is script for my current setup. Please note that there are some irrelevant things within there.
/ipv6 dhcp-server
add address-pool=ipv6pool-default interface=bridge1-lan lease-time=15m name=\
tunnel-dhcpv6
/ipv6 address
add disabled=yes eui-64=yes from-pool=isp-defaultv6 interface=bridge1-lan
add address=2001:7040:a:406e::2 advertise=no comment=\
"Hurricane Electric IPv6 Tunnel Broker Default Address" interface=sit1
add address=2001:7040:b:406e::24 comment=\
"Hurricane Electric IPv6 Tunnel Broker Client/64 Default Address" \
interface=bridge1-lan
add address=2001:7040:e9ac:59::59 comment=\
"Hurricane Electric IPv6 Tunnel Broker Client/48 Datacenter Address" \
disabled=yes interface=v-bridge6-lan-datacenter
add address=2001:7040:e9ac:24::24 comment=\
"Hurricane Electric IPv6 Tunnel Broker Client/48 Default Address" \
disabled=yes interface=bridge1-lan
/ipv6 dhcp-client
add add-default-route=yes interface=bridge2-wan pool-name=isp-defaultv6 \
prefix-hint=::/60 request=address,prefix
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
add address=::224.0.0.0/100 comment="defconf: other" list=bad_ipv6
add address=::127.0.0.0/104 comment="defconf: other" list=bad_ipv6
add address=::/104 comment="defconf: other" list=bad_ipv6
add address=::255.0.0.0/104 comment="defconf: other" list=bad_ipv6
add address=2001:7040:b:406e::/64 comment=\
"Hurricane Electric IPv6 Tunnel Broker Default/64 Address" list=\
v6-local-lan-all
add address=2001:7040:e9ac::/48 comment=\
"Hurricane Electric IPv6 Tunnel Broker Default/48 Address" list=\
v6-local-lan-all
/ipv6 nd
set [ find default=yes ] disabled=yes
add interface=bridge1-lan managed-address-configuration=yes
add advertise-mac-address=no disabled=yes interface=v-bridge6-lan-datacenter
/ipv6 nd prefix
add autonomous=no disabled=yes interface=bridge1-lan
/ipv6 route
add disabled=yes distance=1 gateway=sit1
add comment="Hurricane Electric IPv6 Tunnel Broker Static Route" distance=1 \
dst-address=2000::/3 gateway=2001:7040:a:406e::1
/ipv6 settings
set accept-redirects=no
Please do let me know if you need more information to help. Much appreciated!