How to configure a static IP on Windows 10 or 11

Do you need to switch from a dynamic to a static IP address configuration on Windows 11 or 10? Here's how.

Windows 11 static IP

  • Windows 11 static IP
  • Windows 10 static IP

On Windows, the router's Dynamic Host Configuration Protocol (DHCP) server is (usually) responsible for assigning a dynamic Transmission Control Protocol/Internet Protocol (TCP/IP) configuration to every device in the network, including to your computer running Windows 11 or Windows 10.

Although a dynamic IP address is the recommended configuration for most situations, you may need to change to a static IP address if you're thinking about setting up a printer or file sharing, or you have to configure port forwarding on the router to your computer.

The reason is that a dynamic network configuration can change at any time after the lease from the DHCP expires and if the address changes, network resources you may have configured will stop working. Setting a static IP address will always stay the same on the computer, allowing a more reliable experience sharing resources in the network or forwarding ports.

Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt.

This guide will walk you through the different ways to configure a static network configuration on Windows 11 and 10.

How to set a static TCP/IP network configuration on Windows 11

On Windows 11, you can change your computer's dynamic IP configuration to static in at least two ways through the Settings app or commands.

Configure IP from Settings app

To assign a permanent TCP/IP configuration on Windows 11, use these steps:

  • Open  Settings .
  • Click on  Network & internet .
  • (Optional) Click on Advanced network settings .
  • Under the "More settings" section, click on Hardware and connection properties.
  • Note the current IPv4 ,  Subnet mask ,  Default Gateway , and  DNS server addresses to determine the new configuration, as it has to be in the same network scope.
  • Click the  Ethernet  or  Wi-Fi  page on the right side from the "Network & internet." page.
  • Quick note:  If you select the Wi-Fi page, you need to click on the connection properties to access the network settings.
  • Click on the  Edit  button for the "IP assignment" setting.
  • Select the  Manual  option from the drop-down menu.
  • Turn on the  IPv4  toggle switch.
  • Confirm the IP address for the computer – for example, 10.1.4.90.
  • Confirm the subnet mask for the configuration – for example, 255.255.255.0.
  • Confirm the default gateway address (usually your router's IP) – for example, 10.1.4.1.
  • Confirm the preferred DNS address – for example, 10.1.4.1.
  •   Quick note:  In a home network, you may also be able to use the router's IP address for the DNS configuration. You can also use third-party DNS services like Google Public DNS, Cloudflare, Cisco's OpenDNS, and others. 
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled unless you want to encrypted as well as unencrypted traffic or you're troubleshooting connectivity.
  • Quick note:  DNS over HTTPS (DoH) is a feature that encrypts the DNS queries over the HTTPS protocol to improve security and privacy on the internet. You only want to enable this feature if the DNS server supports this feature.
  • Confirm the alternate DNS address (if applicable).
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled.
  • Click the  Save  button.

Once you complete the steps, the computer will start using the static network configuration. If everything has been configured correctly, you should be able to open the web browser to access the internet.

If you entered an address (such as the DNS address) and then changed it, you probably won't be able to save the settings. If this is the case, cancel the configuration, start over, enter the correct configuration, and then try to save the settings.

Configure IP from Command Prompt

To set a static TCP/IP configuration on Windows 11, use these steps:

  • Open  Start .
  • Search for  Command Prompt , right-click the top result, and select the  Run as administrator  option.
  • Type the following command to see your current networking configuration and press  Enter : ipconfig /all
  • Confirm the name of the adapter and the networking configuration, including the IPv4 , Subnet mask , Default Gateway , and DNS Servers .
  • Type the following command to configure a static TCP/IP address and press  Enter :  netsh interface ip set address name= "ADAPTER-NAME" static IP-ADDRESS SUBNET-ADDRESS DEFAULT-GATEWAY-ADDRESS

In the above command, replace  ADAPTER-NAME  with the name of your network adapter. Change  IP-ADDRESS SUBNET-ADDRESS    DEFAULT-GATEWAY-ADDRESS  with the device IP address, subnet mask, and default gateway addresses you want. For example, this command sets the 10.1.4.90, 255.255.255.0, 10.1.4.1 configuration:  netsh interface ip set address name="Ethernet 10Gb" static 10.1.4.90 255.255.255.0 10.1.4.1

  • Type the following command to set a DNS server address and press  Enter :  netsh interface ip set dns name="ADAPTER-NAME" static DNS-ADDRESS  

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name="Ethernet 10Gb" static 10.1.4.1

  • Type the following command to set an alternate DNS server address and press  Enter :  netsh interface ip add dns name="ADAPTER-NAME" DNS-ADDRESS index=2

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet 10Gb" 1.1.1.1 index=2

After you complete the steps, the commands will set a static network configuration on Windows 11.

How to set a static TCP/IP network configuration on Windows 10

On Windows 10, you can also use the Settings app and Command Prompt to set up a static IP network configuration.

To assign a permanent TCP/IP configuration on Windows 10, use these steps:

  • Click on  Ethernet  or  Wi-Fi .
  • Click on the active connection on the right side.
  • Click the  Edit  button for the "IP assignment" setting.
  • Select the  Manual  option.
  • Confirm the subnet prefix length (subnet mask) for the configuration – for example, 24 to specify the 255.255.255.0 subnet mask.
  • Quick tip:  It's important to use the number that represents the network instead of the subnet mask. Otherwise, the configuration won't save. If you don't know the subnet prefix length for your subnet mask, you can use any  online subnet calculator  to find out.

Once you complete the steps, Windows 10 will start using the static IP configuration. If you lose network connectivity, restart the computer to regain access to the local network and internet.

To change from dynamic to static IP address with commands on Windows 10, use these steps:

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name=" Ethernet 10Gb" static 10.1.4.1

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet0" 1.1.1.1 index=2

After you complete the steps, the network configuration will switch from dynamic to static on Windows 10.

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

  • 2 The possibilities are (almost) endless with this Verizon Fios deal that gets you a $300 gift card
  • 3 Windows Central Podcast #340: Windows 11 version 24H2 confirmed!
  • 4 TODAY ONLY: Grab the best PC gaming handheld at a HUGE discount and enjoy the Xbox Game Pass ecosystem anywhere
  • 5 The Sticky Notes app just got the biggest update since Microsoft shipped Windows 11, and no it has nothing to do with AI-powered features or Copilot this time

setup a static ip address

  • PRO Courses Guides New Tech Help Pro Expert Videos About wikiHow Pro Upgrade Sign In
  • EDIT Edit this Article
  • EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard This Or That Game Popular Categories Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Youth Personal Care School Stuff Dating All Categories Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
  • Browse Articles
  • Learn Something New
  • Quizzes Hot
  • This Or That Game New
  • Train Your Brain
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
  • Computers and Electronics

How to Configure a Static Internet Protocol (IP) Address on a Computer

Last Updated: June 21, 2023 Tested

Finding Your Addresses on Windows

Finding your addresses on mac, setting a static ip address, expert q&a.

This article was written by Stan Kats and by wikiHow staff writer, Jack Lloyd . Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals. The wikiHow Tech Team also followed the article's instructions and verified that they work. This article has been viewed 461,689 times.

This wikiHow teaches you how to set a static IP address for your computer within your Wi-Fi network. A static IP address won't change when your router or computer reboots, making it useful for remote operation and website hosting. Static IP addresses can also prevent connection issues on routers to which several items are connected.

Things You Should Know

  • Begin by finding your addresses on Windows or Mac. You are looking for the "Default gateway" address on Windows, and the "Router" number on a Mac.
  • Enter the number into a web browser, and log in if necessary. Then, find your computer in the list of connected devices and click on it. Then, click Reserve .

Step 1 Open Start icon.

  • If you don't see this link, scroll down. You may also need to click the About tab in the upper-left corner of the window.

Step 5 Scroll down to the

  • You can also right-click the Start icon in the lower-left corner of the screen.

Step 8 Click System.

  • Close the Advanced window.
  • Click ⋮⋮⋮⋮ in the upper-left side of System Preferences.
  • Click Sharing .
  • Note the "Computer Name" entry at the top of the window.

Step 1 Open a web browser.

  • If you didn't set a username and/or password, you'll probably need to use the factory credentials found either in the router's manual or on the router itself.

Step 4 Find the list of connected Internet items.

  • For example, some routers place the Connected Devices button on the main page, while other router pages require you to click Settings or Advanced to see the list of connected items.

Step 5 Find your computer's name.

  • Again, your router's page may show a different option here.
  • If prompted to confirm your choice or specify an unused IP address, do so before proceeding.

Step 7 Click Save or Apply.

  • You may need to restart your computer for the changes to take place, and the router may reboot as well.

Stan Kats

  • You shouldn't have to set a static IP address unless you're hosting a website, setting up a computer for remote access, or using an FTP server. Thanks Helpful 0 Not Helpful 0

setup a static ip address

  • Attempting to use the IP address of another connected item will either result in an error or kick the item off of the network. Thanks Helpful 0 Not Helpful 0

You Might Also Like

Get the URL for Pictures

  • ↑ Stan Kats. Cybersecurity Expert. Expert Interview. 16 July 2021.

About This Article

Stan Kats

  • Send fan mail to authors

Reader Success Stories

Alex Sylvain

Alex Sylvain

Feb 11, 2017

Is this article up to date?

Am I a Narcissist or an Empath Quiz

Featured Articles

Learn to Say No

Trending Articles

How to Take the Perfect Thirst Trap

Watch Articles

Wrap a Round Gift

  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info

Keep up with tech in just 5 minutes a week!

Sign up for our daily newsletter

  • Privacy Policy
  • Advertise with Us

How to Set a Static IP Address on Windows

Meenatchi Nagasubramanian

A dynamic IP address is the recommended configuration for most Windows PC users. However, a static IP address is required when a computer provides a service for other PCs. This tutorial walks you through how to quickly set a static IP address on your computer.

Good to know : check out how to find the IP address of a network printer .

Why Do You Need a Static IP Address

1. set static ip address using settings, 2. using command prompt, 3. using powershell.

A static IP address could be useful in various cases, including:

  • Hosting : if you’re hosting a website, having a dynamic IP address can be a hassle. It’s best to have a static IP address to avoid the need to manually change the router settings every time the computer gets a new IP address.
  • File server : is your computer configured as an FTP or a web server? It is highly recommended to use a static IP address, as your device can be easily accessed by others to download files.
  • Remote access : if you plan on accessing your Windows PC remotely, having a static IP address can provide faster and more reliable access. In contrast, dynamic IP addresses are constantly changing and can create difficulties connecting with remote devices.

You don’t need to be a pro user to set a static IP address, as you can do that easily with the Settings app on your Windows computer.

  • Click the Start menu, and launch the Settings app.

Opening Settings app from Star menu.

  • Click “Network & Internet” in the left pane. Click “Properties” next to your Wi-Fi network on the right.

Clicking

  • Scroll down and click the “Edit” button next to “IP assignment.”

Clicking

  • Click the drop-down box in the “Edit network IP settings” dialog, and select “Manual.”

Clicking drop-down box to select

  • Select the IPv4 or IPv6 format to set the static IP address. In this example, we are selecting IPv4.

Selecting the option IPv4 in

  • Fill in all the required details, such as IP address, Subnet mask, and Gateway, and click “Save.”

Fill all the required values of IPv4 and click Save

  • When entering the IP address, make sure it is a private IP address that can be used on home and other private networks. According to the Internet Assigned Numbers Authority (IANA) , the addresses reserved for private networks are as follows:
  • Class A : 10.0.0.0 to 10.255.255.255
  • Class B : 172.16.0.0 to 172.31.255.255
  • Class C : 192.168.0.0 to 192.168.255.255
  • For any private network that needs to use IP addresses internally, it is permissible to use any address within the specified ranges. These addresses are unique only within the given private network.
  • Typically, networks with a significant number of total hosts utilize Class A addresses, while medium- to large-sized networks opt for Class B, and small local area networks use Class C.
  • To fill the Subnet Mask and Gateway fields, make sure you are using the same values that are currently assigned to your router. To find those values, launch the Command Prompt, type the following command, and press Enter . Also, note the “DNS Servers” address, as you’ll need it later.

enter ipconfig /all to get the details of network configuration

Tip : learn how to manage and control wireless networks via the Command Prompt .

You can also configure the static IP address from the Command Prompt if you prefer the command line.

  • Right-click on the Start menu, and click “Run” from the list of options.

Selecting

  • Type cmd.exe in the box, then press Ctrl + Shift + Enter to launch the Command terminal in admin mode.

Typing

  • To set a static IP address, use the following command and press Enter . Make sure you replace “X” with the name of your network adapter, as well as [IP address], [Subnet Mask], and [Default Gateway], each with your specific address. The values correspond to Subnet Mask and Default Gateway that you identified using ipconfig in the previous section.

Enter the netsh command to set static ip address

Note : to find the name of the network adapter, navigate to “Control Panel -> Network and Internet -> Network and Sharing Center,” and jot down the name next to “Connections.”

  • To set the DNS server address, use the following command and press Enter . Replace “X” with the name of your network adapter and [DNS server address] with the DNS server address of the network you found earlier using ipconfig .

Setting a DNS server address via Command Prompt.

  • You will not see a success message but can run the ipconfig command again to check the new configuration.

Typing ipconfig on Command Prompt to view the modified network configuration.

Tip : need the IP address of your router ? Learn how to find it.

Alternatively, use the PowerShell tool to set a static IP address for your Windows PC.

  • Press Win + X on your keyboard, and click Terminal (Admin) in the menu to launch PowerShell.

Pressing Win + X and select

  • To view the details of your current network configuration, type the following command and press Enter . From the results displayed, jot down the values for the following fields: InterfaceIndex, IPv4Address, IPv4DefaultGateway, and DNSServer.

Entering command on PowerShell to get network configuration.

  • Type the following command to set a static IP address and press Enter . Before executing the command, don’t forget to add the values for InterfaceIndex, IPAddress, and DefaultGateway. As for the PrefixLength, in most cases, it should be set to “24.” The parameter defines the local subnet size or subnet mask. For example, for a subnet mask such as “255.255.255.0,” the prefix length is 24 bits, while a subnet mask of “255.255.0.0” has a prefix length of 16 bits.

Enter command to set Static IP Address using PowerShell.

  • To set the DNS server address, use the following command and press Enter . Make sure to add the values for InterfaceIndex and ServerAddresses (DNSServer).

Enter command to set Dns Address using Powershell

Tip : unable to launch PowerShell? Try these fixes.

Static IP Is Sometimes Handy

Businesses have more use for static addresses than home networks. It’s completely safe to use a static IP address, as errors like “ Your IP has been temporarily blocked ” happen mostly with dynamic IP addresses. Plus, it is not complicated to set a static IP address if you follow the instructions outlined in this tutorial. Check out our post to troubleshoot Wi-Fi-related issues if you experience any problems with your Internet connection.

Image credit: Unsplash . All screenshots by Meenatchi Nagasubramanian .

Our latest tutorials delivered straight to your inbox

Meenatchi Nagasubramanian

Meenatchi is always passionate about learning new technological advancements and would love to try out new gadgets, software, and apps. After quitting her career as an Embedded Software Developer in 2009, she took up a career in content writing.

Ms Paint Not Working Windows Featured Image

PCMag editors select and review products independently . If you buy through affiliate links, we may earn commissions, which help support our testing .

  • How to Set Up a Static IP Address

DHCP is fine, unless you're looking to perform advanced networking tasks. Here's how to set a Static IP address (or DHCP reservation) for any device on your network.

Whitson Gordon

An IP address is a unique identifier for a specific device on your network. Your router assigns them to these devices using  Dynamic Host Configuration Protocol (DHCP). As you connect new devices to the network, they will be assigned the next IP address in the pool, and if a device hasn't connected in a few days, its IP address will "expire" so it can be assigned to something else.

For everyday use, this is perfectly fine, and you will never even notice it happening in the background. But if you regularly  SSH into your Raspberry Pi , turn your computer on from across the house with Wake-on-LAN , or perform other advanced networking tasks, DHCP can become an annoyance. It's hard to remember which IP address is assigned to which device, and if they ever expire, you have to look it up all over again.

This is where a static IP address can come in handy. Here's how to set it up.

What Is a Static IP Address?

setup a static ip address

Instead of letting your router assign whatever IP address is free at any given time, you can assign specific IP addresses to the devices you access frequently. For example, I have my home server set to 192.168.1.10, my main desktop to 192.168.1.11, and so on—easy to remember, sequential, and unchanging. You can assign these static IP addresses on the device itself—using, say, Windows' network settings on each computer—or you can do it at the router level.

If you do it through the router, it will likely be called a DHCP reservation, though many people (and even some  routers ) still refer to it as a "static IP address." DHCP reservations allow you to easily set everything up in one place with all your computers left at their default settings. Your computer will ask for an IP address via DHCP, and your router will assign it the one you reserved, with your computer being none the wiser.

How to Set Up a Static IP Address on an Single Device

If you wish to change the IP address of a single device, this can be done through its settings menu. You can set it on on your computers and mobile devices, though the process will differ depending on the operating system in use. Follow our directions to set up a static IP address:

Change Your IP Address in Windows

Change your ip address in macos.

setup a static ip address

  • Open System Settings ( System Preferences in macOS Monterey and older).
  • Choose Network .
  • Pick the network connection you wish to use.
  • Click the Details button next to the network (or the Advanced button at the bottom).
  • Select the TCP/IP tab in the window that appears.
  • Change Configure IPv4 drop-down to Manually .
  • Enter your new IP address and click OK .

Change Your IP Address on an iPhone

  • Go to Settings .
  • Select Wi-Fi .
  • Select the network.
  • Tap Configure IP .
  • Choose Manual
  • Enter your new IP address.

Change Your IP Address on an Android Device

  • Select Connections .
  • Tap the settings icon next to your current network.
  • Tap View more .
  • Choose IP settings .
  • Pick Static .
  • Type in your new IP address and tap Save .

How to Set Up a DHCP Reservation on Your Router

setup a static ip address

To set up a DHCP reservation, you need to know your IP address , which is easy enough to find out. Then head to your router's configuration page —usually by typing its IP address in your browser's navigation bar—and log in. (For  mesh Wi-Fi systems , you'd use an app instead of a config page.)

The location is different for every config page, but you're looking for something called "DHCP reservations," "static IP addresses," or similar. On my Asus router, for instance, it's in the LAN settings category.

To assign a reservation, you need the  MAC address  of the device in question. This is a unique string of characters that identifies a particular network adapter, and you can usually find it in your router's list of connected devices . Make sure you're getting the MAC address for the correct network adapter—if you have both Ethernet and Wi-Fi on your computer, you have one MAC address for each.

On your router's config page, enter an easy-to-remember label for the device (like "Whitson's Desktop PC"), the MAC address, and your desired IP address. Save your changes, and repeat the process for any other IP addresses you want to reserve. From then on, those devices should have your reserved IP addresses assigned to them, and you will never have to look them up again.

More Inside PCMag.com

  • Ukraine Offers SpaceX an 'Algorithm' to Stop Russian Use of Starlink
  • Ukraine: Russian Soldiers Are Using Thousands of Starlink Dishes
  • Astronomers Convince UN to Examine Impact of Large Satellite Networks
  • A Threat to Starlink? US Confirms Russia Developing Anti-Satellite System
  • Israel Approves Starlink Use in the Region, Including a Hospital in Gaza

About Whitson Gordon

Whitson Gordon is a writer, gamer, and tech nerd who has been building PCs for 10 years. He eats potato chips with chopsticks so he doesn't get grease on his mechanical keyboard.

More From Whitson Gordon

  • How to Turn a Raspberry Pi Into a NAS for Whole-Home File Sharing
  • Don't Start Over: How to Transfer PS4 Games and Save Data to a PlayStation 5
  • How to Stream PC Games to Your iPhone or Android Device
  • Sluggish Browser? Here's How to Speed Up Google Chrome

setup a static ip address

How to set a static IP address on Windows 11

Here are the steps to set a static IP address on Windows 11 with Command Prompt, PowerShell, Control Panel, and Settings.

Avatar for Mauro Huculak

UPDATED 7/21/2023: On Windows 11, a static IP address is a network configuration that never changes, making it the preferred option to share files , a printer on a local network , or configure port forwarding.

Usually, when a computer connects to the network, it receives a dynamic IP address assigned by the local Dynamic Host Configuration Protocol (DHCP) server. The only problem is that this configuration can change at any time, as soon as you restart the computer or after the settings expire, and this can cause services like port forwarding and remote desktop to stop working. A static network configuration always maintains the same settings, making it ideal for hosting services that other users can access through the network.

This guide will teach you how to set a static IP (version 4) address on Windows 11 . (See also this video tutorial with the steps to complete this task.)

Assign static IP address on Windows 11 from Command Prompt

Assign static ip address on windows 11 from powershell, assign static ip address on windows 11 from settings, assign static ip address on windows 11 from control panel.

To set a static IP address on Windows 11 with Command Prompt, use these steps:

Open Start on Windows 11.

Search for Command Prompt , right-click the top result, and select the Run as administrator option.

Type the following command to see your current networking configuration and press Enter :

Under the network adapter, note the name of the adapter as well as the following information in these fields:

  • Subnet mask
  • Default Gateway
  • DNS Servers

Windows 11 ipconfig all command

Type the following command to assign a static IP address on Windows 11 and press Enter :

In the above command, replace “Ethernet0” with the name of your network adapter. Change “10.1.4.119 255.255.255.0 10.1.4.1” with the device IP address, subnet mask, and default gateway address corresponding to the local area network.

Type the following command to set a DNS server address and press Enter :

In the command, make sure to change “Ethernet0” with your adapter’s name and “10.1.4.1” with the DNS server address of the network.

Type the following command to set an alternate DNS server address and press Enter :

In the command, change “Ethernet0” with the adapter’s name and “8.8.8.8” with an alternate DNS server address.

Windows 11 netsh command to set static IP address

After completing the steps, you can use the ping command (for example ping google.com ) to see if the configuration works correctly.

You can use PowerShell with the “NetTCPIP” module to manage networking settings, including changing the IP address settings to a static configuration.

To set a static IP address with PowerShell, use these steps:

Open Start .

Search for PowerShell , right-click the result, and select the Run as administrator option.

Type the following command to view your current network configuration and press Enter :

Get-NetIPConfiguration

Confirm the following network information: 

  • InterfaceIndex
  • IPv4Address
  • IPv4DefaultGateway

Type the following command to set a static IP address and press Enter :

PowerShell assign static IP address

In the command, replace the “InterfaceIndex” number (10) with the corresponding number of your adapter. Change “IPAddress” with the static IP address you want to assign to your device. Change “PrefixLength” (subnet mask) with the correct bit number if necessary. Typically, on a home network, the setting is “24.” Also, change the “DefaultGateway” option with the default gateway address of the network.

Type the following command to assign a DNS server address and press Enter :

PowerShell assign static DNS address

If you need to set a secondary DNS server address, use a comma to use the same command with another address. For example:

In the command, replace the “InterfaceIndex” number (10) with your network adapter’s corresponding number. Also, change “ServerAddresses” with the DNS IP address.

Once you complete the steps, the new network configuration will apply to the computer.

Regardless of your chosen method, always assign a TCP/IP address in the network range and outside of the DHCP server scope to allow proper connectivity and avoid configuration conflicts. The reason is that multiple computers sharing the same address will cause problems, preventing them from connecting to the internet.

On Windows 11, you can set a static IP address configuration from the Settings app for wireless and wired adapters.

Set static IP address on Wi-Fi adapter

To assign a static IP address configuration to a Wi-Fi adapter, use these steps:

Open Settings on Windows 11.

Click on Network & Internet .

Click the Wi-Fi tab.

Open Wi-Fi settings

Select the current network connection.

Open wireless properties

Under the “IP settings” section, click the Edit button.

Windows 11 edit IP address

Select the Manual option.

Static IP enable option

Turn on the IPv4 toggle switch.

Set a static IP address for Windows 11 – for example, 10.1.4.119 .

Settings app set static IP address

Specify a Subnet mask  – for example, 255.255.255.0 .

Specify a Default Gateway address.

Specify a Preferred DNS address (required).

(Optional) Specify an “Alternate DNS” address.

Use the “DNS over HTTPS” drop-down menu and select the Off option for the preferred and alternate addresses, but you can enable DoH with these options:

  • Off: Transmits all DNS traffic without encryption.
  • On (automatic template): Sends all DNS traffic with encryption.
  • On (manual template): Allows you to specify a specific template. It is only required if the DNS service doesn’t work automatically or has a template that works as expected.

Turn off the “Fallback to plaintext” toggle switch (if you enable DoH).

Click the Save button.

Once you complete the steps, the static network configuration will apply to the computer. You can test the new settings by opening the web browser and loading a website.

Set static IP address on Ethernet adapter

To assign a static IP address to an Ethernet (wired) adapter on Windows 11, use these steps:

Open Settings .

Click the Ethernet  tab.

Open Ethernet settings

After you complete the steps, you can test your settings using your web browser to open a website.

On Windows 11, you can still use Control Panel to change the IP settings for Ethernet or Wi-Fi adapters.

To assign a static IP configuration through the Control Panel, use these steps:

Open Control Panel .

Click on Network and Internet .

Click on  Network and Sharing Center .

Click the Change adapter settings option on the left navigation pane.

Open Change adapter settings

Right-click the network adapter and select the Properties option.

Select the “Internet Protocol Version 4 (TCP/IPv4)” option.

Click the Properties button.

Control Panel open TCP/IPv4 properties

Select the “Use the following IP address” option.

Assign the static IP address – for example, 10.1.4.119 .

Set static IPv4 address in Control Panel

Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .

Specify a Default gateway address – for example, 10.1.4.1 (Usually, your router’s address).

Under the “Use the following DNS server addresses set Preferred DNS server” section, set the “Preferred DNS server address,” which is usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.4.1 ).

(Optional) Specify an “Alternative DNS server,” which the computer will use if it cannot reach the preferred DNS server.

Click the OK button.

Click the Close button again.

Once you complete the steps, you can open the web browser and load a website to see if the configuration works.

If you want to revert the changes, you can use these instructions to remove the static settings to configure a dynamic IP address on Windows 11.

Avatar for Mauro Huculak

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter) , YouTube , LinkedIn and About.me .

  • How to delete network folder with thumbs.db file on Windows 10
  • How to enable new energy and battery usage settings on Windows 11

