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 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" 220.127.116.11 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" 18.104.22.168 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 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 Microsoft announces paid subscription for Windows 10 users who want OS updates beyond 2025
- 3 This new Thunderbolt 4 docking station puts four 4K monitors, 40Gbps transfer speeds, 16 ports, and 98W of power are at your fingertips
- 4 Microsoft celebrates Copliot's first anniversary with a new Deep Search tool that could help dethrone Google from its search dominance
- 5 Dragon's Dogma 2 FAQ: Gameplay mechanics, trailers, and everything else you need to know
- Holiday Gifting Central
- Editor's Choice: Best Tech Gifts
What Is a Static IP Address?
An explanation of a static IP address and when you would want to use one
- Emporia State University
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:
Get the Latest Tech News Delivered Every Day
- What Is an IP Address?
- What Is a Private IP Address?
- What Is a Dynamic IP Address?
- How to Set Up Port Forwarding
- When to Use a Static IP Address
- The Best Free and Public DNS Servers (December 2023)
- What Is DHCP? (Dynamic Host Configuration Protocol)
- DNS Servers: What Are They and Why Are They Used?
- What Is a Public IP Address? (and How to Find Yours)
- How to Change the IP Address on Your Android
- UltraVNC 22.214.171.124
- NETGEAR Default Password List
- What Does Dynamic DNS Mean?
- Understanding the 192.168.1.100 IP Address
- Cisco Default Password List
- How to Work With IP Address 192.168.100.1
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
How to set static IP address on Windows 10
You can assign a static IP address manually on Windows 10 in many ways, and in this guide, you'll learn how.
- To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi .
- Then 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.
On Windows 10, setting a static IP address to a computer is a configuration you may need to set up in many scenarios. For instance, if you plan to share files , a printer on a local network , or configure port forwarding.
If you don’t assign a static IP address, services or a port forwarding configuration may eventually stop working. The reason is that, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change anytime, as soon as you restart the machine or after the dynamically assigned configuration lease expires.
This guide will teach you the steps to set a static IP (version 4) address to a Windows 10 device when providing a service on the network or simply configuring port forwarding to your device on the router.
Set static IP address on Windows 10
Set static ip address on windows 10 from control panel.
- Set static IP address on Windows 10 from Command Prompt
- Set static IP address on Windows 10 from PowerShell
To assign a static IP address on Windows 10, use these steps:
Open Settings on Windows 10.
Click on Network & Internet .
Click on “Wi-Fi” or “Ethernet.”
Click on the current network connection.
Under the “IP settings” section, click the Edit button.
Using the drop-down menu, select the Manual option.
Turn on the “IPv4” toggle switch.
Set a static IP address to use by the Windows 10 computer.
Specify a “Subnet prefix length” (subnet mask). If the subnet mask is 255.255.255.0 , the subnet prefix length in bits is 24 .
Specify a “Default Gateway” address.
Specify a “Preferred DNS” address.
Specify an “Alternate DNS address” (if applicable).
Click the Save button.
After you complete the steps, you can test your settings using your web browser to open a website.
To assign a static IP from Control Panel on Windows 10, 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.
Right-click the network adapter and select the Properties option.
Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
Click the Properties button.
Select the Use the following IP address option.
Assign the static IP address – for example, 10.1.2.220 .
Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .
Specify a Default gateway . (Usually, your router’s IP address. For example, 10.1.2.1 .)
Under the “Use the following DNS server addresses set Preferred DNS server” section, set the Preferred DNS server address , usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.2.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 your web browser and load a website to see if the configuration works.
Set static IP address on Windows 10 from Command Prompt
To set a static IP address on Windows 10 from Command Prompt, use these steps:
Open Start on Windows 10.
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
Type the following command to assign a static IP address on Windows 10 and press Enter :
In the above command, replace Ethernet0 with the name of your network adapter. Change 10.1.4.220 255.255.255.0 10.1.4.1 with the device IP address, subnet mask, and default gateway address corresponding to your network configuration.
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, replace Ethernet0 with your adapter’s name and 126.96.36.199 with an alternate DNS server address.
After you complete the steps, you can test the new configuration using the ping command (for example ping google.com ) to see if the internet is working. Alternatively, you can open a website to see if the configuration works.
Microsoft is in the process of retiring netsh from Windows 10. As a result, you should start using the “NetTCPIP” networking module available in PowerShell instead.
Set static IP address on Windows 10 from PowerShell
Windows 10 also includes the PowerShell command line platform that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change the IP address settings of your computer.
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 :
After running the command, note the following information:
Type the following command to set a static IP address and press Enter :
In the command, replace the InterfaceIndex number (5) 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 :
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 (5) with your network adapter’s corresponding number. Also, change ServerAddresses with the DNS IP address.
After you complete the steps, you can test the new configuration by opening your web browser and navigating a website.
Whatever method you use, assigning an IP address within the network range and outside of the DHCP server scope is recommended to allow proper connectivity and avoid address conflicts. If multiple devices share the same address, this will cause a networking conflict, preventing connection to the internet.
Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He's 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+ & Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter) , YouTube , and LinkedIn .
- Windows 11 build 25314 rolls out new features in Canary Channel
- How to completely remove printer driver on Windows 10
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.
Do you have a suggestion for improving this article?
Characters Left : 500
Access your NETGEAR
How do I set a static IP address in Windows?
Was this article helpful? Yes No | 8 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:.
- XR1000-1RNNAS (ENTOUCH)
- XR1000-1RNNAS (GRANDE)
- XR1000-1RNNAS (RCN)
- XR1000-1RNNAS (WAVE)
- ProLine 6100
- Versalink 7500
- CENTRIA (WNDR4700/4720)
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.
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.
Powerline and Wall Plug Extenders
Cable and DSL Modem Routers
ReadyNAS Network Storage
Wireless Access Points
Other Business Products
Static ip vs. dynamic ip: what is the difference.
Which is right for you, static IP or dynamic IP?
What is an ip address, internal ip addresses, what is a dynamic ip address, external ip addresses, what is a static ip address, how to set an internal static ip address, how to get an external static ip address, usually, dynamic is all you need, key takeaways.
Dynamic IP addresses are allocated by your router and subject to change while static IP addresses are manually configured and never change. For most cases, dynamic IP addressing is perfectly adequate. A static IP address is useful, though, if you want to access your home network remotely.
Dynamic IP addresses are set automatically, but liable to change each time your computer boots up. Static IP addresses need manual configuration, but always survive reboots. Is one better than the other?
An IP address is a numerical label that identifies each device on a network. Networking protocols use the address of each device to deliver network traffic to them. The most commonly used networking protocol is TCP/IP ( transmission control protocol/internet protocol ). This is where the "IP" in "IP address" comes from.
Each IP address must be unique. When two devices communicate across a network, data is transmitted by one device and received by the other. In an on-going two-way "conversation", this is repeated back and forth between the two devices for as long as they need to communicate.
The data is broken down into manageable chunks, called packets , which are sent as a sequence of short transmissions. Each packet is labeled with metadata . The metadata contains information like the size of the packet, the total number of packets in the transmission, and the number of the packet in the sequence.
This allows the data to be reconstructed when it has been received, and it allows missing packets to be identified.
Of course, each packet needs to be labeled with the IP address of the destination device so that the network switches and routers know where to send them. The IP address of the sending device is included too, so that the receiving device knows who to reply to, or to request that missing packets be resent.
IP Version 4 and IP Version 6
There are two IP standards in use. One is the older and much more common IP version 4 or IPv4, and the other is the newer IP version 6 , or IPv6.
IPv6 was designed to overcome the problem of the world running out of IPv4 addresses. As the number of connected devices rises, the pool of available IPv4 addresses dwindles. The IPv6 standard raises the number of possible addresses by a massive order of magnitude.
An IPv4 address uses 32 bits to describe the entire address, giving 8 bits to each of four numbers that can range from 0 to 255. IPv4 IP addresses look like this:
An IPv6 address uses 128 bits to describe the address, allocating 16 bits to each of 8 hexadecimal numbers that can range from 0x0 to 0xFFFF (65535). A full IPv6 address looks like this:
IPv6 addresses can be written with leading zeroes removed.
Once per address, a sequence of consecutive zeroes can be omitted.
IPv4 is still the most commonly used format .
Every networked device, whether using a wired connection or Wi-Fi , has an IP address. Because they're used to direct network traffic to the correct recipient devices, they must be unique within their own networks. Two (or more) devices with the same IP address will cause problems with failed transmissions and lost packets.
Internal IP addresses are used to identify devices and to route network traffic in local networks. They're not visible to computers in other, external networks such as the internet.
When a computer on a private, local network wants to connect to a remote computer such as a web server, it sends its connection request to its local router. The router communicates across the internet on the local computer's behalf. It brokers the bi-directional communication between the local computer with its private, internal IP address, and the remote server.
A dynamic IP address is one that's automatically assigned to a device by a router. Computers and laptops aren't manufactured with IP addresses baked into them. They need to be given an IP address when they're connected to a network. On large networks this is a tedious task. Some network hardware such as routers have a default IP address of 192.168.1.1 so that they match typical private network settings, but these can be changed if they don't match your network.
What is burned into every network device, however, is a MAC ( media access control ) address. MAC addresses are unique, globally.
Network routers maintain a list of MAC addresses and IP addresses . They look up the destination IP address of each packet, find the MAC address, and send the packet to that hardware.
Instead of requiring each device to be manually configured with an IP address, dynamic IP addressing automates manages the process of allocating IP addresses to network devices. The DHCP ( dynamic host configuration protocol ) makes this automation possible.
In a DHCP-enabled network, a device joining the network sends a DHCPDISCOVER signal out on the network. The DHCP server — on home networks this is usually inside your router — responds with a DHCPOFFER message. This offers an IP address the device could use, and other information about the network.
If the device wants to use that IP address, it sends a DHCPREQUEST signal to the DHCP server. The DHCP server responds with a DHCPACK signal, verifying the IP address and other settings that the device should use.
Dynamic IP Addresses Can Change
In that way, the device automatically gets an IP address and all the information it needs to connect to — and communicate across — the network. However, it only gets the IP address on a lease. It isn't assigned to it permanently. If the device wants to keep the IP address, it must periodically make a request to renew the lease . The lease period is part of the information included in the DHCPOFFER message.
Usually, there's no problem in the device being reallocated the same IP address. But if a device is turned off and cannot make a lease renewal request before the lease expires — for home networks the lease period is often set to 12 hours — the IP address is free to be allocated to a different device. The device that was using that IP address previously is given a different IP address when it is restarted.
We can use the dhclient command with the -v (verbose) option to see some of the communication between your Linux computer and your DHCP server.
sudo dhclient -v
We're told the MAC address that the computer is listening and sending on, and we can see the DHCPREQUEST and DHCPACK messages.
Networks that connect to the internet have an IP address allocated to them by their ISP (internet service provider), known as an external IP address. This is the IP address that the network displays to the internet, so they're also called public IP addresses.
Because your router acts a bridge between your private network and the internet, it needs an internal IP address so it is accessible to the devices on your network, and an external IP address so that it can communicate with your ISP's equipment. All of your internet traffic goes through this external IP address.
Your internal IP addresses are likely to start with 10, 172, or 192. External IP addresses can use (practically) all the other values.
Loosely similar to the function of a DHCP list in your private network, the internet's DNS ( Domain Name Service ) translates domain names and URLs to IP addresses, directing internet traffic to the correct (external) IP addresses.
A static IP address is an IP address that never changes and is unaffected by tools like DHCP. A device with static IP addressing retains its IP address no matter how often it's rebooted or how long it's offline.
Static vs. Dynamic IP Addressing
There's an obvious convenience to using DHCP to automatically allocate IP addresses. The drawback with DHCP is the leasing of IP addresses. You cannot guarantee that a computer — or any other network device — will get the same IP address if it is restarted after being offline.
Most of the time, that won't matter. As long as your devices are connected and operational on the network, and can get to the internet, that's usually all that we need. But sometimes you'll have applications that need to talk between computers, or devices such as a NAS ( network attached storage ) or media center that work best with fixed, static IP addresses.
It's perfectly acceptable, and quite common, for a network to use a mixture of DHCP and static IP addressing. DHCP is used to simplify the allocation of IP addresses to the majority of devices, and static IP addressing is used for the special cases.
Setting a static IP address in Ubuntu is fairly straightforward. The first step is to make sure you're selecting and configuring an IP address that isn't already in use by another device. You can use the ping command to check that.
Once you've selected your IP address, you can use the ncmli con add command to add a connection, and the nmcli con mod command to set it to static IP addressing. We've got a detailed step-by-step tutorial that walks you through the process. It covers a GUI method too, if you prefer to avoid the command line.
You can use static IP addresses on Windows 10 and 11 computers too, and of course we've got guidance for you on that.
If you use containers such as Docker, you can assign static IP addresses to your containerized computers .
Without a static external IP address, your router's external IP address is liable to change if it reboots. In almost all cases, this really doesn't matter. But if you have self-hosted services that you need to reach when you're out and about , an external static IP address is a must.
Your external IP address is provided by your ISP, and they're the only ones who can change the settings on it. For a small additional charge, your ISP should be able to allocate an external static IP address to you.
You can use an external static IP address to remotely access your router and the private network behind it, because you'll always know what your external IP address is. Domain names are easier to remember and share with others. You could buy a domain name and have it point to your external static IP address.
Another way to obtain the same effect is to use DDNS (Dynamic Domain Name System) routing . With this setup, you configure your router to contact your DDNS provider each time it boots or gets a new external IP address.
The DDNS provider updates the domain name entry for your domain so that it points to the new external IP address. All connection requests that come into your domain name are routed to your current external IP address.
Unless you have specialist cases, dynamic internal and external IP addresses are all that is required. As long as your devices have unique addresses — and DHCP will look after that for you — you'll have nothing to worry about.
If you need to guarantee that a computer or other device on your local network always has the same IP address, configure it with a internal static IP address.
If you need to be able to remotely access your network, either pay your ISP for an external static IP address, or use a DDNS service.
How to Set a Static IP Address
There are many reasons that you may need to change and set a static IP address for your IP device, such as a managed switch , wireless router , or outdoor access point . One reason is because an installation scenario doesn’t have an active network with DHCP services. Some other reasons you may need to set a static IP are because you use a dedicated web server, host server, VPN, or VoIP services.
Setting static IP addresses can help to avoid network conflicts which could cause certain devices to stop working correctly. However, in most installation scenarios, users will use a regular network and will not need to use a static IP. Setting a static IP address is an advanced networking function, and a basic, fundamental knowledge of TCP/IP is needed.
In general, statically address devices outside of your DHCP pool range, which in most home networks is your router . For reference, the DHCP pool range for TRENDnet products is usually (but not always) 192.168.10.101 to 199.
1. Access the Control Panel
In the Windows search bar, type in “ncpa.cpl” and then press enter.
If you are not using Windows 10, follow the steps below instead.
- 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.
2. Select the Network Adapter
Right click on the network adapter that is currently connected to the device that you are trying to configure. Usually, it will be the adapter with the word “Ethernet” in the name.
3. Select Properties
Select “Properties” from the drop-down menu.
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 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
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.
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 Assign Static IP Address to Your Devices
Last Updated on March 29, 2019 by Mrinal Saha
By default, your router assigns dynamic IP Address to every device that connects to it. This is called DHCP (short for Dynamic Host Control Protocol). But sometimes, we need our devices to have the same IP address (i.e. Static IP) every time it connects to the network. Reason being,
- Access your computer from the Internet.
- Share data between two devices on the same network.
- Quickly access your Network Printer or NAS.
- Use your computer as a media server.
- Or your work WiFi requires you to use Static IP address.
What IP address should you choose?
If two devices on the network have the same IP address, then there will be conflicts. The Internet won’t work on one of them or both, depending on your router. So, it’s important to assign a unique IP address to your computer. There are a couple of ways to pick an unused IP address.
For instance– first find your device’s IP address , say it’s 192.168.1.7 ; then keep the first three values (i.e. 192.168.1) as it’s and replace the last digit with some far number like 192.168.1.222 . Though make sure the last digit should be between a 0-255 range.
Assigning Static IP address to most devices is easy, just go to its network settings, look for DHCP option and turn it OFF. Once you do that, you’ll see a text area to enter Static IP address. Enter the new IP address there, save changes and that’s it.
So let’s see how to Assign Static IP address to various Operating Systems
1. Assign IP Address on Windows 10/8/7
You can do this quickly through the command line. You will need to first find your subnet mask, default gateway, and network adapter name. In my case, I’m on a Wi-Fi network, so the adapter name is Wi-Fi. To find yours just type the following command.
Once you get the output, find for the Network Adapter which has IP listed under it. The adapter name is a one-word name suffixed to the end of the Network Title. You will also need the Subnet mask and the Default Gateway Address.
Once you have the adapter name, Subnet Mask and Default Gateway, run the following command.
Wherein, Wi-Fi should be replaced by your adapter name and the IP, subnet mask and gateway address according to your configuration.
This will change your IP address from DHCP to manual with the static IP address you have specified.
In case you find it too confusing, you are not alone. You can do the same via GUI which is much more intuitive. You’ll need the Subnet Mask and Default Gateway Address . You can refer to the above step on how to find these details. Once you have noted down the address, click on Start Menu and type in Network and Sharing Center. Click once you see the Network and Sharing Center Icon.
Alternatively, if you are in Windows 10 then you can right-click on the Start menu and click on “ Network Connections “.
A new window will open, click on Change Adapter Options.
Right Click on your Current Network Adapter ( like WiFi) and choose Properties.
When the new window pops up, select Internet Protocol Version 4(TCP/IPv4) and click on Properties.
Once you get the pop-up window, select “ Enter the IP address you want ” and fil the IP Address, For Subnet Mask , and Default Gateway Address enter the values that you have noted down previously. Next, click on OK to save changes.
To switch to dynamic IP, click on Obtain the IP address automatically. Once this is enabled, your system will start picking an IP address dynamically from the router.
2. How to setup static IP on Ubuntu
On Ubuntu, you can set a static IP Address via the terminal or GUI. Firstly, let’s start with the command line. Right-click anywhere on the desktop to open the terminal.
Once the terminal window opens, we need to run a command. We need the subnet mask and network adapter name in order to set a static IP and to get that, run the following command on the terminal.
Once you have the subnet mask noted down, in my case, it’s 255.255.255.0, we can proceed further.
It is pretty simple and straight forward. We need to open the Network Adapter settings. To do that, click on the Network Icon at the top right corner of the desktop.
Now, navigate on the active network and click on the expand button for more options. Click on Wired Settings to open the Network menu.
Once you get the Wired Settings dialogue, make sure you are on the Network page. Click on the Settings icon beside the active network to open the adapter properties.
When you get the pop-up, navigate to the IPv4 tab to change the IP settings.
On the IPv4 tab, select the radio button which says “ Manual “. Some text fields will appear, you need to enter the IP address, Netmask and Gateway accordingly. Once it is validated, you can click on the Apply button to register the changes.
Again you need to restart the network for the changes to take effect. You can do it manually via command line or just switch off and switch on the Network adapter. Once done, run ifconfig on the terminal to check the IP address. It should be the same IP address which you have specified earlier.
3. How to setup static IP on Mac
If you are on macOS, setting static IP is quite similar to that of Ubuntu. But, here you don’t need the subnet mask or Default Gateway Address. Right click on the apple icon at the top left corner of the desktop. Click on System Preferences from the dropdown list.
Once the System Preferences dialogue box displays, navigate to Network and click on it to open the Network Settings
Alternatively, you can also hit Cmd+Space to trigger the Spotlight search. Type “ Network ” in the search bar and click on the icon once it appears. This will directly navigate you to the Network Settings.
From the pop-up window, select an active network interface. For example, I am connected to a WiFi network so my active network is Wi-Fi. Make sure you are on the active network tab and then click on Advanced .
A new window will open the configuration settings for that adapter. Move over to the IP settings by clicking on the TCP/IP tab .
From the Configure IPv4 menu, choose Using DHCP with manual address. Enter a static IP address in the IPv4 Address and leave the Subnet Mask and Router field as default. Click Ok to save the changes.
Now when you do an ifconfig, the system should be using the static IP you have defined in the previous times. If the IP’s have not changed, try restarting the Wi-Fi and it should fix it.
To switch back to dynamic IP, move back to “ Using DHCP ” from the Configure IPv4 menu.
4. How to setup static IP on Android
The network which you are connected to should be on top of the list. Tap on the settings icon beside the Wi-Fi network name.
Once the pop-up opens, you will see IP settings at the bottom of the menu. The default option is “DHCP”. Tap on it to change the IP configuration.
Select “ Static ” from the presented drop-down menu. Enter the desired IP address and leave the other options as default. Make sure that other devices are not using the same IP. You can see the IP address of the other devices in your network by using a small utility called Fing . For a detailed process, check our article on how to find the IP Address of any Device on your network . Once you have entered the IP, click on Save to register the change. Now, your Android phone should start using the desired IP Address.
In almost all the Android version, you get the option to set static IP Address. For some rare older Android versions, you can use a third-party app like WiFi Static . It’s free and it doesn’t require ROOT.
To switch back to dynamic IP, repeat the same procedure and select “DHCP” from the IP settings instead.
5. How to setup static IP on iPhone and iPad
If you are using an iPhone or iPad, then you can set static IP Address natively. You would need the Subnet Mask of your network. This can be obtained from the Wi-Fi settings and we would see to it in the further steps. To get started, click on the Settings icon in the dock to get to the Settings menu.
Now on the Settings menu page, tap on Wi-Fi to get to the Wi-Fi settings.
On the Wi-Fi page, you should see your connected Wi-Fi network at the top. Click on the “i” button beside it. This will open the Wi-Fi configuration window.
Once the Wi-Fi settings page appears, you will see an option called “ Configure IP “. By Default, this would be set to automatic. Just below this option, you will see “ Subnet Mask “, note it down as we will need it in the further steps. In order to set static IP, we need to change Configure IP it to Manual. Tap on it and it will open the IPv4 settings page.
There should be 3 options available on the “Configure IPv4” page. Select “ Manual ” from it. As soon as Manual IP is enabled, you will get extra text fields at the bottom to enter the IP Address, Subnet Mask, Router. We need to fill in the IP Address of our choice and Subnet Mask which we noted down in the previous step. Now, after you fill both the fields, the save button at the top right corner will be enabled. Click on it to save the static IP configuration.
Now, when you return to the Wi-Fi settings page, you will see your device is using the Static IP address. This should be the same IP address we have set in the IP configuration menu.
This static IP address will be applicable only to that particular Wi-Fi network. In case, you connect to some other Wi-Fi network the IP will change accordingly.
6. How to setup static IP to any Device from Router
Other network devices like your Wireless Printer, PS4, NAS, IP Camera, Raspberry Pi , etc. do not have an Interface. Hence, in order to configure the network, either you have to connect remotely or use the router. If you have access to the router, setting Static IP for network devices is the easiest and convenient way. I would recommend this method over any other.
So, to assign a Static IP Address to any network device, you need to login to the web portal of the router. The web portal address, username, and password are mostly printed behind the router. In case you don’t have physical access to the router, the web portal URL is mostly the PC’s gateway address. To find that, open command prompt and type the following command.
Once you have the web portal loaded, log in with the credentials. Now every router has a different web UI, but the overall structure is the same. Basically, you will have to link the IP Address to the Mac Address and Hostname of the device. So, we need to find the MAC address & Hostname of the network device. To do that, look for DHCP client list which should look something like the following screenshot.
You can get your MAC Address & Hostname under DHCP Client list. Once, you have the MAC address & Hostname noted down, we can proceed further. On most of the routers, you will have the option to set a Static IP under the section IP Mac binding or DHCP Static IP option. In case you are on a custom ROM like dd-wrt, head over to Services tab and you will have DHCP Server . Under DHCP Server, add an entry for Static Leases by clicking on the Add button.
Clicking on the Add button will create a new row. You have to enter the MAC Address, Hostname, desired Static IP and Lease time . Lease time is a unit in minutes after which your IP will be renewed. Since we are adding only 1 entry for the particular host the IP will be the same even after the renewal. Once, done click on Save changes .
Once you have configured successfully on the router, just restart the Wi-Fi on the device. When it connects it should start using the static IP. In case of issues, make sure that you have the correct MAC Address and Hostname. To check, just run the command ipconfig or look back again in the router’s DHCP client list.
These changes are written to the ROM so restarting the router won’t make changes to the static IP configuration. In order to get back to Dynamic IP, just remove the entry from the IP leases.
Once you have started configuring the IPs on Router and network devices, you are good to go configure telnet and SSH. Have a look at our brief article on How to Enable Telnet Server in Windows 10 , Best SSH clients for iOS To Manages Remote Servers and 6 Best FTP Clients For Android . A word of caution would be to note down the static IPs assigned to devices as assigning the same IP to two network devices would render them useless.
Also Read: How To Change DNS on Windows|Mac|Android|iOS
Mrinal is a tech geek who spends half of his day reading and writing about tech. While the nights are spent on shooting or editing YouTube videos. Feel free to geek out with him on-
You may also like
12 fixes for tiktok not sending or receiving..., how to clear continue watching on amazon prime..., how to disable amazon email, alexa, and app..., how to get imgur links on computer and..., 7 fixes for snapchat support code ss06 on..., how to find and share your youtube music..., 11 fixes for the back button not working..., 8 fixes for youtube premium not playing in..., how to add a quiz to instagram story, how to highlight text in pdf on desktop....
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to use my static IP outside the network?
I want to use my static IP when I'm far away of my network / router. Like to make it portable. I'm not sure how to achieve this. Maybe through a vpn or proxy server? What's the simplest way to achieve this? Thanks.
- So your ISP have given you a static IP? This is what identifies your home (or business) on the Internet... Don't confuse this with a static IP on a LAN... If you have a record of your public IP then you can connect to it from anywhere. Set up port forwarding or a VPN to the IP and whatever you need to connect to will work. A VPN is by far the most secure but you need to configure them and not all "public" access locations (such as cafes, libraries etc.) Allow vpn ports... – Kinnectus Aug 18, 2014 at 22:13
- If you have a static IP issued by your ISP, simply buy a domain name and configure it to point to your IP address, or get a free subdomain from No-IP . If your IP is not static (dynamic), then use No-IP or a similar dynamic DNS service all the same. – Darth Android Aug 18, 2014 at 22:15
2 Answers 2
In my opinion VPN is best solution.
- Make sure if VPN server can work on your internet connection (at home). Some providers may have routers without VPN Passthrough and VPN server cannot work behind that kind of router. It's very rare to see router without it used by internet provider.
- Buy VPN router (if you dont have it).
- Configure your VPN on router (this may be more or less complicated, some routers have simple creators for VPN configurations)
- Configure your VPN on device (laptop?), use static IP inside VPN network or configure router to assign same IP
- Configure port redirection on router. You can use only port redirections, you cannot use whole IP because it must handle VPN incoming connections.
If what you are trying to do is access your PC from a remote location then I suggest TeamViewer http://www.teamviewer.com - works on Windows, OSX, iOS and Android - free for commercial use. I am not affiliated with TeamViewer; I am a satisfied customer.
You do not have any guarantee that your modems IP address will not change unless your ISP provides that guarantee (usually only if you pay more). That said it "tends" to stay the same for long periods of time. You can use port forwarding to a SINGLE machine on your network to do what you asked. It is kind of a pain but not overly complex (Kamil's answer addresses this). Repost if you want to know more about this (it would be helpful to know what kind of router and modem you have as well as your ISP).
- 1 I think he wants more than remote desktop. – Kamil Aug 18, 2014 at 22:26
- If so then you had a great answer. But if he does just want remote access then TV is much simpler than port forwarding and certainly less expensive than a new router. – Thomas Moser Aug 18, 2014 at 22:32
- I understand your idea now. However - computer at home must be turned on. We don't know why and how he wants to use home ip remotely, I didn't voted down your question, I just commented. – Kamil Aug 18, 2014 at 22:36
- TeamViewer is NOT FREE for commercial use. – Kamil Nov 1, 2018 at 20:22
You must log in to answer this question.
Not the answer you're looking for browse other questions tagged networking vpn proxy ip static-ip ..
- The Overflow Blog
- Are LLMs the end of computer programming (as we know it)?
- Featured on Meta
- Seeking feedback on tag colors update
- Site maintenance - Wednesday, December 13, 2023 @ 01:00 UTC (Tuesday,...
Hot Network Questions
- Pronouns of professors in Statement of Purpose
- Are banking and finance apps safe on android phone with cracked apps?
- How to let a recruiter know you're not seriously considering another job but you are exploring your options
- Can the chefs go?
- At the intersection of engineering and astronomy in its structure as a scientific discipline
- ASCII-art milk carton
- How do you create a report of reports?
- Cryptic PostGIS/GEOS topology error
- Is it possible to record a Mac's screen while booting or during the initial set-up?
- Which power source is good for my project?
- Why does more ice melt slower than less ice?
- Can sound waves be modulated?
- Are high speed crystals better at something compared to 32768 Hz crystals?
- Does an inherited IRA count toward a specific bequest?
- Does one accepted false statement allows proving anything?
- Does becoming a warlock mean said warlock will become a "Soul Coin" upon death?
- Is there, mathematically speaking, a QFT with the following properties?
- Creating a Card Stack with Geomery Nodes
- Why doesn't the UK government end "bona vacantia"?
- A Sierpiński Carpet ratio
- End of long rest vs finishing long rest
- What would happen if a small black hole fell into a star?
- What's the meaning and the use of "home" and "in"?
- Why does the heatshield have to be on the outside?
How to Configure Static IP Address on Ubuntu Server 23.10
To configure a static IP address on Ubuntu Server 23.10, follow these steps:
Step 1 : Begin by updating the package list and installing net-tools:
Step 2 : Check the list of Ethernet interfaces with the command:
Step 3 : Open the netplan configuration file by using the following command:
Add the following lines to set a static IP address, subnet mask, gateway, and DNS servers. Replace enp0s3 with your actual Ethernet interface name and adjust the IP address, gateway, and DNS values accordingly:
Step 4 : Apply the changes with the command:
Step 5 : Check the connection by pinging Google:
Ensure that you receive responses, indicating a successful network configuration.
Congratulations, you have successfully configured a static IP address on your Ubuntu Server 23.10!
How to Install Let's Encrypt SSL in Apache on Fedora 39
8 hours ago
How To Install WordPress with LAMP on Fedora 39
9 hours ago
How To Install phpMyAdmin With Apache on Fedora 39
20 hours ago
How to Install PHP 8.2 for Apache on Fedora 39
How to set up Apache Virtual Host on Fedora 39
How to Install and Configure Apache on Fedora 39
How to Install Let's Encrypt SSL in Nginx on Fedora 39
How To Install WordPress with LEMP on Fedora 39
Fedora 39 Guides
How To Install phpMyAdmin With Nginx on Fedora 39
How To Install MariaDB on Fedora 39
How to Install PHP 8.2 for Nginx on Fedora 39
How to Set Up Nginx Server Blocks on Fedora 39
How To Install FirewallD on Fedora 39
How to Install Nginx on Fedora 39