Guest User!

You are not Sophos Staff.

[8.980][ANSWERED]How to stop IPv6 from being NAT'ed

Currently my network has a native IPv6 connection.
If I turn MASQ off , the IPv6 still works, good, but IPv4 doesn't, bad.

If I have MASQ on the IPv6 addresses for the internal devices all go out on the same IPv6 address which is the external IPv6 address.

How do I provide IPv4 nat'ing and omit IPv6?

Ian
  • Ok this sounds like your ISP assigning you an /56 Prefix via DHCP Prefix Delegation.
    However we do NOT support this yet (maybe 9.1 or 9.2).

    Sorry, only way for you to use IPv6 is to enable NAT.

    Please be aware, if your ISP assigns you a Prefix via Prefix Delegation be aware, that
    your Prefix is likely not static. E.g. if you unplug the Modem for a longer period, e.g. 1 day you likely receive a different IPv6 Prefix than befor.

    Because Prefixes via Prefix Delegation are likely to change its a bit more complex to integrate in our product. E.g. all assigned IP addresses have to be changed in the whole confiugration after an assigned Prefix changes...
  • Hi Ulrich,
    it is a static address, part of my user configuration on the ISP site.

    I am sure it used to work in one of the earlier v9b releases and something changed but I have not been able to identify how far back the version was. 

    Also earlier version used to display the subnet range from the ISP on the IPv6 page, that doesn't happen with Native or the sixxs tunnel. It does happened with the freenet6 tunnel.

    Ian
  • IPv6 Subnet is displayed for the Tunnel Broker. If its not displayed, you didn't get a Subnet.
    E.g. happens if you have a Sixxs tunnel but no Subnet attached to.
    It never was shown for native.

    Just ask your ISP if he uses IPv6 Prefix Delgation or not. I bet last time it worked, you attached
    your Modem which did the Prefix Delegation and your Subnet was marked valid for some time, e.g. 1 day or 1 week and due missing Prefix Delegation on ASG was marked invalid again until you plugin your Modem again for Prefix Delegation...
  • Hi Ulrich,
    the sixxs setup which does not show the subnet, but connects to sixxs without a NAT.

    Ian
  • If the sixxs subnet information is missing there is probably a bug within the aiccu daemon
    or the aiccu script.

    Can you edit "/usr/local/bin/ipv6-aiccu-updown" and insert something like the following in the head of the file "set >> /tmp/broker_debug" and restart the service with "/var/mdw/scripts/ipv6-aiccu restart" and grep for PREFIX?

    What about your problem with your native setup, any news? You have your broker disabled while native IPv6 is enabled?

    Cheers
     Ulrich
  • Hi Ulrich,
    The IPv6 tunnel broker has been disabled for sometime now.

    I tried the ISP with the native IPv6 service as the only link, I couldn't get ti to work. I tried with the modem, couldn't get that work.

    At the moment I don't have the modem that does iPv6 a neighbor borrowed to test his dying ADSL service.

    I am getting over my head with the IPv6 issue, there are lot of things I don't understand about the way IPv6 works.

    I will try the sixxs debug shortly and talk to the IPv6 ISP.

    I will let you know the results.

    Thank you for you help.

    Ian.
    The following is from the ISP's FAQ


    Once enabled, customers are presented with a dual-stack configuration  (each login has an IPv4 and an IPv6 address), so customers have native  access to both the IPv4 and IPv6 Internet.
     All customers receive a  static /56 IPv6 prefix via DHCPv6 Prefix Delegation
  • Hi,
    more information about the debugging of the sixxs tunnel. The sixxs site showed my tunnel as having been up for many days, where as the debug showed the state as being down.

    I changed the tunnel name from starting with a "t" to starting with a "T" and toggled the tunnel and now the sixxs subnet is displayed.

    One problem solved, this is good.

    Ian
  • "All customers receive a static /56 IPv6 prefix via DHCPv6 Prefix Delegation "

    Sounds like you'll need to wait for Astaro 9.1 for native IPv6 to work with your ISP.

    Barry
  • Hi Barry,
    not quite dead in the water yet, there is still the attempt to get the modem to work properly and the UTM to talk to the modem as cable modem with DHCP.

    Otherwise, stuck with IPv6 NAT.

    Ian
  • You can try this command on the ASG, but I haven't verified it due missing IPv6 capable provider here [;)]
    chroot /var/sec/chroot-dhcpc /usr/sbin/dhclient6 -P -d -v ethX