Jump to content

Unraid server not getting a DHCP IP address


Go to solution Solved by ArxKnight,

Recommended Posts

Posted (edited)

Hi,

 

I have moved my unraid server from a custom PC build over to a Dell R740XD chassis (Moved the disks and the Unraid USB over) however, when booting up Unraid can't seem to get an IP.

 

The original network.cfg:

 

# Generated network settings

USE_DHCP="yes"

IPADDR=

NETMASK=

GATEWAY=

BONDING="yes"

BRIDGING="yes"

 

 

When that didn't work, I tried deleting the network.cfg so it would generate a new one on boot to fix this issue hopefully, but that didn't seem to fix it.

 

Here is the new network.cfg:

 

# Generated settings:
IFNAME[0]="br0"
DHCP_KEEPRESOLV="no"
DHCP6_KEEPRESOLV="yes"
BONDNAME[0]="bond0"
BONDNICS[0]="eth0 eth1 eth2 eth3"
BONDING_MODE[0]="1"
BONDING_MIIMON[0]="100"
BRNAME[0]="br0"
BRNICS[0]="bond0"
BRSTP[0]="no"
BRFD[0]="0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="yes"
USE_DHCP6[0]=""
SYSNICS="1"

 

Unraid Server OS Version: 6.12.8

 

I have tried to boot Unraid with the GUI but it doesn't seem to load the GUI even when booting in safe mode.

 

Currently, Unraid is only getting a local IP of 169.254.0.0/24 (so basically it's not able to see the DHCP server or some reason)

 

I currently have 1 NIC connected.

 

Any and all help with this would be much appreciated. Thank you

 

 

Edited by ArxKnight
  • ArxKnight changed the title to Unraid server not getting a DHCP IP address
Posted

From the console (attached monitor and keyboard) check to see if computer boots to a login prompt.  If it does, login.  Then type the following commands:
 

diagnostics


powerdown

 

Remove the flash drive.  Then upload the diagnostics file that should be in the  /logs  directory/folder. 

 

IF it does not boot to a command prompt, take a picture of the monitor screen. 

Posted
2 minutes ago, Frank1940 said:

From the console (attached monitor and keyboard) check to see if computer boots to a login prompt.  If it does, login.  Then type the following commands:
 

diagnostics


powerdown

 

Remove the flash drive.  Then upload the diagnostics file that should be in the  /logs  directory/folder. 

 

IF it does not boot to a command prompt, take a picture of the monitor screen. 

Hi,

I can get into the OS via the command line and was able to grab the diagnostics.

 

please find the diagnostics attached.

 

Thanks

tower-diagnostics-20240607-2130.zip

Posted

Based on what is shown in the network-rules.cfg I can see that Unraid is seeing the NIC that is connected to the network -

 

 

This is the NIC that is connected to the network.

image.thumb.png.5a0178cc3366265b383961bd5df630f3.png

 

This is a list of all the network ports on the server with their MAC addresses:

image.thumb.png.9fcf0f8c10b743e69aa34c13785460fc.png

 

  • Solution
Posted

It looks like the whole reason I couldn't get an IP is because there is a setting in the Dell iDRAC settings called "OS TO iDRAC PASS THROUGH", this has to be set to "Disabled" rather than "USB NIC" as it will prevent the OS from being able to get a DHCP address. I hope this help anyone in the future when installing unraid on a Dell Server.

 

image.thumb.png.48a8ef7121458d6b899ce0a6a34cc1f4.png

 

Thank you @Frank1940 for helping and @grenskul from the "Data Hoarding/Homelab" Discord server for telling me about this setting.

  • Upvote 1

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...