Categories
Planning

How to set static ip addresses on your router

There are many reasons that you may need to change and set a static IP address for your IP device, such as a managed switch, wireless router, or outdoor access point. One reason is because an installation scenario doesn’t have an active network with DHCP services. Some other reasons you may need to set a static IP are because you use a dedicated web server, host server, VPN, or VoIP services.

Setting static IP addresses can help to avoid network conflicts which could cause certain devices to stop working correctly. However, in most installation scenarios, users will use a regular network and will not need to use a static IP. Setting a static IP address is an advanced networking function, and a basic, fundamental knowledge of TCP/IP is needed.

In general, statically address devices outside of your DHCP pool range, which in most home networks is your router. For reference, the DHCP pool range for TRENDnet products is usually (but not always) 192.168.10.101 to 199.

1. Access the Control Panel

In the Windows search bar, type in “ncpa.cpl” and then press enter.

If you are not using Windows 10, follow the steps below instead.

  1. On your keyboard, press the “Windows” and “R” keys at the same time.
  2. Enter “ncpa.cpl” in the window that pops up.

Note: Network connections will display the network adapters that are currently connected to your computer.

How to set static ip addresses on your router

2. Select the Network Adapter

Right click on the network adapter that is currently connected to the device that you are trying to configure. Usually, it will be the adapter with the word “Ethernet” in the name.

3. Select Properties

Select “Properties” from the drop-down menu.

How to set static ip addresses on your router

4. Select Internet Protocol Version 4 (TCP/IPv4)

Double-click on “Internet Protocol Version 4 (TCP/IPv4)”.

How to set static ip addresses on your router

5. Manually enter IP address and subnet mask

Select “Use the following IP Address” and then input the following information in the corresponding fields:

IP address: Check the device that you are connected to in order to locate the IP address. The first three sets of digits should match. For this tutorial, we will use IP address 192.168.10.10.

Subnet mask: The subnet mask between the device that you are trying to connect to needs to be the same as your PC. For this tutorial, we will use subnet mask 255.255.255.0

How to set static ip addresses on your router

6. Save Settings

Click the OK button on “Internet Protocol Version 4 (TCP/IPv4) Properties” window, and also click the OK button on “Ethernet Properties” window.

Note: The OK buttons must be clicked in both instances or your settings will not be saved.

7. Revert Back to DHCP

To set your computer back to DHCP, repeat steps 1-4 again. When you get to the “Internet Protocol Version 4 (TCP/IPv4) Properties” window, click “Obtain an IP address automatically”. This will allow your PC to be assigned a random IP address on your network.

Note: The OK buttons must be clicked in both instances or your settings will not be saved.

How to set static ip addresses on your router

Glossary

Operating System
The operating system (often shortened to OS) is the software your computer or mobile device uses to perform basic functions. Microsoft Windows, Apple macOS, and Linux are the most popular operating systems for computers and laptops, with Android and iOS for mobile devices.

Browser
A browser (short for web browser) is a software application that allows you to access the internet. Some of the most popular browsers are Chrome, Safari, Edge, Internet Explorer, and Firefox.

Network Adapter
A network adapter allows a device to communicate and connect to a local area network (LAN), the internet, or other computers. Network adapters can be wired or wireless, and they can be visible or hidden from plain sight.

IP Address
An IP address is a unique identifier for devices that access the internet or devices on a local area network. It uses a string of numbers and/or letters with periods or colons. To identify your IP address, type “what is my ip” into a search engine, like Google or Bing. You can also visit whatismyipaddress.com or whatismyip.com.

Dynamic IP address
A dynamic IP address is an IP address that can change over time. Your IP address may change each time you connect. Most IP address assigned by your ISP will be dynamic IP addresses.

Static IP address
A static IP address (also referred to as a manual IP address or static IP configuration) is an IP address that remains unchanged over time. Your IP address remains the same (or static) each time you connect (from the same location). Your IP address may change if you connect to a different network in a different location.

Jason Fitzpatrick is the Editor in Chief of LifeSavvy, How-To Geek’s sister site focused life hacks, tips, and tricks. He has over a decade of experience in publishing and has authored thousands of articles at Review Geek, How-To Geek, and Lifehacker. Jason served as Lifehacker’s Weekend Editor before he joined How-To Geek. Read more.

How to set static ip addresses on your router

Routers both modern and antiquated allow users to set static IP addresses for devices on the network, but what’s the practical use of static IP addresses for a home user? Read on as we explore when you should, and shouldn’t, assign a static IP.

After reading over your five things to do with a new router article, I was poking around in the control panel of my router. One of the things I found among all the settings is a table to set static IP addresses. I’m pretty sure that section is self explanatory in as much as I get that it allows you to give a computer a permanent IP address, but I don’t really understand why? I’ve never used that section before and everything on my home network seems to work fine. Should I be using it? It’s obviously there for some reason, even if I’m not sure what that reason is!

DHCP versus Static IP Assignment

To help you understand the application of static IP addresses, let’s start with the setup you (and most readers for that matter) have. The vasty majority of modern computer networks, including the little network in your home controlled by your router, use DHCP (Dynamic Host Configuration Protocol). DHCP is a protocol that automatically assigns a new device an IP address from the pool of available IP addresses without any interaction from the user or a system administrator. Let’s use an example to illustrate just how wonderful DHCP is and how easy it makes all of our lives.

Imagine that a friend visits with their iPad. They want to get on your network and update some apps on the iPad. Without DHCP, you would need to hop on a computer, log into your router’s admin panel, and manually assign an available address to your friend’s device, say 10.0.0.99. That address would be permanently assigned to your friend’s iPad unless you went in later and manually released the address.

With DHCP, however, life is so much easier. Your friend visits, they want to jump on your network, so you give them the Wi-Fi password to login and you’re done. As soon as the iPad connected to the router, the router’s DHCP server checks the available list of IP addresses, and assigns an address with an expiration date built in. Your friend’s iPad is given an address, connected to the network, and then when your friend leaves and is no longer using the network that address will return to the pool for available addresses ready to be assigned to another device.

All that happens behind the scenes and, assuming there isn’t a critical error in the router’s software, you’ll never even need to pay attention to the DHCP process as it will be completely invisible to you. For most applications, like adding mobile devices to your network, general computer use, video game consoles, etc., this is a more than satisfactory arrangement and we should all be happy to have DHCP and not be burdened with the hassle of manually managing our IP assignment tables.

When To Use Static IP Addresses

How to set static ip addresses on your router

Although DHCP is really great and makes our lives easier, there are situations where using a manually assigned static IP address is quite handy. Let’s look at a few situations where you would want to assign a static IP address in order to illustrate the benefits of doing so.

You need reliable name resolution on your network for computers that need to be consistently and accurately found. Although networking protocols have advanced over the years, and the majority of the time using a more abstract protocol like SMB (Server Message Block) to visit computers and shared folders on your network using the familiar //officecomputer/shared_music/ style address works just fine, for some applications it falls apart. For example, when setting up media syncing on XBMC it’s necessary to use the IP address of your media source instead of the SMB name.

Any time you rely on a computer or a piece of software to accurately and immediately locate another computer on your network (as is the case with our XBMC example – the client devices need to find the media server hosting the material) with the least chance of error, assigning a static IP address is the way to go. Direct IP-based resolution remains the most stable and error free method of communicating on a network.

You want to impose a human-friendly numbering scheme onto your network devices. For network assignments like giving an address to your friend’s iPad or your laptop, you probably don’t care where in the available address block the IP comes from because you don’t really need to know (or care). If you have devices on your network that you regularly access using command line tools or other IP-oriented applications, it can be really useful to assignment permanent addresses to those devices in a scheme that is friendly to the human memory.

For example, if left to its own devices our router would assign any available address to our three Raspberry Pi XBMC units. Because we frequently tinker with those units and access them by their IP addresses, it made sense to permanently assign addresses to them that would be logical and easy to remember:

The .90 unit is in the basement, the .91 unit is on the first floor, and the .92 unit is on the second floor.

You have an application the expressly relies on IP addresses. Some applications will only allow you to supple an IP address to refer to other computers on the network. In such cases it would be extremely annoying to have to change the IP address in the application every time the IP address of the remote computer was changed in the DHCP table. Assigning a permanent address to the remote computer prevents you from the hassle of frequently updating your applications. This is why it’s quite useful to assign any computer that functions as a server of any sort to a permanent address.

Assigning Static IP Addresses the Smart Way

Before you just start assigning static IP addresses left and right, let’s go over some basic network hygiene tips that will save you from a headache down the road.

First, check what the IP pool available on your router is. Your router will have a total pool and a pool specifically reserved for DHCP assignments. The total pool available to home routers is typically 10.0.0.0 through 10.255.255.255 or 192.168.0.0 through 192.168.255.255 . Then, within those ranges a smaller pool is reserved for the DHCP server, typically around 252 addresses in a range like 10.0.0.2 through 10.0.0.254. Once you know the general pool, you should use the following rules to assign static IP addresses:

