M
M
Michael2020-02-07 01:06:29
JavaScript
Michael, 2020-02-07 01:06:29

How to find out the working IPV6 from the pool?

The provider issued an IPV6 pool (Hetzner)
To be honest - for me V6 is a dense and dark forest - it is somehow inhuman ....
The essence of the question is how to select one worker from / 64 and send web traffic to it (AAAA zone)
here is the output of the address pool in control panel VPS 2a01:4f8:c0c:4129::/64
This is the output of ifconfig

ifconfig
ens3 Link encap:Ethernet HWaddr 96:00:00:3e:d8:f3
inet addr:123.123.123.123 Bcast:123.123.123.123 Mask:255.255.255.255
inet6 addr: fe80::9400:ff:fe3e:d8f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:928514 errors:0 dropped:0 overruns:0 frame:0
TX packets:853858 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:201255385 (201.2 MB) TX bytes:1484734070 (1.4 GB)


Thanks to those who answered

Answer the question

In order to leave comments, you need to log in

3 answer(s)
0
0xD34F, 2019-05-23
@BeatTimy

+str.replace(/[^\d.]/g, '')

P
Puma Thailand, 2020-02-07
@opium

They are all working
In hatzner, everything is issued via dhtspd and most likely you already have ipv6

A
Alexey Dmitriev, 2020-02-07
@SignFinder

any ipv6 calculator online
For your pool, the values ​​​​can be:

Start Range:  2a01:4f8:c0c:4129:0:0:0:0
End Range:  2a01:4f8:c0c:4129:ffff:ffff:ffff:ffff
No. of host:  18446744073709551616

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question