Static IP Configuration on Unraid Server

Abstract: Fixes Unraid internet loss after static IP setup by correcting gateway and DNS settings.

Created: 2026-09-14 by
To resolve the loss of internet access after setting a static IP on your Unraid server, you must verify that the Gateway and DNS settings in the Web UI match your router's configuration. The local network works because the subnet mask is correct, but routing fails when the default gateway address is missing or incorrect. This guide details the exact steps to restore full connectivity while maintaining your fixed address.

Understanding the Network Configuration

When you switch from DHCP to a static IP address, the system stops receiving automatic instructions for where to send traffic destined outside your local subnet. In most home and small office networks, this destination is handled by the router acting as the default gateway. If this value is not explicitly defined in the Unraid configuration, packets intended for the internet have no path to follow, resulting in the symptoms described: local shares are accessible, but web browsers cannot load external sites. Additionally, Domain Name System (DNS) resolution often fails silently if not configured properly. Even if the gateway is correct, your server needs to know how to translate domain names like "google.com" into IP addresses. Without valid DNS servers specified, the connection appears dead despite having a valid route to the internet.

Verifying Router Settings

Before modifying Unraid, ensure your router has reserved the IP address you intend to use. Log into your router’s administration panel and locate the DHCP reservation or Static Lease section. Create an entry that binds your Unraid server’s MAC address to the desired static IP. This prevents IP conflicts where another device might accidentally claim the same address, which would cause intermittent connectivity issues. Note the Subnet Mask, Default Gateway, and DNS Server addresses displayed in your router’s status page. These values are critical for the next step. For example, a typical home router uses 192.168.1.1 as the gateway and provides DNS services via its own IP or public resolvers like 8.8.8.8. Write these down accurately.

Configuring Static IP in Unraid

Access the Unraid Web UI by navigating to the server’s IP address in your browser. Go to the Main tab and click the Settings icon, usually represented by a gear symbol in the top right corner. Select the "Network Settings" option from the menu. You will see fields for IPv4 Address, Netmask, Gateway, and DNS. Clear any existing values in the IPv4 field and enter the static IP you reserved earlier. Ensure the Netmask matches your router’s configuration, typically 255.255.255.0 for standard Class C networks. Enter the Default Gateway address exactly as noted from your router. Finally, input the Primary and Secondary DNS servers. Using both a local DNS (your router) and a public one (like Google or Cloudflare) provides redundancy. After entering these details, click "Apply Changes." The interface may briefly disconnect as it reconfigures the network adapter. Wait for the page to reload or refresh your browser to reconnect using the new static IP.

Troubleshooting Connectivity Issues

If internet access remains unavailable after applying changes, perform a quick diagnostic check. Open the Terminal via the Tools menu and run ping 8.8.8.8. A successful response indicates that the gateway and routing are functioning correctly. If this fails, the issue lies with the gateway configuration or physical connectivity. Next, test DNS resolution by running nslookup google.com. If this command hangs or returns an error, the DNS settings in the Network Configuration are incorrect. Return to the Settings menu and verify the DNS entries. Common mistakes include typing extra spaces or selecting the wrong interface if multiple NICs are present. For advanced troubleshooting, you can inspect the routing table by running ip route show. Look for a line starting with default via followed by your gateway IP. If this line is missing, the system does not know how to reach external networks. In such cases, check if the network interface is enabled and assigned to the correct VLAN or bridge. If you suspect a conflict with virtual machines or Docker containers, ensure they are also configured to use the same gateway. Misconfigured bridges can sometimes intercept traffic meant for the host. Refer to IPTables: NAT Source Address Bridge Interface on Linux if you are using complex bridging setups that might interfere with host routing. Another useful resource for diagnosing packet flow is Finding Specific Data in Wireshark Capture, which can help visualize whether packets are leaving the interface correctly.

Frequently Asked Questions

Why does my local network work but the internet does not?

Local communication relies only on the IP address and subnet mask, which remain unchanged during the transition. Internet access requires a default gateway to route traffic outside the local subnet. If the gateway is missing or incorrect, the server cannot find a path to external networks, even though local devices are reachable.

Can I use public DNS servers like 8.8.8.8 instead of my router’s DNS?

Yes, you can use public DNS servers directly in the Unraid Network Settings. This bypasses your router’s DNS service entirely. However, some local features like hostname resolution within your LAN may fail if the public DNS does not know about internal devices. It is often best to use your router as the primary DNS and a public resolver as secondary.

What happens if I assign a static IP that is already in use?

An IP conflict occurs when two devices share the same address on the same network. This causes unpredictable behavior, including dropped connections and inability to access either device. Always reserve the IP in your router’s DHCP settings before assigning it statically to Unraid to prevent overlap with other clients.

How do I revert to DHCP if the static configuration breaks access?

If you lose access to the Web UI, connect a monitor and keyboard directly to the Unraid server. Boot into the OS and open the terminal. Run the command ip addr to identify your network interface name. Then, use dhclient to request a new lease from the router. Alternatively, edit the /boot/config/network.cfg file manually to set the method back to DHCP.

Does changing the IP affect my Docker containers or VMs?

Containers and VMs typically communicate with the host via a bridge interface, so their direct access to the host’s IP is not strictly required for internal networking. However, if you reference the host IP in container configurations or port mappings, you must update those references to the new static IP. Failure to do so may result in broken links or failed health checks.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More