How to set static ip addresses on your routerEver hear of a Static IP address? You might not have, but it’s one of the more powerful techniques you can employ to take control of devices connected to your home network and, more importantly, use them to their maximum potential. If a connected device doesn’t have a static IP address, then your router is free to choose whatever IP address it wants (typically the lowest available at the time) during the normal IP release and renewal process that all routers perform on a regular basis. Depending on the amount of time your router “leases” a device an IP address, this could mean that your Wi-Fi-enabled Smartphone might have a different IP address each and every time you come home from work and connect to your network.

These changes won’t make a lick of difference when you’re just surfing the Internet, but they could greatly impact your ability to use more advanced applications within your network — including apps that stream music or video to your phone, peer-to-peer file sharing, and apps like UltraVNC that remote-connect you to your desktop or laptop, or the process of backing up files to a network storage device.

In short, if you use an application that requires you to manually type in an IP address for the application to work within your network, then this IP address should always match a specific device on your network. Take peer-to-peer file sharing, for example. If, for whatever reason, you can’t get Universal Plug and Play-based Port Mapping to work between your software and your router, you’re going to have to manually forward ports from your router to your computer in order to maximize your download and upload speeds. You’ll have to keep on editing your port forwarding settings in your router configuration screen if your laptop keeps receiving a new IP address once per week. Yuck.

How to set static ip addresses on your router

Given how simple it is to do — a far easier process than trying to do it from Windows, I note — there’s really no reason why setting up a static IP address from your outer shouldn’t be one of the things you do when configuring your network. It’s easy, it’s quick, and it leads to a lifetime of networking simplicity and application support.

Here’s how to do it in five easy steps:

  • Fire up your D-Link router’s Web configuration screen and click on its Setup tab.
  • From there, click on Network Settings on the sidebar.
  • Scroll down to the Add DHCP Reservation section, check the Enable box and add your device’s name.
  • Add your device’s IP Address and MAC Address. The IP Address you choose will need to fall within your router’s DHCP UP Address Range (see the DHCP Server Settings section directly above). You should be able to locate your devices MAC Address on the bottom of the device itself.
  • Click Save.

Fiona Hutcheson

Hi. I’m Fiona. I’m a Consumer Marketing Manager at D-Link and I love what I do. I also love a lot of other things. Things like alphabetizing, Breaking Bad, Grease II (I know), Japan, margaritas, music, personality typology (I’m an INFP), pumpkin scented candles, puns, Radiolab, red wine, San Francisco and most importantly: food. I. Love. Food. So much so that I made a food map. I’m really good at making really bad jokes, I’m always ready for boot weather, I can’t keep my plants alive and I probably left my straightener on.

You can configure your router to assign a static IP address configuration automatically without changing the Windows 10 settings, and here’s how to do it.

How to set static ip addresses on your router

  • Tweet
  • Share
  • Submit

On Windows 10, a static IP address is a recommended configuration for many scenarios, such as when sharing files, printers, media, and other services.

If the device doesn’t include a static IP address, services will eventually stop working. Usually, because computers connected to a network receive their Internet Protocol (IP) address configuration from the Dynamic Host Configuration Protocol (DHCP) server, which are dynamic and temporary.

Typically, you would assign a static IP address using the Windows 10 settings, but you can also set the dynamically assigned networking configuration from the DHCP server as the static configuration using the router settings.

In this guide, you’ll learn the steps to configure your router’s DHCP server to assign a static IP address to a computer without the need to change the networking settings on Windows 10.

How to convert dynamic IP address to static using binding

Use these steps to make a DHCP assigned IP address configuration static on Windows 10:

Open Router web interface.

Click on Network Map from the left pane.

Click on the Clients button.

Under the “Client status list” section, click the computer you want to change its configuration.

How to set static ip addresses on your routerASUS router computer list

Turn on the MAC and IP Address Binding toggle switch.

How to set static ip addresses on your routerMAC to IP address binding option on ASUS router

Click the Apply button.

Once you complete the steps, the DHCP server will always assign the same TCP/IP address configuration to the device you specified.

How to assign static IP address using DHCP server

Use these steps to configure the DHCP server on your router to assign a static IP address configuration to a Windows 10 device:

Open Router web interface.

Click on LAN from the left pane.

Click on the DHCP tab.

Under the “Manually Assigned IP around the DHCP list” section, use the drop-down to select the MAC address of the device you want to configure.

In the “IP Address” section, specify the static IP address you want the computer to use.

Click the Add (+) button.

How to set static ip addresses on your routerDHCP assign static IP address automatically

Click the Apply button.

After you complete the steps, every time the device you specified connects to the network the DHCP server will assign the TCP/IP configuration without the need to change the Windows 10 settings.

Pureinfotech relies on your support. Consider contributing with the button below to keep bringing great content.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

By Jeremy S. Cook

Freelance Tech Journalist / Technical Writer, Engineering Consultant

Jeremy Cook Consulting

February 09, 2021

In a previous article, I outlined how to connect to your Raspberry Pi via SSH, and noted how you can assign a Static IP address to allow you to consistently find it.

In another post I talked about how to flash devices with Tasmota for cloud-free home automation. You can then use a program called Angry IP scanner to identify its location. It’s apparently possible to assign an IP address for these devices as well, though it has some potential drawbacks depending on your router.

This would be fine if you have one or two “things” on your network, but figuring out the details of assigning an IP address for each and every one of your connected devices can be cumbersome to say the least. Plus, it can reportedly cause issues in some situations. An arguably better solution is to assign, or reserve, IP addresses through your router.

Such a setup takes care of potential conflicts, and gives you a unified interface from which to make changes. Your router and configuration may be different than what’s outlined here, but the concepts should be widely applicable.

First you’ll need the IP address of your router. One place to start is by physically looking at the actual router, which on the back of mine says “http://192.168.1.1.” It also gives the router login username as “admin,” and the password as, you guessed it, “admin.” It also shows my WiFi password, which, for obvious reasons, I will keep to myself. While many router addresses will start with 192.168, as outlined here, there are a wide range of defaults. So if it’s not printed on the machine, taking a guess isn’t generally the best technique.

Another way to find the router’s IP address is to enter ipconfig in the Windows command prompt, and look for the default gateway. On a Mac terminal you can use netstat -nr | grep default. Finally, if you’d like an overall picture of your network, fire up Angry IP Scanner (or whatever scanner you prefer), and you should be able to pick out the router. Mine comes up as “SAGEMCOM.”

With this address in-hand, navigate there via your browser, where you should find a login screen in which your credentials can be entered. Hopefully you were able to find this printed on the router itself, but if not, a bit of web searching may yield the answer, as it seems the default passwords are generally pretty boring. Note that what follows is based on my router, so your experience may be somewhat different.

How to set static ip addresses on your router

(Image Credit: screencap)

Once logged on, you’ll be presented with a variety of options. For my particular device, there’s a listing for wired Ethernet, as well as 2.4 and 5.0GHz WiFi. While not as fast, 2.4GHz signals tend to travel further, and are compatible with more devices, so this “spectrum duality” can be advantageous if you know how to set things up.

For each connection type, there’s a listing of actual devices, such as “Jeremys-MBP” under Ethernet for my MacBook Pro, a plethora of tasmota listings under WiFi 2.4GHz, and what appears to be my phone under WiFi 5.0GHz. If you click on one of these devices you’re taken into an info screen, where there are interesting specs including signal strength and the manufacturer, as well as the IP address with a “Reserve IP” button beside it (or “Cancel reservation” if you’ve already set one up). Click this button to hold the reservation, which keeps the IP address in one place where you can find it.

How to set static ip addresses on your router

(Image Credit: screencap)

Besides the info screen, there are several other device tabs, including a “parental control” where you can cut off different devices at certain times. If whoever you’re restricting is especially clever, you might need to also change login credentials, which are available under the Access Control > User menu from the home screen.

While accessing your router is a great way to keep track of your devices address-wise, it’s worth poking around to see what else you can do. I was surprised to find a media tab under router settings, which allows you to attach a drive for file sharing. There’s also a LED Control tab available to turn the activity lights off. Certainly a better option than the “traditional” masking tape method.

So if you need a centralized way to keep your IP addresses organized, be sure to check out your router’s controls. It’s a lot easier than accessing a large number of devices separately, and you may find a few settings that are helpful for a variety of other reasons!

When assigning static IP addresses, you want to assign them outside the
DHCP lease pool, and that generally means excluding a portion of the range
from the DHCP pool. If you assign a local static IP that is in
the DHCP lease pool, the DHCP service will not know about it, and may
potentially assign the same IP address to a different client device,
causing an IP address conflict and communication problems for both
devices.

For instance; Router at 10.1.1.1, with IP leases given out starting at
10.1.1.100. So, the first device to request an IP address gets 10.1.1.100,
next device gets 10.1.1.101, etc.

In this case, the addresses 10.1.1.2-10.10.1.99 are available for static
IP address assignments, like servers (e.g. servers starting at 10.1.1.10,
.11, .12, etc., printers at 10.1.1.20, .21, .22, etc.).

How to set static ip addresses on your router

