Last active
April 10, 2023 19:48
-
-
Save joemar-tagpuno/3244693b6c91fe9d03d9eece9a27a585 to your computer and use it in GitHub Desktop.
IP aliasing on Mac OS for react-native development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @link https://osxdaily.com/2009/08/05/how-to-create-an-ip-alias-in-mac-os-x-using-ifconfig/ | |
# In react-native development I create IP alias for the ios and android emulators. | |
# sudo ifconfig en0 alias 192.168.0.101 255.255.255.0 | |
# automate the script with [launchd](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html) | |
# https://www.macstadium.com/blog/automating-login-and-startup-events-in-macos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment