Home > Articles > Home & Office Computing > Mac OS X

  1. Changing Tcp/ip Dhcp From Manual To Automatic On A Mac Computer

How to Change the IP Address on a Mac. Changing your IP address can be useful if you want to avoid being attacked by other users who are targeting your IP address, or if you simply want a new online identity from an IP standpoint.

  1. Learn how to manually configure the TCP/IP address within Windows 7. Dynamic Host Configuration Protocol - Duration. Changing your Dynamic IP address to a Static address in Windows 7.
  2. TCP/IP Manual IP with Automatic DNS?? DHCP address typically DON'T change. The Windows TCP/IP stack does a DHCP request at 50% of the lease asking, basically, 'Can I keep my current IP.
  1. Manually Configuring Network Settings
< BackPage 3 of 7Next >
This chapter is from the book
My MacBook (covers OS X Mavericks on MacBook, MacBook Pro, and MacBook Air), 4th Edition

This chapter is from the book

This chapter is from the book

My MacBook (covers OS X Mavericks on MacBook, MacBook Pro, and MacBook Air), 4th Edition

Manually Configuring Network Settings

Network connections, when automatically configured, seem to work almost like magic. Your computer finds a signal (wired or wireless), makes a connection, and everything just “works.” Behind the scenes, however, there are a handful of network settings that make this happen. If a network doesn’t support auto-configuration, using a protocol known as DHCP, you need to make these settings manually.

Your network administrator needs to provide the following settings in order to manually set up your network:

  • IP Address—A numerical address that uniquely identifies your computer.
  • Subnet Mask—A value that helps your computer determine what network it is on.
  • Router—The address of a device that moves network traffic between other local computers and remote networks (such as the Internet).
  • DNS—The address of a device providing domain name lookups to your network. This service translates human-readable names (such as www.apple.com) into IP addresses and vice-versa.
  • Proxy Settings—A device that sends and receives network traffic on your behalf, acting as a middleman for services.

Configuring TCP/IP and Proxy Settings

To manually change your TCP/IP and Proxy settings, follow these steps:

  1. Open System Preferences and click the Network panel icon.

  2. The network panel opens, showing all the available interfaces. Click the interface you want to configure (usually Ethernet or Wi-Fi).
  3. Click the Advanced button to view the full manual interface for network settings.

  4. The Advanced configuration screen appears. Click TCP/IP in the button bar to access the common TCP/IP network settings.
  5. Use the Configure IPv4 drop-down menu to change your settings to be configured Manually.
  6. Enter the IP Address, Subnet Mask, and Router, as provided by your network administrator.

  7. Click DNS in the button bar to change your domain name server settings.
  8. Click the + button below the DNS Servers list to add a new server to the list. Your ISP or network administrator usually provides at least two addresses to use; be sure to type it exactly as provided. (Use the – button to remove unused DNS Servers. Search Domains are not required unless specified by your administrator.)

  9. If your network requires the use of a proxy, click the Proxies button in the button bar. If not, skip ahead to step 13.
  10. Click the checkboxes beside the protocols that you want to configure.
  11. Click the protocol names to configure each proxy. Setup fields appear to the right of the protocol list.
  12. Enter the proxy information as provided by your network administrator.
  13. Click OK to exit advanced setup.

  14. Click Apply to activate and begin using your new network settings.

Activating PPPoE for DSL Connections

In some cases, most typically when using a DSL modem, you need to activate PPPoE (Point-to-Point Protocol over Ethernet) in order to make a connection.

  1. Open System Preferences and click the Network panel icon.

  2. Select your active Ethernet Interface.
  3. Choose Create PPPoE Service from the Configure IPv4 dropdown menu.

  4. Choose a name for the connection. (The default, PPPoE, is fine.)
  5. Click Done.

  6. Enter the PPPoE information as provided by your ISP. Choose to remember the password if desired.
  7. Click the Show PPPoE Status in Menu Bar checkbox to add a convenient menu option for connecting and disconnecting to the service.
  8. Click the Advanced button.

  9. Click PPP to open a variety of options for configuring your connection.
  10. To help maintain a stable connection, check Connect Automatically When Needed and uncheck the Disconnect checkboxes if desired.
  11. If required by your ISP, configure the TCP/IP settings manually as described in the “Configuring TCP/IP and Proxy Settings” task.
  12. Click OK to close the Advanced settings.

  13. Click Connect to begin using the PPPoE interface you’ve configured.

