Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a typical router with IPv4 and NAT setup. My provider sends an IPv6 address to the router, but it does not support the IPv6 prefix delegation.

How can I get IPv6 addresses for my private network without relying to my provider that much?

With IPv4 this was easily solved using NAT, but IPv6 does not support NAT.

I found a workaround for routers supporting ebtables, but this looks like an ugly hack to me.

Bridge the two ethernet cards (internal and external) for IPv6 traffic, thus, taking an IPv6 directly from the range of the provider, and use ebtables to force IPv4 traffic to take the NAT way:

After applying this workaround I still get a problem. My private network can get IPv6, but the router cannot. Also if the router does not support ebtables, this cannot be used so it is not a generic workaround at all.

Is there a recommended generic solution to this problem?

share|improve this question
Did your ISP actually give you a block of addresses? Something like 2001:db8:1234::/48 or 2001:db8:5678:9a00::/56 – Michael Hampton Feb 10 '13 at 2:53
No, this is the prefix delegation from what I understand but the provider does not support it yet. I asked for it and they recommended to bridge my internal/external networks to get directly IP's from their DHCP, but then I have the IPv4 NAT issue. – Vangelis Tasoulas Feb 10 '13 at 11:55

Ask your provider to give you a /64. They can use static routing, which is easier than DHCPv6 PD for providers just getting started with IPv6. The provider will use your WAN link local address or possibly your WAN global unicast address.

An alternative is Neighbor Discovery proxy (

share|improve this answer
You should complain bitterly if the ISP hasn't given you at least a /56. – Michael Hampton Feb 11 '13 at 15:08
Yes, a /48 or /56 would be ideal. We still have work to do in convincing some engineers that the scarcity approach to IPv4 addresses is not applicable to IPv6. – Jeff Loughridge Feb 11 '13 at 18:26
Quote RFC 6177 at them. If they aren't giving at least a /56 to residential customers, and /48 to business customers, they're doing it wrong. – Michael Hampton Feb 11 '13 at 19:39
I see, I have to keep on nagging them until they realize that they have to do this properly if there is no alternative. Thanks for the answer and the discussion! – Vangelis Tasoulas Feb 12 '13 at 11:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.