We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .

Thank you for taking the time to respond. The NETGEAR documentation team uses your feedback to improve our knowledge base content.

Rating Submitted

Do you have a suggestion for improving this article?

Characters Left : 500

NETGEAR logo

MyNETGEAR® Account

Welcome back

Access your NETGEAR

setup a static ip address

NETGEAR Support

How do I set a static IP address in Windows?

Was this article helpful?    Yes      No | 4 people found this helpful in last 30 days

Most users do not need to set a static IP address. However, advanced users and businesses might benefit from a static IP address.

A static IP address is useful for hosting servers or websites and for sharing large files. For more information about static and dynamic IP addresses, see What is an IP address?

To set a static IP address in Windows 7, 8, and 10:

  • Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center.
  • Click Change adapter settings .
  • Right-click on Wi-Fi or Local Area Connection.
  • Click Properties .
  • Select Internet Protocol Version 4 (TCP/IPv4) .
  • Click Properties . 
  • Select Use the following IP address .
  • Enter the IP address , Subnet mask , Default gateway , and DNS server .
  • Click OK . Your computer displays a static IP address.  

To set a static IP address on a Macintosh OS X computer, see  Configuring TCP/IP and Proxy Settings on Mac OSX .

Last Updated:04/25/2023 | Article ID: 27476

