1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

IPv6 Hostnames in Device List and Transfer Rates

Discussion in 'Tomato Firmware' started by itsjr, Aug 28, 2014.

  1. itsjr

    itsjr LI Guru Member

    My ISP recently added support for for IPv6 and they gave the following info:
    Type: 6rd
    Ipv6 Prefix: 2600:16f0::
    IPv6 Prefix Length: 28
    IPv4 Border Router: 64.140.112.5
    IPv4 Router Mask Length: 0
    MTU 1480
    IPv6 DNS Server 1: 2600:1621:1::c:1
    IPv6 DNS Server 2: 2600:1621:1::c:2
    IPv6 DNS Server 3: 2600:1621:1::c:3
    Enable Router Advertisement: Enable

    I'm running Toastman 1.28.0506.3 STD on an Asus N66U. I set up IPv6 as a 6rd Relay with the above details.

    As far as the connection goes, everything seems to be working just fine. I can get to IPv6 sites and I score a 10/10 on test-ipv6.com.

    However, I'm trying to figure out how best to configure DNSMasq so that I get hostnames for all the devices on my network when they're using IPv6.

    Here's the entire DNSMasq config:
    pid-file=/var/run/dnsmasq.pid
    domain=home.personaldomain.com
    resolv-file=/etc/resolv.dnsmasq
    addn-hosts=/etc/dnsmasq/hosts
    dhcp-hostsfile=/etc/dnsmasq/dhcp
    expand-hosts
    min-port=4096
    stop-dns-rebind
    rebind-localhost-ok
    interface=br0
    dhcp-range=tag:br0,10.0.1.100,10.0.1.200,255.255.255.0,1440m
    dhcp-lease-max=255
    dhcp-authoritative

    # Stuff below added by text field in DHCP/DNS gui
    # IPv6 stuff
    enable-ra
    dhcp-range=::1, ::FFFF:FFFF, constructor:br*, ra-names, slaac, 12h

    # Local domain stuff
    local=/home.personaldomain.com/
    cname=home.personaldomain.com,gateway-wan.home.personaldomain.com

    # Other config stuff
    strict-order
    clear-on-reload
    domain-needed
    cache-size=8192
    log-async=5


    I unchecked the following two IPv6 options in the GUI so that I could add my own to the conf file. The reason is that I couldn't see a "slaac" reference in the conf file when they were checked and I wanted to add my own dhcp-range line:
    - Announce IPv6 on LAN (SLAAC)
    - Announce IPv6 on LAN (DHCP)

    My issue is that Tomato doesn't seem to give hostnames to any of the 3 IPv6 address that my Mac gets. If I run a speedtest on http://ipv6-test.com/speedtest/, I can see the hostname for the IPv4 connection in QoS-> View Details, but I only see the IPv6 address for the IPv6 connection.

    My assumption is that the "ra-names" option that I've set on the dhcp-range is supposed to give hostnames to all the IPv6 address that a computer gets. Otherwise the connection details screens are messy with unreadable info.

    Also, I also only see IPv4 traffic in IP Traffic -> Transfer Rates. Should I be able to see IPv6 traffic there?
     

Share This Page