If you manually configure a device (e.g. printer, server, access point,
etc.) to 10.1.1.110, then a network with than 10 other dynamic
devices on your network, one of them will boot up, ask for an IP from
DHCP, then DHCP may lease out 10.1.1.110 because it doesn’t know it
has already been taken..

Some DHCP services have an “exclusion range” into which you
enter IP addresses they are never to use, because you’ve programmed
some devices locally with those IPs. (i.e. servers are commonly locally
assigned IPs not through reservations). Usually, devices that need to be
accessed, either locally or remotely, require static IP addresses.

How to set static ip addresses on your router

One can also use the DHCP service for “Reservations”,
where a client device is always assigned the same static IP address.
This is typically used for printers or other devices that may not support
being programmed with a static IP address, but a static IP address for the
device is desired for monitoring or access.

If you need to spoof your IP address, there are a few ways to do it

How to set static ip addresses on your router

  • Tweet
  • Share
  • Email

What To Know

  • Windows: Open Control Panel >Network and Sharing Center >Change adapter settings and follow the directions in this article.
  • Mac: Go to System Preferences >Network. Select a network and choose Advanced. Go to the TCP/IP tab, select Manually. Enter info.
  • iOS: Open Settings >Wi-Fi, tap the circledi next to the network, select Configure IP >Manual. Set up the new IP.

This article explains how to change your IP address manually by switching from the router’s assigned DHCP address to a static one on Windows, Mac, iOS, and Android. It also covers how to change your router’s public IP address, which appears as the public IP address of every device on the network unless you use a VPN. You can also get a new IP by releasing and renewing your IP.

Change a Windows Computer’s IP Address

If your Windows computer has the IP address set up as a static one, change the IP address as follows:

Open Control Panel and select Network and Sharing Center. If you don’t see it, first select Network and Internet.

How to set static ip addresses on your router

Choose Change adapter settings.

How to set static ip addresses on your router

Double-click the connection that you want to change the IP address on. For example, to change the wireless adapter’s IP address, double-click the one that mentions Wi-Fi.

Select Properties.

How to set static ip addresses on your router

Select Internet Protocol Version 4 (TCP/IPv4).

How to set static ip addresses on your router

Either alter the IP address or select Obtain an IP address automatically to have the router control the IP address.

How to set static ip addresses on your router

If you leave the setting to obtain an IP address automatically, the router automatically assigns an IP address to the computer. However, when you enter the IP address information, the computer’s IP address stays static.

Leave Obtain DNS server address automatically selected. Otherwise, your DNS server settings remain empty, which may cause other connection issues.

Change a Mac Computer’s IP Address

Here’s how to change the IP address on a Mac.

Open the System Preferences app on the Mac and select Network.

How to set static ip addresses on your router

Select your Wi-Fi network in the left panel and click Advanced.

How to set static ip addresses on your router

Select the TCP/IP tab.

How to set static ip addresses on your router

Select Manually in the drop-down menu next to Configure IPv6 (or iPv4) and enter the information for the new IP.

How to set static ip addresses on your router

Change a Phone’s IP Address on iPhone

You can also change the IP address on a mobile device such as the Apple iPhone as follows:

Open the Settings app and select Wi-Fi.

Tap the small (i) next to the network and select Configure IP.

Choose Manual. Enter the network details manually, such as your IP address and DNS information.

How to set static ip addresses on your router

The choice of a specific local IP address does not affect the network performance in any meaningful way.

Change a Phone’s IP Address on Android

It’s also possible to change an Android device’s IP to a static IP on your network.

Android phones can vary depending on the manufacturer of the device. Some manufacturers alter the Android OS to meet their specifications, which means the steps you need to follow may differ slightly from those listed here. These steps should apply to most Android devices.

Go to Settings > Network & internet > Wi-Fi.

Tap the network that you want to change the IP address for.

Select Forget.

Tap the network from the list of available Wi-Fi networks.

Select Advanced options.

Tap DHCP.

Choose Static.

Scroll down and fill out the IP address fields.

Enter the Wi-Fi password at the top of the screen.

Select Connect.

Change a Router’s IP Address

To change the router’s IP address, log in to the router as an administrator. From the control panel, change the IP address to whatever you like. However, this IP address is usually changed when there’s a problem with it. The default IP address should suffice for most situations.

How to set static ip addresses on your router

How to Change Your Public IP Address

An external public IP address is the address used to communicate with networks outside of your own, such as those on the internet. Use a VPN to mask or hide your real IP address. You can also use a web proxy to mask your public IP.

Smartphones, Laptops & Tablets, Wearables and More

About Huawei, Press&Event, and More

Products, Solutions and Services for Enterprise

Products, Solutions and Services for Carrier

  • Africa
  • Asia Pacific
  • Europe
  • Latin America
  • Middle East
  • North America
  • Global
How to set a static IP address for a Wi-Fi connection

Swipe down from the status bar to open the notification panel, then touch and hold the Wi-Fi icon to access the Wi-Fi settings screen. Perform the following:

  • For a connected Wi-Fi hotspot, touch and hold it, and go to Modify network > Show advanced options > IP settings > Static .
  • For a disconnected Wi-Fi hotspot, touch it, and go to Show advanced options > IP settings > Static .

Refer to the settings on other devices that are connected to the Wi-Fi network to set the parameters. For example:

IP address: 192.168.1.*** (“***” can be any number from 2 to 254, but should differ from those of other devices connected to the Wi-Fi network.)

Address prefix length: 24

Domain name 1: 114.114.114.114

Domain name 2: 8.8.8.8

When setting the static IP address, the connect button may be grayed out. Simply re-enter the router password.

IP Addresses

Every computer that connects to the Internet has to have an IP address assigned to it. IP addresses identify where the computer is located on the Internet so that Web servers and mail servers can send data to the correct computer. An IP address is a series of four numbers separated by dots:

PUBLIC AND PRIVATE IP ADDRESSES

There are two types of IP addresses – public and private. Public IPs are used by routers and by computers connected directly to DSL modems without a router. Private IP addresses are special IP addresses that are known only to a router and its home network. A Web server will not deliver Internet data to a private IP address. It will deliver the data to the router (which has a public IP address) and then the router will deliver the data to the computer that has the private IP address.

Routers are special because they have two IP addresses. An IP address is assigned to each of the router’s two “interfaces”. The first router interface is called the WAN (Wide Area Network) interface. This is the side of the router that faces the Internet and has a public IP address. The second router interface is called the LAN (Local Area Network) interface. This is the side of the router that faces the home network’s computers and has a private IP address.

How to set static ip addresses on your router

ASSIGNING IP ADDRESSES TO COMPUTERS DYNAMICALLY

One of the primary jobs of a router is to assign IP addresses to the computers on a home network. The router has a “pool” of IP addresses that it keeps track of. When a computer connects to it and asks for an IP address, the router picks an IP address from the pool and assigns it to the computer. The router makes sure that two computers are not assigned the same IP address. This process of computers asking for an IP address from the router is called “dynamic” IP address assignment. It uses a network protocol called DHCP ( Dynamic Host Configuration Protocol).

After the computer has used an IP address and has disconnected from the router, the address can be put back into the pool of available IP addresses. The next time the computer asks for an IP address, it might get the same IP that the router assigned to it before, or it might get a different one. When the router keeps track of IP address assignments, that means that a human does not have to do it. It saves time and it’s more accurate. It also means that you do not have to configure your computer’s IP address manually. Computers are set by default to ask for an IP address dynamically.

STATIC IP ADDRESSES

The opposite of a dynamically assigned IP address is a static IP address. A static IP address has to be manually configured on the device that is going to use it. If you are connecting only one computer to your DSL modem, it will use the static IP address that comes with your DSL service (please see the instruction sheet in your DSL kit for which IP address you have been assigned). You will configure your computer to use that IP address for as long as you have the DSL service. The static IP address you will be assigned will be a public IP address, which means that data can be sent directly to your computer.

How to set static ip addresses on your router

This setup has security implications. If you have a static IP address and you do not have a device called a “firewall”, your computer is more vulnerable to hackers. A firewall examines the Internet traffic and decides if the traffic is good or bad. It can protect your computer from dangerous Internet traffic and hackers. It’s a good idea to use a router even if you only want to connect one computer to the Internet, because a router will have a built in firewall.

How to set static ip addresses on your routerOne of the most common questions we get from resellers and customers is – don’t IP addresses change? If so how can you target digital ads at households using an IP address? To fully understand the nature of IP address assignment, you need to know a little more about DHCP or Dynamic Host Configuration Protocol. DHCP is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway (Source Microsoft TechNet). Or put more simply DHCP is the process your Internet Service Provider (ISP) uses to assign an IP Address to your home or business.

Static vs. Dynamic IPs

