How to configure a MacBook so that it keeps a static IP-address when disconnected?
Open Applications -> Utilities -> Terminal
Enter the following command: sudo ifconfig lo0 alias 192.168.1.100
Type root password
Quit Terminal