Multiple IPv6 address based on SLAAC prefix on Linux [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'd like to ask is there any way to make linux get more than one (or let we say 1000) IPv6 address base on SLAAC announced prefix?
I used to do ip a add IPV6_ADDR on boot when I have a static IPv6 prefix, but now my ISP gives a dynamic prefix instead of a fixed one, which makes the added addresses expire after they changed the prefix.
An alternative way I've thought is to make a script run when the prefix is changed to re-add IPs with new prefix, but I didn't find how to do it too :(
Thanks.

Solved: It cames out I can use macvlan to solve this problem.
~# ip link add link eth0 eth0.2 type macvlan
~# ip link set dev eth0.2 up

Related

How can I find my IP address when inside a Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a Linux server is hosting in a host company. I don't know what is the public IP address of the server. I can only ssh to the server using their Cloud access. I'm wondering if there's any tools that I can use to tell what is the public IP address of the Server I'm inside.
This cyberciti.biz article Expline how to find your public IP address.
To show IP address of server use this command: ifconfig -a.
I found this website service that you can create a link URL then send a request to that URL to reveal your IP Address and header details which is cool.
https://www.requestheader.com/

How to list all network links in all namespaces in Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
As I know, in a Linux shell environment, I could list the networks links in any specific namespace with ip, like:
ip netns exec <namespace> ip link show
My question is:
If I have multiple net namespaces, how to list all the links in all the namespaces with a simple command? Or I have to write a script to do so?
You can simply do:
ip link show; ip -all netns exec ip link show
Internally this just does what your script would do - it steps through all namespaces and runs the command.

Hacked — got an IPv6 address, need hostname [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
So I've got a problem... A few days ago I got hacked; someone logged on to an account of mine. So after a few clicks,
I managed to get the IP Address: 2a02:a03f:1043:8500:75eb:6b9f:a26:8733
It's an IPV6 address; I don't care to post it here — it's not mine. So what I want to do: get the hostname of that IP address.
I can't tracert it, I can't ping it and the DNS lookup doesn't give a hostname.
I'm not going to do anything with the IP Address, but if I may get a hostname, it will be possible to know who did it, and confront them with the issue.
Omnomnom,
You can try https://enc.com.au/itools/inet6num to get the hostname of ipv4/6

How to configure 2 ip address on the same interface [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I want to configure my lan interface of the router with 2 IP address.
My router has OpenWRT as firmware
How to edit my openwrt config file inorder to have 2 ip address on the same lan interface?
ifconfig is a quite deprecated tool.
Today we have iproute2 suite which, for many reasons, is much better than ifconfig&co.
For example with iproute2 you don't have to use the "trick" of a virtual interface to have more the one ip address on the same physical interface:
ip addr add IP dev eth0
As you have tagged "linux" in your question, I guess OpenWRT is Linux based.
On Linux, you can do aliases to your eth0 interface. For example, to add an IP to an existing eth0 interface which has already one configured IP, you can do something like:
# ifconfig eth0:1 newIP ... rest of parameters ... (from root)
It would help if you add a sample of your configuration file to the question.

List of ip address bind to the given URL [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
How to find the list of all IP address bind to the given URL using Linux command/tools.
By trying to find "list of IP addresses bound to a url", I assume you are trying to enumerate the DNS entries of a domain. Then try dnsdict6. Of course, there are various other tools too, but I prefer this one.
It is a command line tool which lists all the subdomains or DNS entries of a any domain name provided. It can also take a dictionary file as input and also display both IPv4 and IPv6 addresses of the domain.

Resources