Your ISP can either configure your IP address to be static (it stays the same) or dynamic (it can change). Most purchasers of business class internet have static IP addresses assigned to them since servers and a number of business applications or Virtual Private Networks (VPNs) typically require the same IP address every day in order to operate properly. In fact most business once they reach a certain size will have IP addresses directly assigned to them from ARIN (American Registry of Internet Numbers, which is the governing body for IP address assignment in the United States), instead of their ISP. These IP address assignments can total hundreds or even millions of IP’s for large businesses. Most residential customers have a dynamic IP address, meaning that it can change. These IP addresses are assigned by your ISP via the basic process outlined below. When your router receives a non-static DHCP assigned IP address from your ISP there is a pre-defined time limit built into the assignment, this time limit is called a DHCP Lease. The typical lease time for ISP’s in the United States is roughly 7 days. However in most instances your router will renegotiate this lease prior to its expiration. During the lease renegotiation, it is very common for the same IP to be reassigned to your router. In fact our research has discovered many homes that have theoretically dynamic IP’s, but have held the same IP for multiple years. Because of this recursive reassignment the typical location targeted by El Toro has held the same IP address for 7 months.

What is my IP Address?

Just in case all of this was not confusing enough… there are actually TWO different types of IP addresses in most homes and offices.

  1. There is a public IP, sometimes referred as a gateway IP. The gateway is the IP address assigned by your ISP and it actually resides on your router or firewall. This is the only IP address which is seen by the world.
  2. Additionally, your router will assign an internal IP address to each connected device on your Local Area Network (LAN). These devices “behind” your router/firewall need an IP to communicate with each other, as well as communicate to the router so they can connect to the internet. Even though you have many devices on your LAN, they often all share the same public IP address

Often times, people do not know what their public IP is, as you do not see it on your device. If you want to find what your current external IP address is, you can go to www.whatismyip.com. The IP on your local device behind the router is a private IP address, and isn’t necessary to share, as no one can use it unless they are directly on your LAN

How Does El Toro Use This Information

The El Toro system is based on observations of multiple data points. We analyze transit data to develop a baseline vector on targeted households or buildings. We then compare this to billions of points of transaction data we acquire from data partners, at this point (once we observe multiple transactions) our algorithm determines that we can accurately target a house or building based on its public IP address. Our system typically matches about 50% of households for IP targeting; these are the households that we have the greatest confidence in the match between the IP address and location. If an IP is highly dynamic it simply never makes the cut to be included in an El Toro targeting segment.

If you have any further questions about IP addresses or how to use them to for advanced targeted of your digital advertising campaigns, please contact us.

How to set static ip addresses on your routerSource: Windows Central

The Raspberry Pi continues to be one of the most impressive computers on the planet. Not for its power, but for the possibilities. This thing can be programmed with a mindboggling number of purposes, from small servers and NAS to controlling your home automation or even just a small Linux computer to learn some new IT skills.

Whatever you want to use it for, it’s a pretty solid bet that you’ll need a static IP for it. Unless you’re using something like the Raspberry Pi 400 hooked up to a display, you’re likely using it headless. That is, without a GUI. In the case of the Raspberry Pi Zero, this is even more likely.

Setting a static IP for your Pi is really easy, and doesn’t have to involve your home router which sometimes can mess it up anyway. Case in point, the last Raspberry Pi I set up on my home network I assigned a static IP in the router settings, and it just sort of forgot about it and assigned a totally different IP to my ad blocker so it didn’t actually work properly. That’s why you should follow these steps and set it up on the Pi itself for the best results.

Setting up your Raspberry Pi

Source: Windows Central

This guide assumes that your Raspberry Pi is already set up and you’ve flashed it with the Raspberry Pi OS already. If you haven’t and need a helping hand, we have a guide on setting up a headless Raspberry Pi using nothing but your Windows PC.

Before you can set a static IP for your Raspberry Pi you will need to know what IP address it’s currently on. At this point, the quickest method is probably to log into your router’s software and grab it there, especially if you’re doing a headless setup. You’ll need the IP address to connect over SSH and do the rest.

With the IP address in hand, open a terminal (WSL or PowerShell is fine), and connect with the following command:

Accept the fingerprint by typing yes and hitting enter. If this is the first boot you’ll need to log in with the default password, which is raspberry. It’s a good idea to change this, but for the purposes of what we’re doing here you don’t need to and can just carry on with the next step.

How to set a static IP on your Raspberry Pi

To set the static IP properly you’ll need a few things. The first is the current IP of the Pi which you’ve already got, the next is your router’s gateway IP and the current DNS IP address. We can get these last two from the Raspberry Pi terminal.

Router gateway IP address

Enter this command into the terminal:

Note down the first IP address given as this is the one you want.

Router DNS IP address

Again in the terminal, enter this command:

This will open a file in the nano text editor and the IP address you’re looking for is immediately after nameserver. Note this down and press Ctrl + X to close out.

Setting the static IP address

Source: Windows Central

The final step is to set the static IP address for your Raspberry Pi. It involves appending some details to the end of a configuration file. You must make sure you either use the IP address already given to your Raspberry Pi or that you’re using an address that is currently vacant.

To begin, enter this command:

This will open up the dhcpcd.conf file in the nano text editor. Use your cursor keys to navigate all the way to the bottom.

Make sure not to change any of the existing items in this file, then at the bottom, you’ll be entering a block of text following this template:

You’ll replace the terms in capitals with the following:

  • NETWORKTYPE — Type either eth0 for ethernet or wlan0 for wireless.
  • YOURSTATICIP — Whatever static IP you want to assign to the Raspberry Pi.
  • YOURROUTERIP — The gateway IP address acquired above.
  • YOURDNSIP — The DNS IP address acquired above.

When finished you’ll end up with something that looks a bit like this:

Now, press Ctrl + X followed by Y to close and save the file. You’ll need to reboot the Pi for the changes to take effect, which you can do with the sudo reboot command.

Give it a minute to reboot, reconnect over SSH, and then use the hostname -I command to confirm the IP address matches what you set above. It should match, and now your Raspberry Pi should retain this IP any time it boots. Ensure you don’t assign anything to this IP address either manually or through your router settings, and you should be good to go!

5 reasons why Microsoft canceling ‘Project Andromeda’ was the right choice

Microsoft’s Project Andromeda got a full unveiling thanks to our reporting. While many fans of Microsoft lament the decision to cancel the project, there are very few reasons to believe it would have worked out. Here are five justifications for why killing the OS was a good idea.

Join us LIVE for the Windows Central Video Podcast today at 2:30PM ET

We’re LIVE with the Windows Central Video Podcast today at 2:30pm ET, make sure you’re there!

We take a look at Microsoft’s canceled Andromeda OS project

Ever wondered what Microsoft’s canceled version of Windows for the Surface Duo was going to be like? Well wonder no more, as we’ve got a very first hands-on look at a pre-release build from mid-2018 running on a Lumia 950. We’ve already shown you what Andromeda OS looked like in recreated mockups, so now it’s time to see the real thing running on video.

Best motherboards for Intel Core i5-12600K 2022

The Intel Core i5-12600K is a great mid-range processor that also acts as the baseline entry for the 12th Gen family. It’s a 10-core processor that offers considerable (and surprising) performance at a low price, so long as you pair it up with a great motherboard.

In this article, we will show you how to quickly change your internal IP address from an automatically allocated address (allocated by DHCP on your local router) to a statically set IP address.

Please not that this article refers to internal static IP addresses only.

Being able to use a statically set internal IP address may be beneficial if you are running specific services on your PC that require the IP address to remain the same. This can include file sharing in a local network, as you will need to map the drive and in order to do this the best practice would be to have a static IP on the “file sharing” PC. This is very useful in enterprise environments.

Please note that you will need administrative access to the computer in order to make this change.

Step 1) Press the Windows Key and the letter “R”. This will display the “Run” command box.

How to set static ip addresses on your router

Step 2) Enter the command “ncpa.cpl” and then click the “OK” button.

Step 3) You will then be presented with the “network connections” area as per the below.

How to set static ip addresses on your router

Step 4) Double click on the option that is relevant for you, if you only use WiFi then double click “WiFi”, if you use an Ethernet cable to connect to your router then you will need to double click “Ethernet” (this may also have “local area connection” as an option which is another term for the “Ethernet” option).

Step 5) This will then bring up the “Status” screen. Click “Properties” (This is the stage for which administrative access is required).

Step 6) Double Click on “Internet Protocol Version 4” as per the below.

How to set static ip addresses on your router

Step 7) You will then get this prompt. “You can get IP settings assigned automatically if your network supports this capability. Otherwise, you need to ask your administrator for the appropriate IP settings.”

How to set static ip addresses on your router

You will need to select “Use the following IP Address” and put in the static details you would like. It’s important that all three of the first boxes (IP Address, Subnet mask and default gateway) are filled in otherwise you won’t be able to access the network properly. You will also need to fill in at least the top box of the “DNS” area in order to have a proper connection and be able to resolve domain names.

Step 8) Press OK to all of the boxes and restart the PC, once complete, the static IP will be in place.

Managed Networks

Private networks for large or multi-site businesses paired with monitoring, maintenance & readily available backup.

Found this useful?

Our team share their how-tos, trouble shooting guides and tips for getting the best from your business connectivity in a monthly email round up.

In this article, we will share how to assign static IP addresses to Omada devices (EAPs, Jetstream Switches) with Omada SDN Controller.

Omada Devices will obtain IP addresses from the DHCP server, which is usually provided by the router. Once a static IP address is assigned, the Omada Device will always use the static IP address and will no longer request an IP address from the DHCP server.

