Mapping a IP address to local android device

Is there a way to add a IP address to be a loopback to my android device? so for example is always the local device. I have a certain IP address that I also want to reserve just for the device just like the 127 IP and I dont want it going to the real IP. On a windows machine I can add multiple IP addresses in the LAN adaptor. Is there a way to do this in Android?