Was this article helpful?

This article applies to:.

  • EX7000-1AZNAS
  • R6300-2CHNAS
  • XR1000-1RNNAS (ENTOUCH)
  • XR1000-1RNNAS (GRANDE)
  • XR1000-1RNNAS (RCN)
  • XR1000-1RNNAS (WAVE)
  • DGN1000SP-1RGUKS
  • DGN1000SS-1VGUKS
  • DGN2200-4DDAUS
  • DGN2200M-2TKSAS
  • DGN2200T-3BEGES
  • DGND3300Bv2
  • DGND3700Bv2
  • DM111PSP-2GTLAS
  • ProLine 6100
  • Versalink 7500
  • EVG1500-1EMRUS
  • EVG1500-2EMRUS
  • EVG2000-1STAUS
  • DG834NU-2BEGES
  • WN2000RPTv1
  • WN2000RPTv2
  • WN2000RPTv3
  • CENTRIA (WNDR4700/4720)
  • JWNR2000-4EMRUS
  • JWNR2000Tv3
  • WNDR3400-1CANAS
  • WNR1000-2VCNAS
  • WNR2000-3XFNAS
  • WNR2000UPPE
  • WNR3500CEIF
  • WNR612-2EMRUS
  • WGR614-7VCNAS
  • WGR614-8CONAS
  • WGR614-9UMGRS

Read this article in another language:

Looking for more about your product.

Get information, documentation, videos and more for your specific product.

Can’t find what you’re looking for?

Quick and easy solutions are available for you in the NETGEAR community.

Need to Contact NETGEAR Support?

With NETGEAR’s round-the-clock premium support, help is just a phone call away.

Complimentary Support

NETGEAR provides complimentary technical support for NETGEAR products for 90 days from the original date of purchase.

NETGEAR Premium Support

Gearhead support for home users.

GearHead Support is a technical support service for NETGEAR devices and all other connected devices in your home. Advanced remote support tools are used to fix issues on any of your devices. The service includes support for the following:

  • Desktop and Notebook PCs, Wired and Wireless Routers, Modems, Printers, Scanners, Fax Machines, USB devices and Sound Cards
  • Windows Operating Systems (2000, XP or Vista), MS Word, Excel, PowerPoint, Outlook and Adobe Acrobat
  • Anti-virus and Anti-Spyware: McAfee, Norton, AVG, eTrust and BitDefender

ProSUPPORT Services for Business Users

NETGEAR ProSUPPORT services are available to supplement your technical support and warranty entitlements. NETGEAR offers a variety of ProSUPPORT services that allow you to access NETGEAR's expertise in a way that best meets your needs:

  • Product Installation
  • Professional Wireless Site Survey
  • Defective Drive Retention (DDR) Service

Where to Find Your Model Number

To find the model/version number, check the bottom or back panel of your NETGEAR device.

Select a product or category below for specific instructions.

setup a static ip address

Nighthawk Routers

setup a static ip address

Powerline and Wall Plug Extenders

setup a static ip address

Cable and DSL Modem Routers

setup a static ip address

ReadyNAS Network Storage

setup a static ip address

Wireless Access Points

setup a static ip address

