February 26, 201115 yr Hi there I was just wondering right now my unraid server is connected via a gigabit switch and using dhcp so it seems to be chaning the ip address everytime I restart it. Just wondering how do I change it to static ip. Thanks
February 26, 201115 yr Just go to the web configuration, Settings > Network Settings and you can assign a static local IP there.
February 26, 201115 yr You can also modify the network.cfg file on your flash drive, and reboot. # Generated settings: USE_DHCP=no IPADDR=10.1.1.20 NETMASK=255.255.254.0 GATEWAY=10.1.1.1 HWADDR=00:30:48:B2:10:8E DHCP_KEEPRESOLV=no DNS_SERVER1=10.1.1.3 DNS_SERVER2=10.1.1.4 DNS_SERVER3=
February 26, 201115 yr A much better way to achieve this is to tell the DHCP server to always assign the MAC address of your server the same IP. Mixing DHCP and fixed addresses is a bad idea which may lead to IP problems. Each router offers the settings for those assignments.
February 26, 201115 yr A much better way to achieve this is to tell the DHCP server to always assign the MAC address of your server the same IP. Mixing DHCP and fixed addresses is a bad idea which may lead to IP problems. Each router offers the settings for those assignments. I assigned my tower's IP outside of the DHCP range (*.1-50). Is that a viable workaround? I've never had routing or DNS issues.
February 27, 201115 yr It should not be a problem. In fact, DHCP will not use an assigned address even if it is in the range that DHCP uses. AFAIK, the main benefit of reserving the address in the router is centralized address management.
February 27, 201115 yr DHCP not only assigns IP addresses, but also DNS, IP-mask, gateway and other values. If any of them changes in your LAN, you have to change them on any device that is not a DHCP client. That is why all my devices have DHCP client enabled. It's kind of "best practice".
Archived
This topic is now archived and is closed to further replies.