General Discussion
  >> Fibre Broadband


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | (show all)   Print Thread
Standard User Peterdevon
(learned) Fri 01-Dec-23 12:55:17
Print Post

IPv6 address


[link to this post]
 
If you are issued with an IPv6/64 range what should the IPv6 Prefix ID?
Standard User jpm
(fountain of knowledge) Fri 01-Dec-23 13:01:36
Print Post

Re: IPv6 address


[re: Peterdevon] [link to this post]
 
If you've only been delegated a /64 then you only have one subnet, so the prefix ID would be 0.
Standard User Peterdevon
(learned) Fri 01-Dec-23 13:07:29
Print Post

Re: IPv6 address


[re: jpm] [link to this post]
 
The only choice is 1 - 65535


Register (or login) on our website and you will not see this ad.

Standard User candlerb
(knowledge is power) Fri 01-Dec-23 17:40:15
Print Post

Re: IPv6 address


[re: Peterdevon] [link to this post]
 
The first 64 bits of the IPv6 address *are* the prefix, so if you've only been given a /64 assignment, the prefix is exactly what you were given by the ISP. This means you can only have one subnet (no routing between subnets for you).

A decent ISP will assign you either a /56 or a /48. That means there are 8 or 16 bits remaining for you to assign yourself to make LAN prefixes, meaning you can have either 256 LANs or 65536 LANs respectively.

[EDITED]

e.g. ISP gives you 2001:db8:abcd:ef00::/56

You can assign prefixes 2001:db8:abcd:ef00::/64 to 2001:db8:abcd:efff::/64 to up to 256 LANs.

"Prefix ID" is not a well-defined term, where do you see this - on a particular router perhaps? It might be asking for those 8 or 16 bits. If so, the first available value is zero.

Edited by candlerb (Fri 01-Dec-23 20:48:36)

Standard User PaulKirby
(knowledge is power) Fri 01-Dec-23 19:01:58
Print Post

Re: IPv6 address


[re: candlerb] [link to this post]
 
Acutally I think the /56 its in the range of:
2001:0db8:ab00:0000:0000:0000:0000:0000 to 2001:0db8:ab00:00ff:ffff:ffff:ffff:ffff

And when you set it as a /64
2001:0db8:ab00:0000:0000:0000:0000:0000 to 2001:0db8:ab00:00ff:ffff:ffff:ffff:ffff

Green is the Prefix, Blue is the Subnet ID, Red is the Interface ID.

My ISP gives me a /48 Prefix and I put that into a Pool as a /64 Prefix which all our devices uses to create their IPv6 Address.

---
Paul

Edited by PaulKirby (Fri 01-Dec-23 19:19:18)

Standard User candlerb
(knowledge is power) Fri 01-Dec-23 20:49:15
Print Post

Re: IPv6 address


[re: PaulKirby] [link to this post]
 
Yes you're right of course, I've editing the post. Thank you!
Standard User Peterdevon
(learned) Sat 02-Dec-23 09:02:34
Print Post

Re: IPv6 address


[re: candlerb] [link to this post]
 
Thank you for establishing the value should be 0 which it won't accept. so I thought I would manually enter the prefix which is 2002:6456:2ec:: which it won't accept either, it says it is reserved for 6 to 4 tunnels. This is the address asigned by the isp, or should I be using a different address prefix?
Standard User j0hn83
(knowledge is power) Sat 02-Dec-23 14:54:46
Print Post

Re: IPv6 address


[re: Peterdevon] [link to this post]
 
It looks like your ISP doesn't do native IPV6.

The 2002::/16 prefix is used for 6to4, which requires the next 32 bits to be a global unicast IPv4 address.

That makes 2002:6456:2ec:: to be 100.86.46.* (I think). (or 100.86.2.36)?

Ipv6 still confuses me.

Edited by j0hn83 (Sat 02-Dec-23 15:01:29)

Standard User tdw42
(committed) Sat 02-Dec-23 15:16:21
Print Post

Re: IPv6 address


[re: j0hn83] [link to this post]
 
It would be 100.86.2.236, however using reserved IPv4 address, e.g. those provided by RFC 1918 or RFC 6598, to form 6to4 addresses is undefined and will not work.
Standard User candlerb
(knowledge is power) Sun 03-Dec-23 09:08:04
Print Post

Re: IPv6 address


[re: j0hn83] [link to this post]
 
In reply to a post by j0hn83:
That makes 2002:6456:2ec:: to be 100.86.46.* (I think). (or 100.86.2.36)?

hex 64 56 02 ec = 100.86.2.236

What does your router show as its IPv4 WAN address?

My guess is that you're behind CGNAT *and* your ISP doesn't have a clue about how to do IPv6.
Pages in this thread: 1 | 2 | (show all)   Print Thread

Jump to