Other Business Products

setup a static ip address

Mobile Broadband

  • iPhone 15 Plus vs. Pro Max
  • 3 Key Tech Trends to Watch in 2024

What Is a Static IP Address?

An explanation of a static IP address and when you would want to use one

setup a static ip address

  • Emporia State University

setup a static ip address

In This Article

Jump to a Section

  • Why Use a Static IP Address?
  • Static vs. Dynamic IP
  • Disadvantages of a Static IP
  • Get a Static IP Address

Fake a Static IP With a Dynamic DNS Service

  • Frequently Asked Questions

A static IP address is an IP address that was manually configured for a device instead of one that was assigned by a DHCP server. It's called static because it doesn't change vs. a dynamic IP address , which does change.

Routers , phones, tablets, desktops, laptops, and any other device that can use an IP address can be configured to have a static IP address. This might be done through the device giving out IP addresses (like the router) or by manually typing the IP address into the device from the device itself.

Static IP addresses are also sometimes referred to as fixed IP addresses or dedicated IP addresses.

Why Would You Use a Static IP Address?

Another way to think of a static IP address is to think of something like an email address, or a physical home address. These addresses don't change—they're static—and it makes contacting or finding someone easy.

Similarly, a static IP address is useful if you host a website from home, have a file server in your network, use networked printers, forward ports to a specific device , run a print server, or use a remote access program . Because a static IP address never changes, other devices always know exactly how to contact a device that uses one.

For example, if a static IP address is set up for a computer in a home network. Once the computer has a specific address tied to it, a router can be set up to always forward certain inbound requests directly to that computer, such as FTP requests if the computer shares files over FTP.

Not using a static IP address (using a dynamic IP that does change) is a hassle if you're hosting a website, for example, because with every new IP address that the computer gets, you have to change the router settings to forward requests to that new address. Neglecting to do this would mean nobody could get to your website because the router has no idea which device in the network is the one that's serving the website.

Another example of a static IP address at work is with DNS servers . DNS servers use static IP addresses so that devices always knows how to connect to them. If they changed often, you'd have to regularly reconfigure those DNS servers on your router or computer to use the internet.

Static IP addresses are also useful for when the device's domain name is inaccessible. Computers that connect to a file server in a workplace network, for instance, could be set up to always connect to the server using the server's static IP instead of its hostname . Even if the DNS server malfunctions, the computers could still access the file server because they communicate with it through the IP address.

With remote access applications such as Windows Remote Desktop, using a static IP address means you can always access that computer with the same address. Using an IP address that changes requires you to know what it changes to so that you can use that new address for the remote connection.

Static vs. Dynamic IP Addresses

The opposite of a never-changing static IP address is an ever-changing dynamic IP address. A dynamic IP address is a regular address like a static IP is, but it's not permanently tied to a device. Instead, dynamic IP addresses are used for a specific amount of time and then returned to an address pool so that other devices can use them.

This is one reason that dynamic IP addresses are useful. If an ISP used static IP addresses for their customers, there'd constantly be a limited supply of addresses for new customers. Dynamic addresses provide a way for IP addresses to be reused when they're not in use elsewhere, providing internet access for more devices than would otherwise be possible.

Static IP addresses limit downtime. When dynamic addresses obtain a new IP address, any user that's connected to the existing one is removed from the connection and has to wait to find the new address. This wouldn't be a wise setup to have if the server hosts a website, a file-sharing service, or an online video game, all of which normally require constantly active connections.

In a local network, such as in a home or place of business, where you use a private IP address , most devices are probably configured for DHCP and thus use dynamic IP addresses.

Disadvantages of Using a Static IP Address

The major disadvantage that static IP addresses have over dynamic addresses is that the devices must be configured manually. The examples given above with regards to a home web server and remote access programs require you to set up the device with an IP address and properly configure the router to communicate with that specific address.

This requires more work than plugging in a router and allowing it to give out dynamic IP addresses via DHCP.

If a device is assigned an IP address of, for example, 192.168.1.110, and you go to a different network that gives out 10.X.X.X addresses, you won't be able to connect with the static IP. Instead, the device will need to be reconfigured to use DHCP (or use a static IP that works with that new network).

Security might be another downfall to using static IP addresses. An address that never changes gives hackers a prolonged time frame to find vulnerabilities in the device's network. The alternative would be using a dynamic IP address that changes and would, therefore, require the attacker to also change how they communicate with the device.

How to Get a Static IP Address

The steps for configuring a static IP address in Windows are fairly similar in Windows 11 through Windows XP. You can also set a static IP address on your phone or tablet.

Some routers reserve an IP address for specific devices that are connected to a network. This is normally done through DHCP Reservation, and it works by associating an IP address with a MAC address so that each time that specific device requests an IP address, the router assigns it the one you chose to associate with that physical MAC address.

You can read more about using DHCP Reservation at your router manufacturer's website. Here are links to instructions on doing this on routers from popular manufacturers: D-Link , Linksys, NETGEAR , Google.

To change the network settings, learn how to log in to your router as an administrator .

Getting a static IP address for your home or business requires contacting your ISP, but it might not be an option depending on the company. Static IP address assignments for public IP addresses are normally more expensive than choosing the dynamic IP option.

Since using a static IP address for a home network may cost more than a regular dynamic IP address, opt for both by using a ​ dynamic DNS (DDNS) service .

Dynamic DNS services associate a changing, dynamic IP address to a hostname that doesn't change. It's like having your own static IP address but at no extra cost than what you're paying for a dynamic IP.

No-IP is one example of a free dynamic DNS service. Download their DNS update client which redirects the hostname you choose to be associated with your current IP address. This means that if you have a dynamic IP address, you can access your network using the same hostname.

A dynamic DNS service is helpful if you need to access your home network with a remote access program but don't want to pay for a static IP address. Similarly, you can host your own website from home and use dynamic DNS to ensure visitors can always access to your website.

The public IP address assigned to the routers of most home and business users is a dynamic IP address. Larger companies usually don't connect to the internet via dynamic IP addresses; instead, they have static IP addresses assigned to them which don't change.

ChangeIP.com is another free DDNS service, but there are many others.

If you're using Windows, you can find your static IP address using the ipconfig command in Command Prompt. Google will also tell you your public IP address if you type "What is my IP address" into the search field. On a Mac, open the Apple menu > System Preferences > Network and select your network to see your IP address.

Use the ifconfig command followed by the name of your network interface and the new IP address you want to use. So it would look something like ifconfig [network interface] [new IP address] .

First, find the Pi's current IP address using the ip r | grep default command and make note of it. Use the sudo nano /etc/resolv.conf command to find the DNS server and the nameserver. Then, edit the dhcpcd.conf file and add the following lines, replacing the information in the brackets with your own:

interface <NETWORK>

static ip_address=<STATICIP>/24

static routers=<ROUTERIP>

static domain_name_servers=<DNSIP>

Get the Latest Tech News Delivered Every Day

  • What Is an IP Address?
  • What Is a Public IP Address? (and How to Find Yours)
  • When to Use a Static IP Address
  • How to Find Your IP Address on Windows 10
  • What Is a Dynamic IP Address?
  • How to Set Up Port Forwarding
  • What Is DHCP? (Dynamic Host Configuration Protocol)
  • The Best Free and Public DNS Servers (2024)
  • How to Change Your IP Address
  • Uses for the 192.168.0.2 and 192.168.0.3 IP Addresses
  • UltraVNC 1.4.3.6
  • How to Fix a 169 IP Address Error
  • DNS Servers: What Are They and Why Are They Used?
  • What Is a Private IP Address?
  • How to Change the IP Address on Your Android
  • Cisco Default Password List

setup a static ip address

How to Set a Static IP Address

August 2021

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.

Access the Control Panel

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

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

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

Access the Control Panel

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.

Select the Network Adapter

3. Select Properties

Select “Properties” from the drop-down menu.

Select Properties

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

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

Select Internet Protocol Version 4 (TCP/IPv4)

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

Manually enter IP address and subnet mask

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.

Revert Back to DHCP

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.

How-To Geek

How to set a static ip address in ubuntu.

When static is the way forward.

Quick Links

What is a static ip address, setting a static ip in ubuntu, set a static ip in ubuntu with the gui, connection convenience, key takeaways.

After gathering your connection name, subnet mask, and default gateway, you can set a static IP address in the terminal using the nmcli command. Or, in the GNOME desktop, open your connection settings and click the + icon, then enter the info for your static IP address there.

Your home network relies on IP addresses to route data between devices, and sometimes on reconnecting to the network a device's address can change. Here's how to give an Ubuntu Linux computer a permanent IP address that survives reboots.

Everything on your network home network, whether it's using a wired connection or Wi-Fi, has an IP address . IP stands for Internet Protocol. An IP address is a sequence of four numbers separated by three dots. Each IP address that is unique within that network.

IP addresses act as numeric labels. Your router uses these labels to send data between the correct devices. Usually, your router assigns IP addresses. It knows which IP addresses are in use and which are free. When a new device connects to the network, it requests an IP address and the router allocates one of the unused IP addresses. This is called DHCP, or dynamic host configuration protocol .

When a device is restarted or powered off and on, it may receive its old IP address once more, or it might be allocated a new IP address. This is normal for DHCP and it doesn't affect the normal running of your network. But if you have a server or some other computer that you need to be able to reach by its IP address, you'll run into problems if its IP address doesn't survive power downs or reboots.

Pinning a specific IP address to a computer is called allocating a static IP address . A static IP address, as its name suggests, isn't dynamic and it doesn't change even if the computer is power-cycled .

Nmcli is the command-line network manager tool , and can be used to change your IP address, configure network devices, and --- relevant to our purposes --- set up a static IP in Ubuntu.

We're demonstrating this technique on Ubuntu 22.04 LTS, but it ought to work on any Linux distribution, including Ubuntu 23.04. The nmcli tool was released in 2004, so it should be present on just about any standard distribution.

Let's take a look at the network connections that already exist on the computer. We're using the connection command with the show argument.

nmcli connection show

Using nmcli to list network connections

This displays some information about each connection. We only have a single connection configured.

The details of a single network connection displayed by nmcli

The output is wider than the terminal window. This is the information that we're shown.

  • Name : Our network connection is called "netplan-enp0s3."
  • UUID : The universally unique identifier Linux uses to reference this connection internally.
  • Type : This is an ethernet connection.
  • Device : This connection is using the "enp0s3" network interface. It's the only network card in this computer.