If you wish, you can also use the Jetstream Switch as the DHCP server, but never enable DHCP servers on both the switch and the router in the same network.

For Jetstream Switches Managed by Controller

Go to Devices—>Click your Switch—>Config—>VLAN Interface, click Edit button of the Management VLAN interface (LAN, by default), set Static as the IP Address Mode, and then assign the static IP address.

How to set static ip addresses on your router

For Omada EAPs

Go to Devices—>Click your Switch—>Config—>IP settings, select Static as the Mode, then assign the static IP addresses.

How to set static ip addresses on your router

Дополнительная информация

  • [Общее] litewave-switch
  • [Общее] Omada
  • [Общее] TP-LINK EAP series Business Wi-Fi Solution

Был ли этот FAQ полезен?

Ваш отзыв поможет нам улучшить работу веб-сайта.

What’s your concern with this article?

  • Dissatisfied with product
  • Too Complicated
  • Confusing Title
  • Does not apply to me
  • Too Vague
  • Other

Как мы можем это улучшить?

Спасибо

Спасибо за обращение
Нажмите здесь, чтобы связаться с технической поддержкой TP-Link.

Подписаться на рассылку Мы с ответственностью относимся к вашим персональным данным. Полный текст политики конфиденциальности доступен здесь.

  • ‘)” data-event=”social share” data-info=”Pinterest” aria-label=”Share on Pinterest”>
  • ‘)” data-event=”social share” data-info=”Reddit” aria-label=”Share on Reddit”>
  • ‘)” data-event=”social share” data-info=”Flipboard” aria-label=”Share on Flipboard”>

How to set static ip addresses on your router

Related

  • How to Configure a Linksys Router With Firewall Hardware
  • How to Install a Wireless Printer With an IP Address
  • How to Add a Second Linksys Router to a Network
  • How to Connect a Printer via Citrix
  • How to Install a Trendnet Wireless Router

A static IP address gives a fixed address to your computer on the local network at your business. Port forwarding is used by computers on the Internet to connect to a specific device on your internal network. To set up port forwarding, you must assign specific ports or a range of ports to a specific IP address.

Assign a Static IP Address to a Computer

Open Windows Control Panel and navigate to Network Connections. You may have one or more connections listed here. For example, you might have both a wireless network connection and a wired local area connection, depending on your network setup.

Right-click the connection that you use to connect to the Internet, and then click “Properties.” Under “This connection uses the following items,” click “Internet Protocol (TCP/IP),” and then click “Properties.”

Click “Use the following IP address” on the Internet Protocol (TCP/IP) Properties dialog box. This setting makes IP address related fields available.

Type a specific IP address in the IP address field. This address will depend on the starting IP address specified under Setup in your router. For example, if your starting IP address is 192.168.1.50 and the maximum DHCP users specified are 20, you can assign an address such as 192.168.1.55. The last two digits should be in the range of 50 to 70.

Enter the Subnet Mask specified in your router setup in the Subnet mask field of the Internet Properties dialog box. Similarly, enter the Local IP Address of your router in the Default Gateway field. Click “OK.”

Forward a Port to the Computer

Open a Web browser on your computer and type the router address in the browser’s address bar. Most routers come with 192.168.1.1 as their default address. If you have not used this interface earlier, enter the default username and password supplied by the router manufacturer to log on to the router.

Browse to the port range forwarding page. This page could be under the Applications and Gaming section of the router.

Enter the port you want to forward. You can also enter a range of ports — for example 80 to 85 — to the IP address. In the IP address column, enter the IP address that you added to the computer. Make any other changes required to enable the setting and then save the changes.

Prasanna Bidkar is co-founder and partner at RightMix Technologies, and regularly blogs on social media and technology for small business owners. Bidkar has a Master of Arts in English (technical writing) from Oklahoma State University and an undergraduate degree in industrial engineering. He is coauthor of a “Wiley-IEEE”-published book on information overload.

Many of POSIM services communicate over your local area network (LAN) using their IP Address. For best results, you should set up any server functioning device with a static IP address. These devices include:

  • POSIM / PayStream Server Computer
  • Each Payment Terminal Device
  • Networked Printers

A static IP address will ensure that the device always keeps the same IP address even if the network or device is restarted. Continue reading below to learn more about the terminology building up to an understanding of a LAN device static IP address.

What is an IP address?

Each device connected to your network is assigned an IP, or Internet Protocol, address. This is comparable to the physical street address of a home. An internal IP address typically has the form of 10.0.0.0, 172.16.0.0, or 192.168.0.0. There are basically 4 groups of up to 3 numbers separated by a dot: xxx.xxx.xxx.xxx. This address is used by the router and other network devices to communicate. The router keeps track of each address so it knows where to pass information over the network. Typically a router is setup with a DHCP server that will assign IP addresses as devices are connected.

What is a DHCP server?

A DHCP, or Dynamic Host Configuration Protocol, the server is used to assign IP addresses to network devices. Most, if not all, home or small business level routers come with a DHCP server built in. Typically the DHCP server is setup with a range of IP addresses to assign. For example, the range could be from 192.168.0.1 to 192.168.0.100. This would accommodate for 99 addresses being assigned. As devices come and go on the network, the DHCP will provide the dynamic IP addresses with an expiration date.

What is a Dynamic VS Static IP Address?

The typical network setup is dynamic by default. This means that your router’s DHCP server will provide an address that is not guaranteed to be the same after a device or network is restarted. Each dynamic address is assigned with an expiration date. Which means that the assigned IP address will only be guaranteed for a limited time. Once that expiration date is met, and that device is no longer using it, the IP address is free to be re-assigned to another device. To prevent an IP address from changing or being used by another device one can setup a static IP address.

What is a static IP address?

Simply put, a Static IP address is one that does not change after devices or network are restarted. For example, you can assign a static IP address of 192.168.0.5 to your POSIM Server that will not change. So your client computers can consistently use that address to connect to the server.

How can I give my servers or devices a static IP address?

There are a few main methods used to assign a Static IP address to a device. We are, unfortunately, not able to provide specific instructions for how to set this up with any particular router or networking equipment. There are simply too many possible hardware combinations to provide that kind of detail. However, most networking companies will provide support for these features in their devices. We are providing this information for you to have a better understanding and to be able to more effectively communicate with a network professional.

Set Device IP Manually outside of DHCP Range

As mentioned previously, a DHCP Server will be set up to provide a range of dynamic IP addresses. In the example above the range was from 192.168.0.1 to 192.168.0.100. Essentially we are saying that there are 99 potential devices that will be on our network. Most routers are able to handle many more devices than that. On a computer or device, you can basically request an IP address. If the requested address is within the range of the DHCP server there is the potential that the requested address is already taken. So to get around this, you can assign an IP address that is outside the DHCP range. Continuing the example above, you could set the manual address for a device to be 192.168.0.105 which is safely outside the DHCP range, but within the routers limits. Typically a router can handle up to 254 addresses within the same subnet. In this case, the max address could be 192.168.0.254. As you can see, this provides plenty of addresses that can be set outside the DHCP range. As long as you are setting up your devices with a unique address this method is fairly easy and works great.

Set Router’s DHCP Server to Assign a Static IP

Every device’s network adapter has a MAC, or Media Access Control, address. (MAC addresses are also known as hardware addresses or physical addresses.) This is comparable to the GPS coordinates of a physical location. A MAC address has the form of “01-23-45-67-89-ab” or “01:23:45:67:89:ab”. There are basically six groups of two hexadecimal digits separated by hyphens (-) or colons (:). This address uniquely identifies a network adapter such as an ethernet port or wifi chip. This MAC address can be used to assign a static IP to the device. Basically, you would log into your routers configuration settings and tell the DHCP server that when it sees a specific MAC address to assign the device with a specific IP address. When a device tries to connect to a network, it tells the router its MAC address and the router will either assign new dynamic IP, or it will assign a specific static IP address if the MAC address matches the one setup.

Set Router’s DHCP Server lease expiration to maximum

Many routers provide an option for setting the DHCP server lease expiration period. For example, the expiration could be set to months or even years. This means that once the DHCP server hands out an IP address it won’t be set to expire for a long time and it will protect the address for a specific device. Just to clarify, this method will not technically be providing static IP addresses, but it will prevent the dynamic addresses from expiring and this can dramatically decrease the likelihood of an IP address changing. It may also be helpful to plug your router into a UPS, or Uninterruptible Power Supply, which is basically a backup battery so that if the power goes out, or flickers, the router will stay on and will be able to keep its list of DHCP addresses and their lease expiration.

Document number: LSfaqXP.004
Copyright (c) 2001-2005 1stWorks Corporation. All rights reserved.

Disclaimer: This information is provided to help you configure your system so that you can use hotComm, IM-Live, and ezPeer. 1stWorks Corporation takes no responsibility for any changes you make to your network or router by using these instructions or from errors in these instructions.

We strongly advise that you consult with your network and router administrators before making any changes.

Each computer in a network has its own internal IP address. That IP address may be static, which means that it never changes. Or, as is likely if you share an Internet connection with other computers, the internal IP address may be assigned dynamically and may change from time to time.

