← Back to context Comment by koakuma-chan 4 days ago This shortcut system of ipv6 only makes it worse. It's too hard to remember how it works. 16 comments koakuma-chan Reply icedchai 4 days ago Is it really hard to remember? A hint is in the syntax itself. What's in between the two colons '::'? Nothing. In other words, all zeros.IPv4 also has a similar, though rarely documented or utilized, shortcut system. Try `ping 1.1` for example. It expands to 1.0.0.1. karlshea 4 days ago ":: is all zeros" is too hard?? webignition 4 days ago How many zeros? db48x 4 days ago Exactly enough to fill out the address, which is always the same length. BTW, IPv4 does basically the same thing. The address 127.1 is equivalent to 127.0.0.1. 3 replies → karlshea 4 days ago There are a total of 8 groups of 4 hex digits, so 8 minus however many groups you already have.google.com: 2607:f8b0:4009:819::200e (5 groups) -> 2607:f8b0:4009:0819:0000:0000:0000:200e (3 groups of added zeros)a ULA address: fd2a:1::2 (3 groups) -> fd2a:0001:0000:0000:0000:0000:0000:0002 (5 added)localhost: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001 jstanley 4 days ago However many are left. In what circumstances do you care? kstrauser 4 days ago However many it takes to make the whole A::B number exactly 128 bits long. paulddraper 4 days ago “Enough” koakuma-chan 4 days ago It's not just ":: is all zeroes" ninkendo 4 days ago … such as? 3 replies →
icedchai 4 days ago Is it really hard to remember? A hint is in the syntax itself. What's in between the two colons '::'? Nothing. In other words, all zeros.IPv4 also has a similar, though rarely documented or utilized, shortcut system. Try `ping 1.1` for example. It expands to 1.0.0.1.
karlshea 4 days ago ":: is all zeros" is too hard?? webignition 4 days ago How many zeros? db48x 4 days ago Exactly enough to fill out the address, which is always the same length. BTW, IPv4 does basically the same thing. The address 127.1 is equivalent to 127.0.0.1. 3 replies → karlshea 4 days ago There are a total of 8 groups of 4 hex digits, so 8 minus however many groups you already have.google.com: 2607:f8b0:4009:819::200e (5 groups) -> 2607:f8b0:4009:0819:0000:0000:0000:200e (3 groups of added zeros)a ULA address: fd2a:1::2 (3 groups) -> fd2a:0001:0000:0000:0000:0000:0000:0002 (5 added)localhost: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001 jstanley 4 days ago However many are left. In what circumstances do you care? kstrauser 4 days ago However many it takes to make the whole A::B number exactly 128 bits long. paulddraper 4 days ago “Enough” koakuma-chan 4 days ago It's not just ":: is all zeroes" ninkendo 4 days ago … such as? 3 replies →
webignition 4 days ago How many zeros? db48x 4 days ago Exactly enough to fill out the address, which is always the same length. BTW, IPv4 does basically the same thing. The address 127.1 is equivalent to 127.0.0.1. 3 replies → karlshea 4 days ago There are a total of 8 groups of 4 hex digits, so 8 minus however many groups you already have.google.com: 2607:f8b0:4009:819::200e (5 groups) -> 2607:f8b0:4009:0819:0000:0000:0000:200e (3 groups of added zeros)a ULA address: fd2a:1::2 (3 groups) -> fd2a:0001:0000:0000:0000:0000:0000:0002 (5 added)localhost: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001 jstanley 4 days ago However many are left. In what circumstances do you care? kstrauser 4 days ago However many it takes to make the whole A::B number exactly 128 bits long. paulddraper 4 days ago “Enough”
db48x 4 days ago Exactly enough to fill out the address, which is always the same length. BTW, IPv4 does basically the same thing. The address 127.1 is equivalent to 127.0.0.1. 3 replies →
karlshea 4 days ago There are a total of 8 groups of 4 hex digits, so 8 minus however many groups you already have.google.com: 2607:f8b0:4009:819::200e (5 groups) -> 2607:f8b0:4009:0819:0000:0000:0000:200e (3 groups of added zeros)a ULA address: fd2a:1::2 (3 groups) -> fd2a:0001:0000:0000:0000:0000:0000:0002 (5 added)localhost: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001
Is it really hard to remember? A hint is in the syntax itself. What's in between the two colons '::'? Nothing. In other words, all zeros.
IPv4 also has a similar, though rarely documented or utilized, shortcut system. Try `ping 1.1` for example. It expands to 1.0.0.1.
":: is all zeros" is too hard??
How many zeros?
Exactly enough to fill out the address, which is always the same length. BTW, IPv4 does basically the same thing. The address 127.1 is equivalent to 127.0.0.1.
3 replies →
There are a total of 8 groups of 4 hex digits, so 8 minus however many groups you already have.
google.com: 2607:f8b0:4009:819::200e (5 groups) -> 2607:f8b0:4009:0819:0000:0000:0000:200e (3 groups of added zeros)
a ULA address: fd2a:1::2 (3 groups) -> fd2a:0001:0000:0000:0000:0000:0000:0002 (5 added)
localhost: ::1 -> 0000:0000:0000:0000:0000:0000:0000:0001
However many are left. In what circumstances do you care?
However many it takes to make the whole A::B number exactly 128 bits long.
“Enough”
It's not just ":: is all zeroes"
… such as?
3 replies →