We can use the ip command to discover the IP address this computer is using.

The output of the ip addr command showing the ip address of the computer

In the output we can see the "enp0s3" entry, and its current IP address, 192.168.86.117. The "/24" is a shorthand way of saying that this network uses a 255.255.255.0 subnet mask . Take a note of this number, we'll need to use it later.

We need to choose the IP address we're going to set as our static IP address. Obviously, you can't use an IP address that is already in use by another device. One safe way to proceed is to use the current IP address assigned to the Ubuntu system. We know for certain that nothing else is using that IP address.

If we want to use a different IP address, try pinging it. We're going to test whether IP address 192.168.86.128 is in use. If everything else on your network uses DHCP and you get no response to the ping command, it should be safe to use.

ping 192.168.86.128

Using ping to determine if an IP address is in use

Even if another device had previously used that IP address, it'll be given a new IP address when it next boots up. Nothing responds to the ping requests, so we're clear to go ahead and configure 192.168.86.128 as our new static IP.

We also need to know the IP address of your default gateway , which will usually be your broadband router. We can find this using the ip command and the route option, which we can abbreviate to "r."

Using the ip command to find the IP address of the default gateway

The entry that starts with "default" is the route to the default gateway. Its IP address is 192.168.86.1. Now we can start to issue commands to set up our static IP address.

The first command is a long one.

sudo nmcli con add con-name "static-ip" ifname enp0s3 type ethernet ip4 192.168.86.128/24 gw4 192.168.86.1

Creating a new connection with the nmcli command

Taken in small chunks, it's not as bad as it looks. We're using sudo . The nmcli arguments are:

  • con : Short for "connection."
  • add : We're going to add a connection.
  • con-name "static-ip" : The name of our new connection will be "static-ip."
  • ifname enp0s3 : The connection will use network interface "enp0s3."
  • type ethernet : We're creating an ethernet connection.
  • ip4 192.168.86.128/24 : The IP address and subnet mask in classless inter-domain routing notation . This is where you need to use the number you took note of earlier.
  • gw4 192.168.86.1 : The IP address of the gateway we want this connection to use.

To make our connection a functioning connection, we need to provide a few more details. Our connection exists now, so we're not adding anything, we're modifying settings, so we use the mod argument. The setting we're changing is the IPv4 DNS settings. 8.8.8.8 is the IP address of Google's primary public DNS server , and 8.8.4.4 is Google's fallback DNS server.

Note that there is a "v" in "ipv4." In the previous command the syntax was "ip4" without a "v." The "v" needs to be used when you're modifying settings, but not when adding connections.

nmcli con mod "static-ip" ipv4.dns "8.8.8.8,8.8.4.4"

Using the nmcli command to set the DNS servers for a connection

To make our IP address static, we need to change the method which the IP address obtains its value. The default is "auto" which is the setting for DHCP. We need to set it to "manual."

nmcli con mod "static-ip" ipv4.method manual

Using the nmcli command to set an IP address to static

And now we can start or "bring up" our new connection.

nmcli con up "static-ip" ifname enp0s3

Using the nmcli command to start a network connection

We didn't get any error messages which is great. Lets use nmcli to look at our connections once more.

nmcli con show

The details of two network connections displayed by nmcli

Here's the output:

Our static-ip connection is active and using device "enp0s3." The existing connection "netplan-enp0s3" is no longer associated with a physical network interface because we've pinched "enp0s3" from it.

Click the icons at the far-right end of the system bar to show the system menu, then click on the "Wired Connected" menu option. If you're using a wireless connection, instead click the name of your Wi-Fi network.

The available connections are displayed. A dot indicates which is in use. Click the "Wired Settings" or "Wi-Fi Settings" menu option. The details of the active connection are displayed.

If you followed our previous instructions the new connection will be the active connection. We can see our new "static-ip" connection has the IP address, default gateway, and DNS servers that we set for it.

The system menu with the

To create a new connection using the "Settings" application, click the " + " icon on the "Networks" page, above the list of wired connections.

The wired connection section in the Network tab of the Settings app

A dialog appears. We need to provide a name for our new static IP connection.

Giving a name to a new connection profile in the

We're calling our new connection "static-2." Click the "IPv4" tab.

Supplying the IPv4 connection details to a new connection profile in the

Select the "Manual" radio button, and complete the "Address", "Netmask", and "Gateway" fields. Also complete the DNS field, and then click the green "Apply" button. Note the comma between the DNS entries.

Our new connection is listed in the "Wired" connections pane.

A newly-added connection in the wired connection section of the Network tab of the Settings app

You can swap between the available connections by clicking directly on their names.

If you want to modify a connection after you create it, click the cog icon. In this case, we'll enter the settings for the "static-ip" connection.

The wired connection section in the Network tab of the Settings app

A dialog box opens. Click on the "IPv4" tab.

The IPv4 tab of the connection settings dialog

Because we set our new IP address to be static, the "Manual" radio button is selected. You could change this back to DHCP by selecting the "Automatic (DHCP)" radio button, and clicking the green "Apply" button.

Using the nmcli command or the GNOME desktop and apps, you can hop between network connections very easily and very quickly.

It's more convenient to have a selection of connection profiles and move between them as you need to, rather than to have one that you keep editing. If something goes horribly wrong with the connection you're editing or adding, you can always fall back on one of the existing connections.

  • Privacy news

Tips & tricks

  • ExpressVPN news

How to configure a static IP address

' src=

Felipe Allende

setup a static ip address

A static IP address can be very useful in some cases, and can even improve your security. If you want to set up a local server or improve your internet speeds, configuring a static IP address on different devices is a very simple process. In this article, we’ll guide you through the steps so you can have a working static IP address in no time.

Note that ExpressVPN does not offer static IP addresses at the moment. This article is only informational on how you might set one up.

What is a static IP?

An IP address is a unique series of numbers that identifies each device on a local network or the internet. An IP address can be dynamic or static.

Most people use dynamic IP addresses, which change automatically and regularly—most commonly every 24 hours or after a router reset . This means when you go online, your IP address should be different from the one you had the day before.

A static IP address, also called a dedicated IP address, doesn’t change. This means whenever you connect to the internet after disconnecting, you’ll get the same IP address. It usually costs extra to get a static IP address. 

And while dynamic IP addresses generally offer greater privacy and security for the average user, static IP addresses can be useful for certain systems.

Why you may want a static IP address

Most residential internet services use a dynamic IP configuration through DHCP (Dynamic Host Configuration Protocol). While a static IP address could be the best approach in some cases, it’s important that you know what they are good for, and see if you’re in one of these use cases. Here are the most common ones:

You want to host a server For hosting game, web, email, or other types of servers, a static IP provides a consistent address for users to connect to, making connections easy.

Your IoT device requires it Some Internet of Things (IoT) devices require static IPs to function correctly and remain consistently accessible for monitoring and control.

You want a more stable connection File downloads and uploads tend to be slightly faster with a static IP.

You want more security Static IPs facilitate the implementation of security measures like IP whitelisting, ensuring only authorized devices can access certain online services.

You want to simplify your network management

Assigning static IPs to devices makes network management easier, allowing for straightforward identification, troubleshooting, and configuration of networked devices.

How to set up a static IP address

Setting up a static IP address is fairly simple but varies per device. However, the first thing you should sort out before configuring is the static IP address itself. You would inquire with your internet service provider (ISP) about getting a static IP , which usually involves a small extra charge.

How to set a static IP address on a router

You can assign a static IP address through your router for any device on its network. To do this, you’ll need the MAC address of whatever device you want to configure with a static IP address, and that device must be connected to the router. Lastly, note that most routers have different software, so these are general instructions to get you started. 

  • Access the router. Open a web browser and enter your router’s IP address into the address bar. You can usually find this on the back of your router or in the manual.
  • Log in. Enter your username and password to log into the router’s admin panel. If you haven’t changed these from the defaults, they should also be on the router or manual.
  • Navigate to LAN settings. Look for a section in the admin panel labeled “LAN” or “Network Settings”. This might be under “Advanced Settings” depending on your router.
  • Find DHCP or static IP settings. Locate the DHCP settings within the LAN or Network Settings. You may need to switch from DHCP to Manual or Static IP configuration.
  • Fill in the IP address , Gateway , Network prefix length , and DNS fields.
  • Save and apply. After entering all necessary information, save and apply your changes. The router may need to restart for changes to take effect.

How to set a static IP address on Windows 10

Assigning a static IP to your Windows 10 device is much easier than on your router. Just follow these instructions:

  • Go to Settings. Press the Windows key, type “Settings,” and press Enter.
  • Click Network and Internet and then Network and Sharing Center .
  • Click Change adapter settings on the left pane.
  • Right-click your network connection and select Properties .
  • Highlight Internet Protocol Version 4 (TCP/IPv4) and click on Properties .
  • Fill in the IP address, Gateway, Network prefix length, and DNS fields.
  • Click OK to save your changes, then click OK again to exit the properties menu.

How to set a static IP address on Windows 11

The steps for Windows 11 are very similar to those on Windows 10:

  • Open Settings. Click on the Start menu, select Settings, or press Windows + I on your keyboard.
  • In the Settings menu, click on Network & Internet .
  • Choose the network you are connected to. If you are using Wi-Fi, click on “Wi-Fi” and then select your network. For a wired connection, click on “Ethernet” and then on your network connection.
  • Edit IP Assignment. Scroll down and click on “Hardware properties.” Then, find the “IP assignment” section and click the “Edit” button.
  • Change to Manual. In the “Edit IP settings” window, change the setting from “Automatic (DHCP)” to “Manual.” Toggle on the “IPv4” switch to enable manual IP configuration.
  • Click Save to apply your settings.

How to set a static IP address on macOS

To configure a static IP on your Mac, follow these steps:

1. Click on the Apple menu in the top left corner of your screen and select System Preferences .

setup a static ip address

2. In the System Preferences window, find and click on Network .

3. Select the network connection you wish to configure from the list on the left side. This could be either Wi-Fi or Ethernet, depending on how your Mac is connected to the network.

setup a static ip address

4. With the network selected, click on the Details button in the top right corner of the window.

setup a static ip address

5. Click on the TCP/IP tab on the left.

6. Click on the dropdown menu next to “Configure IPv4” and select Manually from the list of options.

setup a static ip address

