I'm trying to set up a new router, and abandon all of the outdated practices I've used before. Part of that (in fact, the main part) is the idea of using a dual stack network.
From my ISP, I have one IPv4 address (78.130.165.174, received via ethernet cable and DHCPv4) and just one router, and per the instructions in the wiki, I have created a tunnel at HE. The IPv4 part works fine, but the IPv6 one doesn't. Possibly because on 5.19, the instructions don't follow as nicely as described there. Or maybe there's something else I don't understand yet.
I'm trying to do everything with DHCP servers and/or IPv6 stateless configuration (anything, as long as end user devices can be configured automatically) via a wireless interface. I have a Windows 7 machine for testing client connectivity. The way I have it now, I've been able to give it an IPv6 with stateless configuration, and I can ping the HE gateway, but I can't ping my own router, nor do I ever see any gateway and DNS assigned. Needless to say I can't even ping any site, as DNS resolution doesn't even occur.
Here's an export on my current configuration (actual IPs and everything):
Code: Select all
/interface wireless
set 0 band=2ghz-b/g country=bulgaria disabled=no frequency=2427 l2mtu=2290 \
mode=ap-bridge wireless-protocol=802.11
/interface 6to4
add comment="HE IPv6 Tunnel" disabled=no local-address=78.130.165.174 mtu=\
1280 name=sit1 remote-address=216.66.84.46
/ip pool
add name=clients ranges=192.168.2.2-192.168.2.254
/ip dhcp-server
add add-arp=yes address-pool=clients always-broadcast=yes disabled=no \
interface=wlan1 lease-time=1h name=DHCP-IPv4
/ipv6 dhcp-server
add address-pool=clients disabled=no interface=wlan1 lease-time=1h name=\
DHCP-IPv6
/ipv6 pool
add name=clients prefix=2001:470:1f14:69c::/64 prefix-length=64
/ip address
add address=192.168.2.1/24 interface=wlan1
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.2.0/24 dns-server=192.168.2.1 gateway=192.168.2.1
/ip dns
set allow-remote-requests=yes servers=89.25.0.253,94.155.155.4,2001:470:20::2
/ip firewall nat
add action=src-nat chain=srcnat src-address=192.168.2.0/24 to-addresses=\
78.130.165.174
/ip neighbor discovery
set wlan1 disabled=yes
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
/ipv6 address
add address=2001:470:1f14:69c::2/64 advertise=no interface=sit1
/ipv6 nd
set [ find default=yes ] advertise-dns=yes interface=wlan1 \
managed-address-configuration=yes other-configuration=yes
/ipv6 nd prefix
add interface=wlan1 prefix=2001:470:1f14:69c::/64
/ipv6 route
add distance=1 gateway=sit1
add distance=1 dst-address=2001:470:1f14:69c::/64 gateway=wlan1
add distance=1 dst-address=2001:470:1f14:69c::1/128 gateway=sit1