Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid starting with a super strange IP address

Featured Replies

I am unable to access the server after a power outage. The server seems to be setting an IP address that cannot be accessed.

I have attached a screenshot here, I am baffled, i just looked up how to check network config. Any ideas on what could be the cause and if there are any commands I should run to set this back to normal?

image.png

  • Community Expert

The 169 is a DHCP address, meaning that it was unable to obtain a proper IP address from your router within the set time. When it went searching for IP.

  • Community Expert

Here's some unraid web terminal things to check and double-check...

Run these in Unraid terminal:

# Show all IPs/interfaces
ip -br addr

# Show default gateway
ip route

# Show which gateway the server would use
ip route | grep default

*Find your main NIC, usually br0, eth0, or bond0.


# Replace br0 if your interface is different
IFACE=br0

Default should be br0...

# Show IP on that interface
ip addr show "$IFACE"

# Show DHCP lease info if present
cat /var/lib/dhcpcd/*.lease 2>/dev/null
cat /etc/dhcpcd.duid 2>/dev/null

Steps to Release/reacquire DHCP:

IFACE=br0

This will set the variable for future items targeting the necessary interface. default should be br0...

# Drop current DHCP lease
dhcpcd -k "$IFACE"

# Request a fresh DHCP lease
dhcpcd "$IFACE"


Verify dhcp data received.

# Recheck IP and route
ip -br addr
ip route

Ping gateway:

GW=$(ip route | awk '/default/ {print $3; exit}')
echo "Gateway is: $GW"
ping -c 4 "$GW"

Ping the Internet IP and DNS:

ping -c 4 1.1.1.1
ping -c 4 google.com

Script One-shot full check:

IFACE=br0
echo "=== IPs ==="; ip -br addr
echo "=== Routes ==="; ip route
GW=$(ip route | awk '/default/ {print $3; exit}')
echo "=== Gateway: $GW ==="
ping -c 4 "$GW"
echo "=== Internet IP ==="
ping -c 4 1.1.1.1
echo "=== DNS ==="
ping -c 4 google.com

If DHCP renew fails, restart networking from the Unraid GUI or use:

/etc/rc.d/rc.inet1 restart

Then recheck:

ip -br addr
ip route
ping -c 4 "$(ip route | awk '/default/ {print $3; exit}')"

Edited by bmartino1
added cod blocks... basic linux networking commands for dhcp / IP

  • Author

I have been fumbling around with your instructions not knowing exactly what I am doing but here is a screenshot

  • Author

image.png

image.png

  • Community Expert

The server is not getting an IP from the DHCP server, typically your router. Post the diagnostics to see if there's something more visible.

7 hours ago, alitech said:

I am unable to access the server after a power outage. The server seems to be setting an IP address that cannot be accessed.

I have attached a screenshot here, I am baffled, i just looked up how to check network config. Any ideas on what could be the cause and if there are any commands I should run to set this back to normal?

image.png

Thats the APIPA Adress range (Automatic Private IP Adressing) - normal, if there is no DHCP-Server...

https://www.techtarget.com/whatis/definition/Automatic-Private-IP-Addressing-APIPA

Edited by Zonediver

  • Community Expert
6 hours ago, JorgeB said:

The server is not getting an IP from the DHCP server,

Try rebooting your DHCP server, likely your router as Jorgeb said. If that doesn't do it, reboot every network device (switch) in between DHCP and your unRAID.

Can also assign address manually in unRAID. Be sure to use a valid dns address like 208.67.222.222 or 9.9.9.9 or others.

  • Community Expert

How are you getting these screenshots if your server can't be reached on the network?

  • Community Expert
4 hours ago, trurl said:

How are you getting these screenshots if your server can't be reached on the network?


The screenshot and pictures appear to be a QEMU VM spice connection / ipmi connection...

  • Community Expert
13 hours ago, alitech said:

image.png

image.png

type diagnostic and this will make and add a file onthe usb that you can post to the form for the mod JorgeB to inspect...

you typed teh comand worng its

dhcpcd

not dhcp...

  • Community Expert
1 hour ago, bmartino1 said:

type diagnostic and this will make and add a file onthe usb that you can post to the form for the mod JorgeB to inspect...

you typed teh comand worng its

dhcpcd

You somehow managed to "correct" someone's typos with 9 of your own, 2 being in the exact commands... Maybe just don't answer.

Edited by Kilrah

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.