7. Fill in the IPv4 Address field with the static IP address you want to assign to your Mac. 

8. Optionally, navigate to the DNS tab in the same window to manually enter DNS server addresses if required.

9. Click OK to close the Details settings window.

How to set a static IP address on Android

Setting up a static IP address on Android is straightforward. Just follow these steps:

  • Tap on the Settings icon on your home screen or app drawer.
  • Scroll down and tap on Wi-Fi . Ensure Wi-Fi is turned on, and you’re connected to the network you want to configure.
  • Select the gear icon beside your current network.
  • Find the IP settings section and change it from DHCP to Static .
  • Scroll down and tap Save to apply your new static IP settings.

How to set a static IP address on iOS

On iOS, the process is quite similar. Follow these instructions:

1. Tap the Settings icon on your home screen or App Library.

setup a static ip address

2. Next to the Wi-Fi network you’re connected to, tap the i icon to access the network’s settings.

setup a static ip address

3. Scroll down and tap on Configure IP to change how your device acquires an IP address.

setup a static ip address

4. Tap Manual to switch from automatic (DHCP) to manual IP settings.

setup a static ip address

5. Fill in the IP address , Gateway , Network prefix length , and DNS fields.

6. Tap Save in the upper right corner to apply your changes.

How to set a static IP address on Linux

The process for Linux is a little more involved. Bear in mind that while you could do it by running a ip adr command, that change would be reversed with every reboot. To set up the static IP permanently, follow these steps:

  • Press Ctrl + Alt + T to open the terminal on your Linux desktop.
  • Use the command ip addr or ifconfig to identify your network interface.
  • Navigate to Netplan Configuration. Files are typically located in /etc/netplan/. Use ls /etc/netplan/ to list the configuration files.
  • Use a text editor like nano or vim to edit the YAML configuration file found in the previous step.
  • Modify the file to include your static IP settings under the appropriate network interface.
  • Save the file and apply the changes by running sudo netplan apply .

How to set a static IP address on Raspberry Pi

Like with Linux, the process with Raspberry Pi is more involved than with other platforms. To configure the static IP, follow these steps:

  • Access the terminal directly or via SSH if you’re remotely connected to your Raspberry Pi.
  • Type sudo nano /etc/dhcpcd.conf to edit the DHCP client configuration file with nano editor. You can replace nano with your preferred text editor.
  • Scroll to the end of the file and add your static IP configuration.
  • Press Ctrl + O to save the changes, then Ctrl + X to exit nano.
  • To apply the changes, restart the DHCP client daemon with sudo service dhcpcd restart.

The differences between static and dynamic IP addresses

Static and dynamic IP addresses serve the fundamental role of identifying devices on a network, yet they differ in management, purpose, and application. Here’s a comparison:

Does ExpressVPN offer static or dynamic IPs?

ExpressVPN provides dynamic IPs and doesn’t offer static IPs at the moment. 

This means every time you connect to ExpressVPN, you are given a different IP address. (That said, it is possible to repeatedly get the same IP if you happen to connect to the same server multiple times.) The IP you are given should indicate to websites and apps that you are located in the country of your choosing. Moreover, every IP is shared by numerous ExpressVPN users at the same time, increasing your anonymity even more.

Phone protected by ExpressVPN.

Mask your IP address with a VPN

30-day money-back guarantee

A phone with a padlock.

Enjoy a safer online experience with powerful privacy protection

' src=

Like what you have read?

Clap for this post. Or share your thoughts!

Subscribe to the weekly blog newsletter

Get the latest in privacy news, tips, tricks, and security guides to level-up your digital security.

setup a static ip address

  • Related posts
  • Featured Posts
  • More from the author

setup a static ip address

4 easy ways to change the location on your iPhone

setup a static ip address

How to use Private Browsing on your iPhone in 2024

setup a static ip address

How to change your home address on an iPhone

How to change location on Facebook Marketplace

How to change location on Facebook Marketplace

Tech Friend Edition 2

Tech Friend: My VPN location seems to be wrong

Dynamic MTU to fix VPN browsing issues.

Dynamic MTU: How we fixed a common cause of browsing problems

Alternative apps to Omegle that let you chat with random strangers.

Best Omegle alternatives to chat with strangers

Phone with location pin and luggage handles.

How to track your own luggage

21 best onion and Tor sites on the dark web

Dark Web Links: The best .onion and Tor sites in 2024

streaming push play button

Best new shows and movies to stream in February 2024

Tech Friend talks cheap phones.

Tech Friend: 5 great phones under 400 USD

setup a static ip address

Can you stop someone from mirroring your phone?

setup a static ip address

Why is the Chrome browser so slow?

setup a static ip address

Is someone spying on your phone?

setup a static ip address

Tech Friend: Help! My phone is overrun with ads

Leave a comment cancel reply.

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

ExpressVPN is proudly supporting

logo_1

Subscribe to the blog newsletter

Choose language.

setup a static ip address

Security.org

What Is a Static IP Address?

I f you’ve done any research on internet protocol (IP) addresses, then chances are you’ve run into the term “static IP address.” Static means unchanging, but is that a good or a bad thing for your overall digital security? We’ll break down what a static IP address is and figure out if it’s right for your devices.

A static IP address is an IP address that stays the same. Typically, users create static IP addresses manually; internet service providers, or ISPs, can assign them, as well. Static IP addresses can be either IPv4 or IPv6, although as of now, IPv4 is much more common.

Your private information

My ip address.

20.237.210.148

Unprotected

My IP Information

Internet provider:

MICROSOFT-CORP-MSN-AS-BLOCK

Region/ State:

Hide my IP address

View IP Details

Browser name:

Browser version:

Device brand:

Device type:

Postal code:

  • Better support for DNS
  • Better for voice and video communications that use VoIP
  • Better for geolocation services, like changing your Tinder location
  • Easier to hack
  • Makes you easier to locate and track
  • Higher cost

What Is an IP Address?

If you’re not sure what an IP address is, we’ve got you covered. “IP” stands for “internet protocol,” and it’s a device’s identifying number both within a computer network and outside of that network. Think of an IP address like a street address that lets people send letters to each other, but in this case it’s data. IP addresses reveal the user’s approximate physical location including their city and ZIP code.

» Learn about: How to find your IP address

What Is a Dynamic IP Address?

The opposite of a static IP address is a dynamic IP address, one that changes periodically. A Dynamic Host Configuration Protocol (DHCP) server assigns dynamic IP addresses automatically; after a period of time, they expire and get replaced.

  • Makes you harder to follow online
  • No need to change your IP address manually
  • Bad for DNS servers
  • Less accurate geolocation information
  • Websites won’t remember who you are

Static vs. Dynamic IP Addresses

Now, let’s put static and dynamic IP addresses head to head. Both show a user’s approximate geolocation, but they’re useful for different purposes.

When You Need a Static IP Address

To be blunt, you won’t need a static IP address most of the time, except for websites that need to remember your IP address. If you have a business with your own website or internet service and employees working from home, use a static IP address along with a business VPN . This will help your employees work from home safely .

When You Need a Dynamic IP Address

For everything else, there are dynamic IP addresses, the choice of most consumers. Since dynamic IP addresses make it harder to track you online, they’re the default option the majority of the time.

» Learn more: How to get a US IP address

Which Type of IP Address Do You Have?

Finding your IP address is easy, whether you need to find your printer’s IP address , find your Roku’s IP address , or find your router’s IP address . We’ve included instructions for the major operating systems below.

Follow these steps to check your Mac’s IP address :

  • Open the System Settings…
  • Select Network.
  • Select your Wi-Fi network.
  • Click Details…
  • Your internal IP address should then be listed.

PC (Windows 11)

Find your Windows computer’s IP address:

  • Click on the Taskbar.
  • Click Wi-Fi Network.
  • Click Select Network.
  • Select Properties.
  • Look under IPv4 Address for your IP Address.

To find your Android device’s IP:

  • Open your Android Settings.
  • Click About.
  • Click Status.
  • Click IP Address.

And last but not least, to find your iPhone’s IP address :

  • Open Settings.
  • Click Wi-Fi.
  • Under the lowercase i, click Network.
  • You’ll find your IP address under IPv4 Address.

Is It Hard to Change Your IP Address?

Once you’ve found it, changing your IP address isn’t hard. You can use a number of methods, but installing a VPN is the easiest option. But don’t worry; we’ll get to that soon.

How to Get a Dynamic IP Address

Now, to change your IP address (and change it again and again), we recommend using a VPN with dynamic IP addresses. However, although there are free VPNs as well as free trial VPNs , you’ll probably have to pay for a VPN in the long term. If that doesn’t work for you, we’ve provided some other options.

» Further Reading: Learn how to get a UK IP address

VPNs hide your IP address and change it periodically. Additionally, VPNs hide your browsing history for some added privacy, if that’s your reason for using a VPN .

Look for a VPN with dynamic IP addresses; we suggest ExpressVPN, Private Internet Access, or IPVanish, to name a few. Learn more in our ExpressVPN review , Private Internet Access review , or IPVanish review . Once you’ve picked out a VPN:

  • Download the VPN from your app store.
  • Complete the installation process as guided.
  • Connect to a server. Your IP address will change automatically.

Another way to get dynamic IP addresses is to use Tor as your web browser. Tor is a free and open-source secure browser that isolates each website, clearing the cookies as soon as you move onto the next one. By changing your IP address and device information, Tor makes all users look the same, encrypting their IPs and web activity three times. You can download Tor for macOS, Linux, Android, or PC on the Tor Project website. 2

Proxy Servers

If you want to change your IP address only and don’t care about your web activity being hidden, you can use a proxy server in lieu of a VPN. Here’s how.

  • Open Safari.
  • Click Settings.
  • Click Advanced.
  • Under the Proxies section, click Change Settings.
  • Update your settings with the necessary information that was provided to you.
  • Open your Settings.
  • Click Network & internet.
  • Click Proxy.
  • Click Set up under the automatic or manual section.
  • Enter your proxy information.

Click Save.

  • Select the lowercase i, in the WiFi section.
  • Scroll to HTTP Proxy section.
  • Click Manual.
  • Change the setting from Off to Manual.
  • Enter in the Server and Port information needed.
  • Tap Settings.
  • Tap Connections.
  • Tap Settings next to the network name.
  • Tap View More.
  • Tap Proxy, then select Manual.
  • Enter your proxy port and hostname.
