Answer the question
In order to leave comments, you need to log in
How to use any address from IPv6 subnet?
There is a /64 network on the VPS. There are a lot of addresses there, but in order to use one of them (in ping / curl), you need to add it separately to the interface. How can this be avoided? All the addresses from the network are needed at the same time.
All instructions, which is actually only one ( https://blog.vpsville.ru/blog/howto/133.html ) does not work, unfortunately.
OS - CentOS 7.
PS I didn't think that there would be such a problem at all. The host can't help either.
Answer the question
In order to leave comments, you need to log in
It is logical that in order to use the address in outgoing packets, it is "recommended" to have it on some interface - otherwise, how will your gateway understand where to send the response? You know, ARP requests and all that...
If you just need to send packets with random content, there are separate utilities for that.
Why doesn't it work. It works, only it is necessary that the application supports specifying a specific IP as outgoing.
curl -L --interface '2a03:6f00:5:1::b6c8:f350' https://ya.ru/
ping6 -I '2a03:6f00:5:1::b6c8:f350' ya.ru
https://github.com/DanielAdolfsson/ndppd.git
This will help you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question