T
T
Troodi Larson2018-09-05 19:42:02
linux
Troodi Larson, 2018-09-05 19:42:02

Setting up ipv6 debian network, how to automatically see all /64 network?

iface eth0 inet6 static
  address 0000:0000:0000:0000::3
  netmask 64
  gateway 0000:0000:0000:0000::1

This configuration allows only 0000:0000:0000:0000::3address to be used, is it possible to make all addresses from the /64 subnet available for use without adding a new address?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2018-09-06
@martin74ua

https://blog.vpsville.ru/blog/howto/133.html
is what you need.

H
hx510b, 2018-09-06
@hx510b

There are too many unknowns in your question to give a correct answer. Suppose IPv6 is running on this network using RA.
Usually, the IPv6 address of the device is formed based on the MAC address of the device through simple transformations, this approach allows you to assign device addresses without conflicts. This is described in detail here https://habr.com/post/245323/
This principle is applied in most IPv6 networks. Those. the device assigns a unique IPv6 address to itself.
This means that if you want to hang several IPv6 addresses on 1 host, on 1 network adapter, then you need to have several MAC addresses on the host, this can be done using a bridge and creating virtual network adapters (talking about Linux). (Perhaps there is some other recipe, but I have not heard of it).
The second option is DHCPv6, which allows you to assign arbitrary combinations of addresses instead of MAC-based addresses, but this option must be supported by the network itself and the client, while some operating systems do not support DHCPv6 well or at all. See more details here: https://en.wikipedia.org/wiki/Comparison_of_IPv6_s...
For your task, you still have to use tricks on the client so that it hangs more than one address per interface and subnet. I think this option is not suitable for implementation.
The third option, if there are several IPv6 subnets in the LAN segment (the duty RA service informs the clients about this via the ICMP protocol), in this case the client, having seen several IPv6 networks, will assign itself addresses for each subnet - this is standard behavior.
Total.
Or you need to fence several virtual interfaces with different MACs on the host in order to get more IPv6 addresses.
Or you need to drag more IPv6 networks into the segment, then a lot of addresses will appear on the hosts "by itself".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question