Static IP

Status
Not open for further replies.

Sykes_21

Cadet
Joined
Sep 14, 2018
Messages
3
I'm new to FreeNas.

I installed the latest and greatest on a physical server that has 2 nics. (only one is active)
install goes perfect, I can configure volumes, it's all good.
But when I goto set the active nic to a static IP: 172.16.10.70 255.255.240.0
I loose network connectivity. I rebooted the server. still no luck. I look at console and it says:

Web User Interface is at:

https://172.16.10.70 but I can't ping or http to it.

I also tried to change IP via console with changing IP with same results.

I also selected "reset to defaults" and it brought the NIC back to DHCP and works. but the second I change to static I loose connection...

Any thoughts?
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
Any thoughts?

1 - Leave it DHCP and set the static assignment @ your router.
2 - Provide your specs in case you want the folks to help further.
 

Sykes_21

Cadet
Joined
Sep 14, 2018
Messages
3
Huawei Fusion Server RH2288 V3. All flash SSD drives 10TB in total.
2 nics. 512GB RAM. not sure what else you need for info...

172.16.0.0 /20 subnet. Windows 2012 DHCP & DNS servers. all on same VLAN.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
It probably tricked you and switched to the other port. Did you try swapping the wire?
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
not sure what else you need for info...

FreeNAS version would be good (latest and greatest means 11.1-U6 for me), but, have you assigned the default route for the interface when setting the static IP on it? Again ... must easier and painless do it on your router.
 
Joined
Jan 18, 2017
Messages
525
Just to be clear you have your other equipment setup with 172.16.0.xxx ip's but you want your freenas machine to be in 172.16.10.xxx instead of the 172.16.0.xxx range?
 
Joined
Dec 29, 2014
Messages
1,135
Honestly, the most likely culprit is something simple. Something like the host(s) you are using to ping FreeNAS don't have the subnet mask. I forget where I heard it, but it is almost always true. Inside every big problem is a little problem dying to get out. :smile:
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
I doubt it is a FreeNAS issue. You probably don't have your network configured properly. Are there any other machines at 172.16.10.xxx that you can ping?

What are you trying to accomplish? What is the IP address that gets assigned when you use DHCP?
 

Sykes_21

Cadet
Joined
Sep 14, 2018
Messages
3
Figured it out. All i had to do was add a Gateway, it was blank. soon as I added a gateway, worked fine.
 
Status
Not open for further replies.
Top