[Bglug] IPv6

Logan Streondj streondj at gmail.com
Mon Sep 24 14:55:01 EDT 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Oh wanted to make  small correction regarding my mac address comment,
while the link-local is based on the mac address there is a little
math involved in converting it:

> 
1    take the mac address: for example 52:74:f2:b1:a8:7f
2   throw ff:fe in the middle: 52:74:f2:ff:fe:b1:a8:7f
3    reformat to IPv6 notation 5274:f2ff:feb1:a87f
4    convert the first octet from hexadecimal to binary: 52 -> 01010010
5    invert the bit at index 6 (counting from 0): 01010010 -> 01010000
6    convert octet back to hexadecimal: 01010000 -> 50
7    replace first octet with newly calculated one: 5074:f2ff:feb1:a87f
8    prepend the link-local prefix: fe80::5074:f2ff:feb1:a87f
9    done!

calculator here:

https://ben.akrin.com/?p=1347


I can give a demo of setting up ipv6 tunnel at the meeting.

On 2018-09-23 09:27 PM, Logan Streondj wrote:
> 
> 
> note the fe80:: address which is the link-local address, basically 
> it's fe80::<Mac Address>
> 
> so as long as you know the mac address of any computer you can
> connect to it over ipv6 regardless of dhcp and w/e. which is a cool
> feature that I use in some networks where they have old routers
> that don't support reserving IP's for laptops that are taken
> offsite and so can't have a static IP.
> 
> interesting note is that if you're using a link-local address
> often have to add the interface name, so I wanted to ssh into it, I
> would do:
> 
> ssh -6 fe80::403f:97ff:fe2d:45c9%eth0 or w/e the interface actually
> is
> 
> 
> though for global addresses like over the internet don't need to, 
> since they are routed via your gateway.
> 
> 
>> _______________________________________________ Group mailing
>> list Group at bglug.ca
>> http://bglug.ca/mailman/listinfo/group_bglug.ca
> 
> 
> 

- -- 
Logan Streondj,
A dream of Gaia's future.
twitter: https://twitter.com/streondj

You can use encrypted email with me,
how to: https://emailselfdefense.fsf.org/en/
key fingerprint:
BD7E 6E2A E625 6D47 F7ED 30EC 86D8 FC7C FAD7 2729
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvX5uKuYlbUf37TDshtj8fPrXJykFAlupMvgACgkQhtj8fPrX
JylZKA//Y8UizwJcr5oO//6JbJztp0qagw05cKnYu+b8PYaddjD04BIHZMQsBFyT
ifB0jMp4nwlAOEUg0rKDIdE+UUtmmLVb8Qx/kXDNZT+QhkvgZvZUz7HSZqd0VA8l
fhM00biTa3hmq6ffQPOzm0VuMUTmioI5oBo5GTedqFMhncnBkjhgHcah63E+4mM7
YjqBEDwyZ2yza8UeiTadcnoz9sCWGV2cKLnd+SA5/MT65Q5iQmskPx7+4uAewOFq
DqEeJGuPktUdfN2bnhaLIHYNWcspGp8XNXsN8dWSIYihlx84Fqf8txdYndT26m49
zzc1FnIwCpApXQpTv3K7Tks1x1V660AsSY+gk+fbXR16s1SvhDQHGgD5WbTQCQsU
WLGnsi/z3DT6PvOi1wdqlrIL69ZIEAcRqu8rplXBWARbzuGqlfgQ3A1FsNAlHqxS
PVcZqtI8mM5BwpNcNXmPcRJ2802+dIGqNWNF7y0DIOL+keR9EvmjutI1t7XF4HFN
vz7QO1XEsjWWdDTvA1m7B8ZHwhBshwBw6ZnJDBkMJS5dcu0Iecfc3uGSKWI4NCfW
jAl7uUFeHs5Yg+bjyMVfbXeZEMb5xid/lPBnqnv2BF0iQGvm+rmzuqNs2uGtbvj+
WJjS2OZgn1GKjCcmxXPzxAZTZrNv3aSf7lL27Cj6ajyYShsIVQM=
=RIRI
-----END PGP SIGNATURE-----



More information about the Group mailing list