NOTE: Proxy servers encrypt your IP address only; your ISP will still be able to see everything you’ve done online.

How to Set up a DHCP Reservation

If you’ve ever tried to print wirelessly, then you know how hard it can be to connect your computer to your printer. That’s probably because your printer’s IP address keeps changing. So to combat this issue, some people set up DHCP reservations, which tell your Wi-Fi network to assign a device the same IP address every time. How to set up a DHCP reservation depends on the operating system, but if you use Google Home:

  • Open the Google Home app.
  • Click Advanced Networking.
  • Click DHCP IP Reservations.
  • Click the plus sign to add IP reservations.
  • Click the device you want to assign a static IP address.
  • Enter the static IP address.
  • Click Save. 3

How to Protect Your IP Address

The most surefire way to protect your IP address is to use a VPN, but you could also use a proxy server or the Tor browser, as we detailed above. If someone has your IP address along with your personally identifiable information , or PII, they could steal your identity , which is why it’s best to keep your IP addresses hidden .

And there you have it: everything you ever wanted to know about static IP addresses and more. But if we still haven’t answered your burning questions, keep reading below or check out our VPN how-to guides for even more information.

Laptop Computer with Windows

How to Set a Static IP Address on Raspberry Pi

Make sure your Pi has the same IP every time you boot.

Static IP Address for Raspberry Pi