Note: in a network configuration, the internal IP is not the same as the IP assigned by your ISP. The IP assigned by your ISP can be either static or dynamic.

When you are opening ports to allow incoming connections to your computer, your computer must be assigned a static internal IP address, to ensure that the incoming connections always go to the correct computer.

Current IP Address

Find your current IP address and whether it is static or dynamic:

  1. Open Windows Start menu.
  2. Select Run. Type: command and click OK.
  3. At the blinking cursor, type: ipconfig /all and press Enter.
  4. Look for these entries near the end of the list:
    Dhcp Enabled. No means your IP address is static. Yes means it is dynamic.
    IP Address. This is your current IP address.
  5. To exit, at the blinking cursor, type: exit and press Enter.

If your current IP address is:

  • Static, then make note of the IP address. You need the IP address when you open ports in your router or firewall.

  • Dynamic, then assign a static IP address instead.

How to set static ip addresses on your router

Choose an IP address

Choose an IP address, and collect other information needed in order to assign a static IP address to your computer.

  1. In your router administration program, find and remember this information:

  • Router (Gateway) IP address
  • Subnet Mask
  • IP addresses of your DNS servers

  • In your router administration program, find an IP address that can be assigned as a static IP. The address:

      Must not be one that might be assigned to someone as a dynamic address.

    Must not be one that has been assigned to another device (often these are the low numbers).

  • Must be lower than the range of dynamic addresses.
  • There are many reasons why you might want to set a static IP address for your Windows 10 PC. In most cases, your router will assign your computer a dynamic IP address, meaning it changes from time to time. This can make it hard to access your computer remotely, use certain programs, and let other users on your network send you files. Here’s how to set a static IP address on your Windows 10 PC.

    1. Click the magnifying glass icon in the bottom-left corner of your screen.
    2. Then type IP Address into the search bar and click Open. You can also hit Enter on your keyboard if you see Ethernet settings. How to set static ip addresses on your router
    3. Then click Change adapter options. You will see this under Related settings. This will open a control panel window. How to set static ip addresses on your router
    4. Next, right-click on WiFi or Ethernet. This will depend on what kind of connection you are using. If your computer is hooked up to your router via an Ethernet cable, right-click that option. If your computer is connected via WiFi, right-click that option. You should be able to tell which adapter you are using by looking at the red Xs and green bars.
    5. Then select Status.How to set static ip addresses on your router
    6. Next, click Details.How to set static ip addresses on your router
    7. Then take note of your IPv4 address, IPv4 subnet mask, IPv4 default gateway, and IPv4 DNS server. It is a good idea to write this information down, as you will need it later. How to set static ip addresses on your router
    8. Then go back to the Network Connections window, right-click your network, and select Properties. You can do this by exiting out of the Network Connection Details and Status windows by clicking the X in the top-right corner. How to set static ip addresses on your router
    9. Next, select Internet Protocol Version 4 (TCP/IPv4) and click Properties.How to set static ip addresses on your router
    10. Then click the radio button next to Use the following IP address.
    11. Next, enter the static IP address, subnet mask, default gateway, and DNS server you want to use.
      • IP Address: Use the first 3 segments of your current IP address. So, if your computer’s IP address is currently 192.168.0.1, you can use any IP address that starts with 192.168.0.X, where X is any number between 1 and 254. Or, if your computer’s IP address is 10.0.0.1, you can use an IP address that starts with 10.0.0.X, where X is any number between 1 and 254. But make sure you don’t set your computer’s IP address to be the same as your router’s IP address.
      • Subnet Mask: Usually, on a home network, the subnet mask is 255.255.255.0.
      • Default Gateway: This is your router’s IP address, or the IP address of any other gateway, such as an access point
      • DNS Server: If you see any numbers already filled in this box, you can use those. If not, you can use the DNS server numbers you saw in the Network Connection Details window. Or you can use Google’s preferred DNS server of 8.8.8.8 and 8.8.4.4. How to set static ip addresses on your router
    12. Finally, click OK and then close the Properties window. Your changes will not go into effect until you close the WiFi/Ethernet Properties window.

    Once you set your Windows 10 PC to a static IP address, check out our step-by-step guide on how to port forward, so you can remotely access your computer from anywhere in the world.

    Save Digg Del.icio.us Print

    Article Information

    Contents

    1. Ways to Convert from Dynamic to Static IP Addresses
    2. Reserving DHCP Addresses
    3. Manually Configuring Clients
    4. Disabling DHCP on the Router
    5. We’ve Done It

    Article Description

    Like this article? We recommend

    As you may know already, every computer or device that connects to your local network needs an IP address to communicate with other clients and to access the Internet.

    By default, most consumer and small business level routers come with a DHCP server enabled. This server hands out and manages the IP addresses on your local network.

    TIP

    If you’re just a network user and are only looking for info on how to configure a static IP on your computer, you can ignore most of this article and refer to the steps in the last section. This article is targeted more toward network administrators.

    However, clients aren’t always given the same IP address from the DHCP server when they connect. This can cause problems, or at least become annoying, when you have servers on the network or you frequently share files.

    For example, it would be easier to remember the IP addresses of shared computers. Therefore, if you can’t access it on the network you could try using its IP address instead of browsing to it or using its Computer Name—this trick saves me from many headaches.

    As you see, sometimes it’s better to configure static IP addresses (that don’t change) for the servers, or all the devices, on the network.

    So in this article, we’ll step through three different methods to move from dynamic to static IP addresses. Now let’s get started!

    Ways to Convert from Dynamic to Static IP Addresses

    Here are three different approaches you can use to move from using dynamic IPs, handed out by DHCP, to configuring static or permanent addresses:

      Reserve DHCP addresses on the router for select clients: If your router has a DHCP reservation feature, this is a great way to quickly solve your IP dilemma. You don’t have to physically configure each computer. You simply tell the router to always give a client a certain IP.

    Thus when the client polls the DHCP server when it connects to the network, it will automatically receive its reserved IP. Clients without a reservation will simply receive a random IP like normal. You might even think about doing this for all your computers and devices; it’s quick and easy.

    Manually configure select clients with static IP addresses: Do this only if select devices and computers need a static IP and the other ones can use DHCP. You’d have to take a minute or two and input the IP details into the desired computer(s). It’s not as quick to go this route with multiple computers; however, you don’t have to access the router.

    Even regular network users have the ability to do this, given that they have administrative rights on their Windows account or at least the ability to edit network settings.

    Manually configure all clients and disable DHCP on the router: This is similar to the above approach but requires you or the users to manually configure any device that connects to the network.

    This is great if you find it beneficial that all the computers and devices have a permanent IP address. Just keep in mind that you’ll need to manage these addresses.

    If you have more than a few clients on the network, you’ll probably have to store a list of addresses and reference it when new clients join, so there isn’t a conflict.

    We’ll step through these approaches in the next sections.

    Configuring Static DHCP IP Addresses for DHCP snooping (ELS)

    This task uses Junos OS for EX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Configuring Static DHCP IP Addresses for DHCP snooping (non-ELS). For ELS details, see Using the Enhanced Layer 2 Software CLI.

    You can add static (fixed) IP addresses and bind them to fixed MAC addresses in the DHCP snooping database. These bindings are labeled static in the database, while those bindings that have been added through the process of DHCP snooping are labeled dynamic. Static IPv6 address assignment is also available for DHCPv6.

    Before you can perform this procedure, you must configure the VLAN. See Configuring VLANs for EX Series Switches with ELS Support (CLI Procedure).

    To configure a static IP address to MAC address (IP-MAC) binding in the DHCP snooping database, you must first create a group of access interfaces under the [edit vlans vlan-name forwarding-options dhcp-security] hierarchy. Creating this group automatically enables DHCP snooping, which is a prerequisite for creating the DHCP snooping database. You can then configure a specific interface within the group to have a static IP address that is bound to a fixed MAC address. If you want to have multiple static IP addresses, configure additional interfaces within the same group.

    On switches that support DHCPv6, creating the group of interfaces will automatically enable both DHCP and DHCPv6 snooping.

    To configure a static IP-MAC address binding in the DHCP snooping database:

    To configure a static IPv6-MAC address binding in the DHCPv6 snooping database:

    In the following example, a device with static IP allocation is connected to the ge-0/0/1 interface, which belongs to vlan-A. To configure this device to connect to the external network:

    To verify that the configuration is configured on the device:

    To verify that a binding entry is created for the static client:

    Браузер не поддерживается

    Note that “DHCP reservations” made on the router and static IP addressing are not the same thing.

    Static IP addressing is configured on a Shelly device through either the app or the web UI. Navigate to Internet & Security -> WIFI MODE CLIENT -> Set static IP address:

    You should use an IP address in the appropriate range for your router, outside of any DHCP address range that the router will assign to other devices.

    It is often asked if setting a reserved DHCP address on a router is effectively the same. It is not. In testing we have determined that the static IP address set directly on the Shelly is what is beneficial in cases where connectivity is an issue.

    When you use static IP addressing with any kind of device on any network, it is important that you maintain a list of devices and their IP addresses so that you give a unique address to each device. And, as mentioned above, you need to insure that the address will not be given out by the DHCP server on the router.

    There are two ways to keep your DHCP server from giving out an address. The first is to use only addresses that are outside the DHCP range which an usually be configured on your router.

    The second approach, not to contradict the statement about reserved DHCP addresses above, is to also reserve the address which has been assigned statically. It’s for a different purpose. The DHCP server will not be asked for an address by the Shelly at all, but by also reserving it with the Shelly’s MAC address, you insure that the DHCP server won’t ever hand it out to any other device.

    Follow MUO

    A static IP address is one that never changes. Dynamic IP addresses do change. We explain why you don’t need a static IP address.

    Every device on a computer network has an Internet Protocol (IP) address. It’s just like a phone number, telling other computers how it can be reached.

    It’s the job of your router to assign a new IP address when a device joins the network and maintain a phone book of who has what number.

    Let’s see what types of IP addresses your router can assign.

    What Is a Static IP Address?

    A static IP address (also known as fixed IP address) is an unchanging number assigned to your computer or router.

    Your internet service provider (ISP) assigns a public IP address to your router, while your router assigns internal IP addresses to connecting devices.

    Your public IP address is one that the world sees, and every internet connection, website, or public-facing web-connected thing will have one. If you ask Google “What is my IP address?”, it’ll tell you what your public IP address is, as given to you by your ISP (note, if you’re using a VPN, this will come from your VPN provider instead).

    Your internal, private IPs are only used on your home network. Even if you only have one computer, it will have a private IP address assigned by your router. Private IP addresses cannot be routed over the internet and are strictly for private use. They look exactly the same: four numbers up to 255, with a period in between.

    There are a few possible ranges of private IP address, but for most home users this will be 192.168.*.* or 10.0.*.* (where * can be anything).

    Your router itself also has an internal IP address, likely 192.168.0.1. Your home computers might then be anything in the range of 192.168.0.2 to 192.168.0.254. Most routers will just assign internal addresses on a first come first served basis.

    The first computer you plug into the router will send out a network request saying “I need an IP address”, and will be assigned 192.168.0.2. The next device will get 192.168.0.3.

    Your public IP address is not generally something you can change—it is given to you automatically by your internet provider. If you’re sure you want a static public IP address, the easiest way is to use a specialist VPN service, which costs around $70/year. You may be able to get one from your ISP, but this is rare, and typically reserved for business customers.

    The truth is that you almost certainly don’t need a static external IP address, and even if you’re sure you do, a Dynamic DNS server might be a better choice.

    But on your home network, you can do whatever you want, free of charge. So let’s look at why you might want to get static private IP for your home PC. and then I’ll show you the much better way of doing things.

    Why Would I Need a Static Private IP Address?

    In the past, you needed a static private IP address for a computer if you were trying to run a server that was open to the internet. For example:

    DIY Web Server

    In order to set up a web server on your home network that is accessible by anyone in the world, you need to forward incoming requests on port 80 (What is port forwarding?) to whatever computer is running your web server. If your server was to restart, it would get a new IP from the router. The port forwarding rule you created to send requests on port 80 to the old server IP address wouldn’t work anymore. Your website would be offline, even though your server itself may be functional.

    Retro Gaming

    With some older routers and gaming consoles, you needed to forward certain ports in order to play online multiplayer games. Modern routers include a system called Universal Plug’n’Play, which sets up port forwarding rules automatically when needed.

    Disadvantages of a Static IP Address

    Fixed IPs need to be configured manually. You will need to make a few changes to your router configuration. In this respect, they are said to have an “administration overhead,” because you need to keep track of the settings yourself. For home networks, this usually isn’t an issue with only a few machines to worry about. But for larger networks, this is quite a problem.

    Incorrect configurations will lead to more IP address conflict errors. For example, if you set one of your machines to the IP address 192.168.0.10, and your router continues to hand out IP addresses automatically, then at some point, another machine will be given the same IP! Basically, static IPs can be quite problematic.

    In short: don’t use static IPs.

    What You Should Use Instead: Reserved Addresses

    Instead of having to manually configure the settings on every PC we want to give a static IP address to, we will simply “reserve” the address we want to be given from the router’s automatic IP address system. By doing this, we ensure our machines have an IP address that will never change, without actually assigning a static IP address, which would complicate things.

    Instructions on how to do this will vary depending on your router manufacturer and model.

    • Learn IP Reservation on Netgear routers.
    • IP Reservation on TP-Link routers.
    • IP Reservation on Linksys routers.
    • For UniFi systems, just inspect the client, go to Settings >Network, and enable a Fixed IP.

    If your router isn’t covered by that list, then generally speaking: look for a section labeled DHCP or LAN Setup. Then find a bit for Static Leases or Reserved Lease Info.

    There are two or more fields that need to be filled in to add a new IP address reservation. First is the hardware MAC address (six pairs of alphanumeric characters), which is unique to every device in the world. Second is the IP you wish to assign it.

    You should be able to see your MAC address in the list of current “leases”. A lease refers to the address that the router has automatically lent to your device. You may also just have a screen that shows an overview of currently connected devices.

    In the following example, we’ve added a DHCP Reservation for the device with the MAC address E0:CB:4E:A5:7C:9D, currently with IP 192.168.0.10.

    You can also change the IP address to something new if you like, but you will need to restart the device in order to get the new address.

    That’s it! You can keep your special routing rules the same, and if a device or server restarts, it’ll simply be given the same IP next time. If you found this tutorial helpful, you should also check out our beginner’s guide to home networking.

    Image Credit: Todja/Shutterstock

    How long will hard drives, SSDs, flash drives continue to work, and how long will they store your data if you use them for archiving?

    How to set static ip addresses on your router

    James has a BSc in Artificial Intelligence and is CompTIA A+ and Network+ certified. When he’s not busy as Hardware Reviews Editor, he enjoys LEGO, VR, and board games. Before joining MakeUseOf, he was a lighting technician, English teacher, and data center engineer.

    Subscribe to our newsletter

    Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

    Follow these steps to enhance the performance
    of your gaming consoles and other devices.

    How do I create a static IP address for Port Forwarding?

    If you’re using port forwarding to improve the performance of your internet devices or gaming consoles, you’ll need to first create a static IP address for each device. Here’s how to do it.

    Before you start

    You will need the MAC address for your device. Here’s how to find it. Once you do find it, make sure you write it down.

    In this context MAC stands for Media Access Control. It does not mean the address of an Apple Mac computer.

    To find the MAC address for your device

    1. From the main Xbox One homepage, select My Games & Apps
    2. Select Settings
    3. Select Network
    4. Select Advanced Settings
    5. Your Wired MAC address will be listed on the right.

    NOTE: If you connect your Xbox with a cable, you’ll need the “Wired MAC” address; if you connect over Wi-Fi, you’ll need the “Wireless MAC” Address

    1. Select My Xbox
    2. Select System Settings
    3. Select Network Settings
    4. Select Configure Network
    5. Select Advanced Settings from the Additional Settings tab
    6. Select Alternate Mac Address
    7. Your wired MAC address will be listed

    Playstation 4

    1. Select Settings
    2. Select System
    3. Select System Information
    4. Your MAC address will be listed on the right

    NOTE: If you connect your Playstation with a cable, you’ll need the “MAC Address (LAN Cable)” address; if you connect over Wi-Fi, you’ll need the “MAC Address (Wi-Fi)” Address.

    Playstation 3

    1. Select Settings
    2. Select System Settings
    3. Select System Information
    4. Your MAC address will be listed on the right

    NOTE: If you connect your Playstation with a cable, you’ll need the “MAC Address (LAN Cable)” address; if you connect over Wi-Fi, you’ll need the “MAC Address (Wi-Fi)” Address.

    Nintendo Wii U

    1. Select System Settings
    2. Select Internet
    3. Select View MAC Address
    4. Your MAC address will be listed

    Nintendo Switch

    1. Select System Settings from the HOME Menu.
    2. Scroll down through the menu and select Internet
    3. The Nintendo Switch console’s MAC address will be listed under System MAC Address

    Nintendo 3DSXL, 3DS, 2DS

    1. Select System Settings
    2. Select Internet Settings
    3. Select Other Information
    4. Select Confirm MAC address

    To find the MAC address for your computer or laptop

    Some computer games like FIFA World Cup, Call of Duty and NBA 2k17 will work better if you port forward your computer or laptop. Here’s how to find the MAC address for your computer.

    1. Select the Windows symbol at bottom left
    2. Select Control Panel
    3. Select Network and Sharing Centre
    4. Next to Connections select the hyperlink
    5. Select Details
    6. In the list find the Physical Address

    The number beside it is the MAC address. Write this number down.

    Select the Apple menu at the top left

    1. Select System Preferences
    2. Under Internet & Wireless, select Network
    3. On the left side menu select Wi-Fi
    4. Select the Hardware tab

    The MAC address is listed here. Write down the number.

    Once you have the MAC address for your device or computer you’re ready to create its static IP address.

    To create a static IP address

    Before you start

    You will need the IP address of your Telstra modem. The IP address is on the underneath of your modem. The most common modem IP addresses are:

    • 10.0.0.138
    • 192.168.0.1
    • 192.168.15.1

    Make sure you write yours down.

    1. On your computer, open an internet browser
    2. Type http:// followed by your modem IP address into the address bar eg: http://10.0.0.138
    3. This will take you to the control panel webpage for your modem.
    4. At the top of the page select Advanced.
    5. Select Local Network.
    6. Select Add new static lease.
    7. Go to the Static leases box.
    8. In the Name field type a name for your device. Eg: Playstation or Tom’s Xbox.
    9. In the [email protected] field enter the MAC address for your device. You looked this up earlier.
      NOTE: Some devices display the pairs of numbers and letters separated by dashes, ie: 12-34-56-78-90-AB. However, you need to enter these numbers separated by colons not dashes, ie: 12:34:56:78:90:AB.
    10. In the IP field, enter a new static IP address for your device.

    To create the new static IP address:

    1. Take the IP address for your modem
    2. Remove the numbers that follow the final decimal point
    3. Select a number that’s not currently in use – we recommend a number between 200 and 250 – and add the number after the decimal point

    For example, if you choose the number 225:

    • change the last 3 digits of the modem IP address 10.0.0.138 to 10.0.0.225 – and this will be the new Static IP address, OR
    • change the last digit of 192.168.0.1 to 192.168.0.225, OR
    • change the last digit of 192.168.15.1 to 192.168.15.225
  • Select + Add new static lease
  • Select Close
  • Restart your modem.
  • If you’re changing your static IP address for port forwarding, you can now go back to our Port Forwarding article to complete the port forwarding process.

    By default, the Raspberry Pi will get a dynamically allocated IP-address, meaning it changes as you restart it or potentially when new devices are added to the network. To make it easier to connect and have a more stable connection I recommend to set up a static IP address.

    Table of contents

    1. Get a static IP-address
    2. Setting-up using the Desktop
    3. Setting-up with the Terminal
    4. Prioritising internet interface
    5. Disabling static IP-address

    Get a static IP-address

    To get a static IP-address that works, it will need to be within the range provided by the router. We will therefore first need to find the router’s ip address. This tends to be written on the bottom of the router. If not, simply open a terminal window and type in netstat -nr . Now look under Gateway :

    You can also use the command ip route | grep default | awk ‘‘ .

    In this example it is 192.168.0.1 . Using the router’s ip address we can choose a static ip address in the range between 1 and 255, which will become the last number of your ip-address, e.g. 192.168.0.40 .

    Determine if you want a static ip address over WiFi or Ethernet. The interfaces are called respectively wlan0 and eth0 .

    Setting-up using the Desktop

    It is very simple to set up your static ethernet address. Simply right-click on the Wi-Fi icon in the menu bar (top-right on the left of the speaker icon) and select the Wireless & Wired Network Settings .

    Now click the empty dropdown menu and select the network interface you want to configure. Now for IPv4 Address enter your chosen ip address, for Router the IP address of the router. AS DNS Servers add 8.8.8.8 . Finally, click the Disable IPv6 option.

    Setting-up with the Terminal

    One can also set up a static IP-address via the terminal. For this we need to change the dhcpcd.conf file:

    Now scroll to the bottom, and add the following text:

    replacing the words in capital by what is desired. Now save the file by pressing ctrl+x then y to exit.

    Prioritising internet interface

    When you are using multiple internet interfaces, such as Ethernet over Wifi, it is important to make sure the internet interface has priority over the other such that you get a working internet connection. To do so, we need to add a metric number to each, with the higher metric being prioritised first. Open the dhcpcd.conf file:

    And add the metrics. For example:

    Now finally reboot your Raspberry Pi for the changes to be incorporated:

    Once your raspberry pi has finished restarting, connect to it locally to verify the static IP address hostname -I or ping from it on a networked computer ping YOURSTATICIP .

    Disabling static IP-address

    In many cases you may not want your Raspberry Pi set to use a static IP address. You can change the network configuration back by editing dhcpcd.conf again ( sudo nano /etc/dhcpcd.conf and removing all the lines you added in the previous steps.

    Comments

    There are currently no comments yet on this article, be the first to add one below!

    Add a Comment

    Thanks for wanting to leave a comment, I will try to reply as soon as I can! If you want to be notified, please also include your email address, which will be kept private.

    При использовании ассистента настройки Утилиты AirPort для настройки новой базовой станции или расширения существующей сети он автоматически устанавливает оптимальные значения параметров сети. Не рекомендуется вручную изменять их значения, если только Вы не получили соответствующих указаний от интернет-провайдера или администратора сети.

    С учетом вышесказанного, если вместе со своей учетной записью Вы получили от интернет-провайдера IP‑адрес, а также другую информацию, такую как маска подсети и адрес маршрутизатора, Вы можете вручную настроить базовую станцию для подключения к интернету с использованием статического IP‑адреса.

    На компьютере Mac откройте Утилиту AirPort , которая находится в папке «Программы/Утилиты».

    В графическом представлении выберите базовую станцию, которую требуется настроить, затем нажмите «Правка». Возможно, необходимо будет ввести пароль для базовой станции.

    Нажмите «Интернет», нажмите всплывающее меню «Подключиться, используя», затем выберите «Статичн.».

    Введите следующую информацию, предоставленную интернет-провайдером:

    как минимум один адрес сервера DNS или IPv6 DNS.

    Важно! Не изменяйте значение поля «Доменное имя», если только Вы не получили соответствующих указаний от интернет-провайдера или администратора сети.

    Нажмите «Обновить» для сохранения изменений.

    Want to improve this question? Update the question so it’s on-topic for Server Fault.

    Closed 7 years ago .

    I have been trying to understand and achieve assigning a static IP address to my machine, while being connected to a router (WiFi) and using DHCP.

    My scenario is thus simple, but I think I missing something in understanding:

    • I am using a Mac OS 10.9 machine
    • I am connected to a wireless network
    • I have a Cisco router, which is connected to my LAN (via network cable)
    • my router has a setting DHCP Server enabled configured
    • I thought I could “have” a static IP by configuring:
      • my router: in my DHCP reservation table in my router settings
      • my OS network settings: I have configured my OS network settings to be ip v4 “configured with dhcp and using manual address” and provided a static address in my settings (say 192.168.1.123)
    • I would like to have the same IP over the internet, when I open my machine, connect to my wifi and check http://whatismyipaddress.com/.

    I understand there is a difference of course between having a static IP address in my (local) network and having it in the entire web. And I have read that this can really only be achieved by my ISP really. Please let me know if this is the case.

    Sorry if this is already answered, but I could not find the question. I would just like to know if my understanding is correct.

    UPDATE: I have tried to rephrase my question and make it more clear. Sorry for not being formally correct in all terms. I just want to know if I can have a static (“final”/constant) IP address, so that wherever I am and whenever I turn my machine on, I have the same IP address, regardless if I am behind my home router or connected to some airport WiFi.

    How to set static ip addresses on your router

    5 Answers 5

    You are actually asking for 2 different things:

    assigning a static IP to my machine

    This can be done multiple ways. Depending on you network you can either:

    • have a simple static IP and be done
    • configure a DHCP reservation in your Cisco router
    • configure your client to send the information that you have a specific IP to the DHCP server (least preferrable IMHO)

    would like to have the same IP over the internet, when I connect to my wifi and check http://whatismyipaddress.com/.

    This is something completely different. Depending on “where you are” that is already the case.

    I’m not quite clear what you want I can think of a few options:

    • you want your ISP to give you a statically assigne address (one that does not change when you reboot the cable modem/router whatever you received from your ISP)

    Solution: Upgrade your package and pay the provider for that option. I don’t know a single provider that doesn’t offer something like this.

    • set up a VPN so that you can dial home and appear to be coming from there

    Solution: I’d suggest you start with OpenVPN there is a good amount of documentation out there that will show you how. You can then go on and configure IPSec. This is just a matter of taste and personal preference in which order you will do that, both have pros and cons (but actually there is only one good VPN out there; it’s like with editors — vim vs. emacs — and everyone for him or herself know which is better)

    • “forward” the IP from you router to your computer

    This is where it gets really tricky. It depends on the options of your router and usually is called DMZ host. Unfortunately you will have to try that out for different router/cable modem models as they may indeed refer to a DMZ host or refere to actually handing out the IP to computer.

    Answer to the updated question

    I just want to know if I can have a static (“final”/constant) IP, so that wherever I am and whenever I turn my machine on, I have the same IP, regardless if I am behind my home router or connected to some airport wifi.

    This is possible. For all practical purposes you’ll want to run a VPN. There are a few RFCs that describe other technical solutions but I don’t know of any actual usable implementation.

    You will have the following:

    • an IP changing with the location (or DHCP assignment)
    • another IP that you will get from your VPN

    You will need the following:

    • some budget to actually get a public IP that is assigned to you
    • time to configure your VPN (I won’t recommend a certain solution again as your question is stated very broadly and still has too many open points for me to give you a clear answer)