Mastodon Feed: Post

Mastodon Feed

dysfun@treehouse.systems ("gaytabase") wrote:

so my buffer manager uses an optimised 32-bit key version of the HOT internally. and it occurred to me that ipv4 is also 32 bit. could we do anything useful with it?

well, tables don't actually go all the way up to /32. the minimum is more like /24. at these sizes, i would take up way more space than just a simple flat table.

but in ipv6, things could be different. you can't just carry that as a table, you need a datastructure to cut the space requirements.

given ipv6 is not handleable in the same way as ipv4, i am left wondering what routers actually do with ipv6.