I have a client/server software that uses IP to communicate. It happens that both client and server is located at the same MacBook, and when I travel I disconnect it from the IP network, making it loose the static IP-address obtained by the network card from the IP network. This sets a stop for the IP connection between the client and server.
Both the client and server software is configured to use a specific IP-address and reconfiguration of this address within this software is not possible. This makes it impossible to change the client/server IP-address configuration to localhost/127.0.0.1, as would be the most obvious solution.
Are there any other way that I can configure my MacBook (Yosemite) network configuration so that it keeps using the static IP-address even if I disconnect it from the IP network?
ifconfig
: http://serverfault.com/questions/402744/assigning-multiple-ip-addresses-to-localhost-os-x-10-6 I answered the question below. – Joachim Bratteli Nov 5 '15 at 21:14