If you're trying to access a Raspberry Pi on your local network, there are times when you'll really need its IP address. Sure, you can usually SSH or VNC into a Pi by using its hostname, but for something like port forwarding on a router (which you'll use to create an externally-accessible Minecraft server or web server), an actual IP v4 address may be needed. The problem: every time you reboot your Pi, the IP address can change, based on what the router decides to assign at the moment.

Fortunately, there's a simple way to make sure that your Raspberry Pi always gets the same IP address on your local network or, at least, always tries to get the same address on your local network. It almost goes without saying that if, at the time it boots, another device that's powered on is already using the address in question, your Pi will either have no IP v4 address at all or (if you configured it as such) it will choose an alternative one. So keep that in mind.

Note that this tutorial assumes you already have a Raspberry Pi that's connected to your network. If not, please see our tutorials on how to set up a Raspberry Pi and how to set up a headless Raspberry Pi (no monitor required).

How to Assign a Static IP to a Raspberry Pi

1. Determine your Raspberry PI's current IP v4 address if you don't already know it. The easiest way to do this is by using the hostname -I command at the command prompt. If you know its hostname, you can also ping the Pi from a different computer on the network.

2. Get your router's IP address if you don't already know it. The easiest way to do this is to use the command ip r and take the address that appears after "default via."

3. Get the IP address of your DNS (domain name server) by enter the command below. This may or may not be the same as your router's IP. 

Now that you have the IP address your Pi is currently using, the router's IP address and the DNS IP address, you can edit the appropriate configuration file.

4. Open /etc/dhcpcd.conf for editing in nano.

5. Add the following lines to the bottom of the file. If such lines already exist and are not commented out, remove them.

Replace the comments in brackets in the box below with the correct information. Interface will be either wlan0 for Wi-Fi or eth0 for Ethernet.

In our case, it looked like this.

You may wish to substitute "inform" for "static" on the last line. Using inform means that the Raspberry Pi will attempt to get the IP address you requested, but if it's not available, it will choose another. If you use static, it will have no IP v4 address at all if the requested one is in use.

6. Save the file by hitting CTRL + X and reboot . 

From now on, upon each boot, the Pi will attempt to obtain the static ip address you requested.

Using the Raspberry Pi OS Guide to Set a Static IP

If you already have all the information about your router's IP and DNS IP, you can configure the static IP address using the Network Preferences menu instead of editing the dhcpcd.conf file.

1. Right click on the network status icon and select the Wireless & Wired Network Settings.

2. Select the appropriate interface . If you're configuring a static IP for Wi-FI, choose wlan0. For Ethernet, choose eth0.

3. Enter the IP addresses into the relevant fields.  Your desired IP address will be in the IPv4 field, followed by a /24. Your router's IP and DNS server's IP will be in the fields named after them.

4. Click Apply , close the window and reboot your Pi.

Your Pi will now attempt to use your desired IP address at each boot. However, the Network Preferences menu sets this as a preference, not an absolute. So, if the IP address you asked for is not available, it will use another.

Stay on the Cutting Edge

Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.

Avram Piltch

This Raspberry Pi volumetric display is a new spin on LED 3D animations

Raspberry Pi RP2040 spotted in super tiny unofficial Game Boy handheld

WhiteFox Eclipse High Profile Review: Reinventing a Legend

  • AusMatt Typo: grep "namesever" /etc/resolv.conf Should read: grep "name r sever" /etc/resolv.conf Reply
  • alan tracey wootton With an Arduino that is serving a web page one can use mDns instead of keeping track of the local IP address. Add this to your Setup(): if (MDNS.begin("esp32")) { MDNS.setInstanceName("count server demo"); MDNS.addService("http", "tcp", 80); MDNS.addServiceTxt("http","tcp","counter","true"); }Then that webpage is available locally in chrome and safari as: http://esp32.local./I didn't test the other browsers. I'm sure this works for a Pi also even though I haven't tried it yet. mDns might be on by default. The url would be http:// raspberrypi .local./To check, try this command: dns-sd -B _http._tcpWhen I do that I find that both of my printers are serving http (a supply level page) in addition to the microcontroller. Reply
  • wl84 When I run the nameserver command I get two results back - 192.168.11.1 and 192.168.68.1. I tried both in the config and I can't connect to anythign with either. I'm trying to setup pihole Reply
  • View All 3 Comments

Most Popular

By Sammy Ekaran January 04, 2024

By Sammy Ekaran December 24, 2023

By Sammy Ekaran December 23, 2023

By Les Pounder December 10, 2023

By Les Pounder December 05, 2023

By Sammy Ekaran December 04, 2023

By Sammy Ekaran December 02, 2023

By Sammy Ekaran November 06, 2023

By Sammy Ekaran November 05, 2023

By Les Pounder November 04, 2023

By Sammy Ekaran November 03, 2023

Managed DNS Services

  • Dynamic DNS
  • Managed DNS

5 Simple Steps for an Easier DDNS Setup

  • February 15, 2024 ·
  • by Hazel Salinas ·

setup a static ip address

Effortlessly Manage Your IP Network with No-IP

Are you tired of the hassle of managing costly static IP addresses ? Perhaps you stumbled upon No-IP while seeking a simpler way to access your devices remotely . Dynamic DNS (DDNS) might initially seem complex , but fear not – mastering it is simpler than you think. With just 5 straightforward steps, you’ll become a DDNS expert in no time.

1. Create a Memorable Hostname

The first step to being an expert of Dynamic DNS is to sign up for a No-IP account and create an easy-to-remember hostname. Since this will be the way you connect to your device from now on, we’d recommend you make it short and easily identifiable. Since you can connect to more than one device on the same network, opt for succinct and distinctive names like “camera1.ddns.net” or “outsidecamera.ddns.net” to effortlessly distinguish between multiple devices.

2. Keep Your Dynamic Update Client Active

Ensuring seamless Dynamic DNS functionality requires running a Dynamic Update Client continuously. This client functions by monitoring your IP address at 5-minute intervals and upon detecting a change, promptly notifies the Dynamic DNS provider to update your hostname.

This ensures seamless connectivity, as your device remains linked to the assigned hostname even amidst IP address changes. Your device remains online without interruption , and you can

say goodbye to the inconvenience of memorizing new IP addresses.

3. Use Your Hostname Like An IP Address

Your hostname replaces cumbersome IP addresses for remote connections . Instead of wrangling with numerical sequences, simply input “camera.ddns.net” into your preferred application for instant remote access. Now you can share access to resources like your Minecraft server effortlessly with family and friends using your easy-to-remember hostname.

4. Don’t Let Your Hostname Expire

Ensuring your hostname never expires is key to safeguarding your connection . Make sure to confirm its validity when prompted each month with our email reminder to maintain uninterrupted access.  For a more worry-free experience, consider upgrading to No-IP’s Enhanced Dynamic DNS . Not only will you eliminate the need to confirm your hostname every 30 days, but you’ll also unlock additional features like advanced record creation and increased hostname limits.

5. Opt for No-IP Integrated Devices

Simplify your setup even further by choosing devices integrated with No-IP. While No-IP is commonly integrated into devices like Netgear and Foscam, it’s wise to double-check compatibility before purchase.

For those devices without integrated support, you’ll need to rely on our Dynamic Update Client on a computer that is always on. There are workarounds , but for those just starting their Dynamic DNS journey, we’d suggest using an integrated device for seamless DDNS management. Require further assistance? Explore our comprehensive Dynamic DNS troubleshooting guide or visit our Customer Support Center for some extra help.

Simplify Your DDNS Setup with No-IP

Dynamic DNS doesn’t have to be daunting. With our 5 simple steps, you’ll have the freedom to remotely access your device from anywhere. No-IP’s free service allows you to keep what you have and the tools to bring it all together and make it more manageable.

However, as you acquire more devices or your business starts scaling, you might find yourself needing a package that better fits your growth. No-IP Pro Dynamic DNS is not only easy to upgrade to but priced competitively . Even better, it has the features needed to seamlessly manage and connect to a fleet of devices, websites, and services.

Say goodbye to the complexities of managing static IP addresses and hello to effortless remote access. Embrace the simplicity of DDNS with No-IP and stay connected to what matters most. Learn more about how we can support your growing business .

  • Grid Infrastructure Installation and Upgrade Guide
  • Configuring Networks for Oracle Grid Infrastructure and Oracle RAC
  • Oracle Grid Infrastructure IP Name and Address Requirements

IP Name and Address Requirements for Manual Configuration of Cluster

For Oracle Flex Clusters and Oracle Member Cluster for Applications, configure static cluster node names and addresses if you do not enable GNS.

IP Address Requirements for Static Clusters

Public and virtual IP names must conform with the RFC 952 standard, which allows alphanumeric characters and hyphens ("-"), but does not allow underscores ("_").

Oracle Clusterware manages private IP addresses in the private subnet on interfaces you identify as private during the installation interview.

Public IP Address Requirements

The cluster must have a public IP address for each node, with the following characteristics:

Static IP address

Configured before installation for each node, and resolvable to that node before installation

On the same subnet as all other public IP addresses, VIP addresses, and SCAN addresses in the cluster

Virtual IP Address Requirements

The cluster must have a virtual IP address for each node, with the following characteristics:

Configured before installation for each node, but not currently in use

Single Client Access Name Requirements

The cluster must have a Single Client Access Name (SCAN) for the cluster, with the following characteristics:

Three static IP addresses configured on the domain name server (DNS) before installation so that the three IP addresses are associated with the name provided as the SCAN, and all three addresses are returned in random order by the DNS to the requestor

Configured before installation in the DNS to resolve to addresses that are not currently in use

Given addresses on the same subnet as all other public IP addresses, VIP addresses, and SCAN addresses in the cluster

Given a name conforms with the RFC 952 standard, which allows alphanumeric characters and hyphens ("-"), but does not allow underscores ("_")

Private IP Address Requirements

The cluster must have a private IP address for each node, with the following characteristics:

Configured before installation, but on a separate, private network, with its own subnet, that is not resolvable except by other cluster member nodes

The SCAN is a name used to provide service access for clients to the cluster. Because the SCAN is associated with the cluster as a whole, rather than to a particular node, the SCAN makes it possible to add or remove nodes from the cluster without needing to reconfigure clients. It also adds location independence for the databases, so that client configuration does not have to depend on which nodes are running a particular database. Clients can continue to access the cluster in the same way as with previous releases, but Oracle recommends that clients accessing the cluster use the SCAN.

The SCAN and cluster name are entered in separate fields during installation, so cluster name requirements do not apply to the SCAN name.

Oracle strongly recommends that you do not configure SCAN VIP addresses in the hosts file. Use DNS resolution for SCAN VIPs. If you use the hosts file to resolve SCANs, then the SCAN can resolve to one IP address only.

Configuring SCANs in a DNS or a hosts file is the only supported configuration. Configuring SCANs in a Network Information Service (NIS) is not supported.

Parent topic: Oracle Grid Infrastructure IP Name and Address Requirements

IMAGES

  1. How to Set Up a Static IP Address

    setup a static ip address

  2. How to Setup Static IP Address From Router Netgear R7000

    setup a static ip address

  3. How to Set a Static IP address in Windows 8

    setup a static ip address

  4. HOW TO SETUP STATIC IP ADDRESS

    setup a static ip address

  5. How to setup static ip address in virtual machine?

    setup a static ip address

  6. TX3 Configurator

    setup a static ip address

VIDEO

  1. Understanding an IP Address

  2. How to set a Static IP Address

  3. How to set up a static IP address in Windows 11

  4. STATIC IP address? para ANO?

  5. How to a Setup Static IP Address on Linux PART-30 Step-by-Step Demonstration

  6. What is my IP address

COMMENTS

  1. How to Set Up a Static IP Address

    Step 1: Open the Command Prompt Your first step should be to track down your computer's current IP address, subnet mask, and default gateway. Do this by opening the Start menu and searching for...

  2. How to Assign a Static IP Address in Windows 10 or Windows 11

    To set a static IP address in Windows 10 or 11, open Settings -> Network & Internet and click Properties for your active network. Choose the "Edit" button next to IP assignment and change the type to Manual. Flip the IPv4 switch to "On", fill out your static IP details, and click Save.

  3. How to Obtain and Set Up a Static IP Address

    That means it changes each time you connect. Dynamic IPs are generally the default for most Internet Service Providers (ISPs) when they set up private, individual home networks. But you can get a static IP address instead, if you want one. As the name implies, a static IP address doesn't change.

  4. How to configure a static IP on Windows 10 or 11

    Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt. This guide will walk you through the...

  5. How to set up a static IP address

    How to set up a static IP address A static IP address can facilitate remote access solutions and enhance network security. Setting up a static IP address is a simple process on most operating systems. In this article, we'll provide step-by-step instructions for configuring a static IP on all popular systems, as well as using your router.

  6. Configure a Static IP Address on a Computer in 3 Easy Steps

    1 Open Start . Click the Windows logo in the bottom-left corner of the screen. The Start menu will pop up. 2 Open Settings . Click the gear-shaped icon in the lower-left side of the Start menu. 3 Click Network & Internet.

  7. How to set static IP address on Windows 10

    To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi, click the connection, click on "Edit," select "Manual," turn on "IPv4," and set the static IP address. Alternatively, you can configure a static IP address from Command Prompt, PowerShell, and Control Panel.

  8. How to Set a Static IP Address for a Windows 10 PC

    Here's how to set a static IP address on your Windows 10 PC. Click the magnifying glass icon in the bottom-left corner of your screen. Then type IP Address into the search bar and click Open. You can also hit Enter on your keyboard if you see Ethernet settings. Then click Change adapter options. You will see this under Related settings.

  9. How to Set a Static IP Address on Windows

    1. Set Static IP Address Using Settings 2. Using Command Prompt 3. Using PowerShell Why Do You Need a Static IP Address A static IP address could be useful in various cases, including: Hosting: if you're hosting a website, having a dynamic IP address can be a hassle.

  10. How to Set Up a Static IP Address

    Choose Network. Pick the network connection you wish to use. Click the Details button next to the network (or the Advanced button at the bottom). Select the TCP/IP tab in the window that appears ...

  11. How to set a static IP address on Windows 11

    Default Gateway DNS Servers Type the following command to assign a static IP address on Windows 11 and press Enter: netsh interface ip set address name="Ethernet0" static 10.1.4.119 255.255.255. 10.1.4.1 In the above command, replace "Ethernet0" with the name of your network adapter.

  12. How do I set a static IP address in Windows?

    Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center. Click Change adapter settings. Right-click on Wi-Fi or Local Area Connection. Click Properties. Select Internet Protocol Version 4 (TCP/IPv4). Click Properties . Select Use the following IP address.

  13. When to Use a Static IP Address

    When Static IP Addresses Are Used. Static IP addresses are necessary for devices that need constant access. For example, a static IP address is necessary if your computer is configured as a server, such as an FTP server or web server. If you want to ensure that people can always access your computer to download files, force the computer to use ...

  14. What Is a Static IP Address?

    A static IP address is an IP address that was manually configured for a device instead of one that was assigned by a DHCP server. It's called static because it doesn't change vs. a dynamic IP address, which does change. Routers, phones, tablets, desktops, laptops, and any other device that can use an IP address can be configured to have a ...

  15. How to Set Static IP Addresses On Your Router

    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.

  16. How to set a static IP in Windows 10 [Easy Setup]

    1. Set it manually Right-click on the network icon on your taskbar. Select the Open Network & Internet settings option. Click on Change adapter options under the Change your network settings area. Right-click on your network connection and select Properties. Go to Internet Protocol Version 4 (TCP/IPv4) and click on it.

  17. How to Set a Static IP Address

    Select "Properties" from the drop-down menu. 4. Select Internet Protocol Version 4 (TCP/IPv4) Double-click on "Internet Protocol Version 4 (TCP/IPv4)". 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 ...

  18. How to set up and use a static IP address

    How to set a static IP on Windows 11. Enter "Settings" into the search bar and click Enter. Click the hamburger button and choose Network & internet. Click Advanced network settings. Scroll down to Hardware and connection properties and click it. Write down the current IPv4, Subnet mask, Default Gateway, and DNS server addresses for future use.

  19. How to Set a Static IP on Windows 11 [Manually]

    Any Windows device's settings can be tweaked in order to set up a static IP address. You can either have a static IP address that can be manually configured or a dynamic IP address that is automatically assigned. A static IP is constant as it does not change anytime you log off and log back in.

  20. How to Set a Static IP Address in Ubuntu

    Set a Static IP in Ubuntu with the GUI. Click the icons at the far-right end of the system bar to show the system menu, then click on the "Wired Connected" menu option. If you're using a wireless connection, instead click the name of your Wi-Fi network. The available connections are displayed.

  21. CONFIGURE A STATIC IP ADDRESS IN 4 MINUTES!

    This is How To Configure a Static IP Address. We give you 2 examples, one on a Windows Computer and one on a PlayStation 5 console. If you have any questions...

  22. How to configure a static IP address

    Then, find the "IP assignment" section and click the "Edit" button. Change to Manual. In the "Edit IP settings" window, change the setting from "Automatic (DHCP)" to "Manual.". Toggle on the "IPv4" switch to enable manual IP configuration. Fill in the IP address, Gateway, Network prefix length, and DNS fields.

  23. How to Configure Static IP Address on Ubuntu 20.04

    The first step toward setting up a static IP address is identifying the name of the ethernet interface you want to configure. To do so, use the ip link command, as shown below: ip link The command prints a list of all the available network interfaces. In this example, the name of the interface is ens3:

  24. What Is a Static IP Address?

    A static IP address is an IP address that stays the same. ... which tell your Wi-Fi network to assign a device the same IP address every time. How to set up a DHCP reservation depends on the ...

  25. How to Set a Static IP Address on Raspberry Pi

    Right click on the network status icon and select the Wireless & Wired Network Settings. (Image credit: Future) 2. Select the appropriate interface. If you're configuring a static IP for Wi-FI ...

  26. 5 Simple Steps for an Easier DDNS Setup

    With just 5 straightforward steps, you'll become a DDNS expert in no time. 1. Create a Memorable Hostname. The first step to being an expert of Dynamic DNS is to sign up for a No-IP account and create an easy-to-remember hostname. Since this will be the way you connect to your device from now on, we'd recommend you make it short and easily ...

  27. How do I set a static IP on ps5?

    How do I give my console a static IP address? Setting up a static IP on your Xbox One® From the Home Menu, select Settings. Select Network > Advanced settings > IP settings > Manual. Type in the chosen IP address then select Enter. Type in the Subnet mask. … Type in your Gateway. … Go back to Advanced settings then select Save.

  28. DHCP static address reservation · Cloudflare Magic WAN docs

    To reserve IP addresses: Configure your Connector to be a DHCP server. Select Add DHCP Reservation. In Hardware Address enter the MAC address. External link icon. Open external link. for the device you want a specific IP address for. In IP Address, enter the IP address for that device. (Optional) If you need to reserve more IP addresses, select ...

  29. IP Name and Address Requirements for Manual Configuration of Cluster

    The cluster must have a Single Client Access Name (SCAN) for the cluster, with the following characteristics: Three static IP addresses configured on the domain name server (DNS) before installation so that the three IP addresses are associated with the name provided as the SCAN, and all three addresses are returned in random order by the DNS ...