This question already has an answer here:
- How to set up multiple IP addresses? 3 answers
I need to add another IP address and I need the server to be able to know see it. On the client: curl using the second IP/interface On the server: netstat or tcpdump
I want to be able to see the second IP address in the server.
Tried ip link add, ip address add, ifconfig. Nothing works. On the server there is always the "main" address of the client.
Everything is on the LAN, no need for DNS, etc..