Mac

Related Resources

  • Book $55.99
  • Book $55.99
  • Book $55.99

DHCP makes it simple to configure network access for your home network, and port forwarding makes it easy to those computers from anywhere. By configuring static DHCP on your router, you can combine the best of both worlds.

The Problem with DHCP and Port Forwarding

DHCP is great. You configure your router to automatically assign IP addresses and the computers on your network just plain work. Port forwarding is useful because you can access your router from outside of your network and be redirected to the computer you need inside of your network. The problem is that these two wonderful things rely on one premise: your internal IP addresses don’t change. If your router changes the IP that is assigned to a machine by DHCP, then you have to reconfigure Port Forwarding. Many programs try to get around this fact by offering Universal Plug and Play (UPnP) port forwarding features, but not everything does.

Newer routers often have the ability to remember which IP address was assigned to which computer, so if they disconnect and reconnect their IP doesn’t change. Often, though, a router reset will wipe this cache and start assigning IPs on a first-come, first-served basis. Tons of older routers don’t even have this ability, and immediately assign new IP addresses. With IP addresses changing, you have to reconfigure your port forwarding settings often, otherwise you may lose the ability to connect to your home computers.

You can do this on plenty of modern routers, but we’re going to use DD-WRT for this guide. We’ve touted DD-WRT’s ability many times before, and it’s not for nothing. This amazing custom router firmware has a solution to this mess: static DHCP, also known as DHCP reservation. While configuring your router for DHCP, you have the ability to enter the MAC addresses of your computers’ network cards and enter which IP address to assign them. DD-WRT will automatically take care of the rest! If you have a different router, you can try following along using your router’s own admin page–the instructions should be somewhat similar.

Finding Your MAC Address

The only real work you’ll have to do is find the MAC address of each computer’s attached networking card. If you’re using wireless then you should find the MAC of your wireless card, and if you’re wired then use the Ethernet card.

Just go down to the icon in your system tray for your connection and click it. Mine is wireless.

Right-click on your current active connection and click on Status.

Click on the “Details…” button.

Your MAC address for this device is listed as “Physical Address.”

OS X users can check under their System Settings and click on Network. If you click on the various tabs for your connection, you should find a “Physical ID,” “Ethernet ID,” or “MAC Address.” Ubuntu users can type “ifconfig” in Terminal. You’ll see various network adapters, each displaying its own hardware address. Do this for all of the computers in your network that you need port forwarding for. The others will just get their IPs assigned automatically by DHCP.

DD-WRT and Static DHCP

Now that you have a list of MAC addresses for each of your computers, open up a browser tab and head over to your router’s DD-WRT interface. Click on Setup, and under Basic Setup, make sure DHCP is turned on.

Scroll down to “Network Address Server Settings (DHCP)” and make a note of the starting IP address and the maximum number of users. The addresses you configure should fall within this range. Here, my range of IPs would be 192.168.1.100 – 192.168.1.114.

Now, click on the Services tab up top.

Under the DHCP Server section, you can see that there’s a list of “Static Leases” click on the Add button to add a new one.

Enter the MAC address of each computer, give each one a name so you know which is which, and then assign them an IP address. You won’t be able to add the same IP address to two different MAC address, so make sure each MAC has a unique IP. If your version of DD-WRT also has a space to enter the “Client Lease Time,” a safe setting would 24 hours, or 1440 minutes.

That’s it! Be sure to click on both the Save button and the Apply Settings button, and wait for the changes to take effect. The settings should automatically change when each computer’s lease expires, though you can reconnect from each computer if you want the changes to take effect immediately.

Now, whether your computer loses its connect, the router gets power cycled, or the DHCP lease expires, each computer you entered into the list will stick to its assigned IP. Furthermore, you won’t have to manually configure static IPs on each machine! Port forwarding won’t have to be a pain ever again.

Does your router support DHCP reservations? Do you have a more clever use for this system? Share your thoughts in the comments!

READ NEXT

Changing Tcp/ip Dhcp From Manual To Automatic On A Mac Computer

  • › How to Enable Google Chrome’s New Extensions Menu
  • › How to Stop Spammers From Attacking Your Google Calendar
  • › How to Power Off Your Samsung Galaxy Note 10 or 10 Plus
  • › How to Switch from a Windows PC to a Mac
  • › Want to Survive Ransomware? Here’s How to Protect Your PC