Here’s how you can set up OSX to have a DHCP IP address and a Static IP address at the same time. Some tutorials on configuring a static IP will tell you to change your network interface to a manual configuration, but although that works, it prevented me from also using the internet. Plus, you’d have to remember to switch back to DHCP configuration. There’s an easier way.
I’m using OSX Lion, but the instructions should hold for Mountain Lion and Snow Leopard – though the button locations may differ
- Go to Preferences -> Network
- Use the + icon down the bottom left to duplicate the desired interface (wifi, ethernet etc…)
- Select the newly duplicated network interface
- Click Advanced
- Select TCP/IP from the dropdown list
- From the Configure IPv4 menu, select the ‘Manually’ option.
- Enter the desired, static IP address (ex: 192.168.1.110) in the IPv4 Address field.
- Click OK
- Click Apply
Now you have a DHCP address on the original interface and a static ip on the copy of the interface.
This was based on the tutorial here with the dual-interface approach described in the comments.