Jump to content

FreeNAS not giving IP address despite being static

So about a month ago my ISP reset my router (can't remember what for) and it in a way broke my FreeNAS box.

Whenever I boot it, it doesn't give me an IP through DCHP. I tried making it static, it accepted it but then it doesn't give me the message of "The web user interface is at http://192.168.0.48"

20210619_032923.thumb.jpg.2cd3b5163ad096706cde2beac30f3971.jpg

It just gives me that, I honestly have no clue what to do to fix it, I've tried to set it in every way possible (to my knowledge).

 

FreeNAS-11.3-U5 is the version that's currently running

If any additional information is needed, I got you.

I just want my NAS back up and running after everything I went through with it.

Link to comment
Share on other sites

Link to post
Share on other sites

Does it have an actual connection?

First step would be to check the blinking lights on your FreeNAS and to your switch/router if they show a link.

 

 

You can then check the NAS by going into the shell and using ifconfig (sadly no ethtool for FreeBSD)

$ /sbin/ifconfig | grep media
$ /sbin/ifconfig {interface} | grep media
$ /sbin/ifconfig em0 | grep media
$ /sbin/ifconfig

Output should look like:

em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:30:48:98:9c:bc
        inet 10.24.116.2 netmask 0xffffffc0 broadcast 10.24.116.63
        media: Ethernet 10baseT/UTP 
        status: active

 

Link to comment
Share on other sites

Link to post
Share on other sites

What happens when you open 192.168.0.46? Does the FreeNAS box show as a connected device in your router? Are you sure .46 is free in the range and isn't being used by something else?

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, Dujith said:

Does it have an actual connection?

First step would be to check the blinking lights on your FreeNAS and to your switch/router if they show a link.

 

 

You can then check the NAS by going into the shell and using ifconfig (sadly no ethtool for FreeBSD)


$ /sbin/ifconfig | grep media
$ /sbin/ifconfig {interface} | grep media
$ /sbin/ifconfig em0 | grep media
$ /sbin/ifconfig

Output should look like:


em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 00:30:48:98:9c:bc
        inet 10.24.116.2 netmask 0xffffffc0 broadcast 10.24.116.63
        media: Ethernet 10baseT/UTP 
        status: active

 

20210619_042725.jpg

looks good to me but I'm out of element looking at this

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, EMB said:

 

looks good to me but I'm out of element looking at this

What happens if you do

 

ping 8.8.8.8

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Master Disaster said:

What happens if you do

 

ping 8.8.8.8

in shell on my NAS right?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, EMB said:

in shell on my NAS right?

Yep 🙂

 

BTW Ctrl + C or Ctrl + Z will stop the ping (otherwise it will run forever)

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Master Disaster said:

Yep 🙂

 

BTW Ctrl + C or Ctrl + Z will stop the ping (otherwise it will run forever)

20210619_043515.jpg

Now I'm no rocket scientist but it would seem there's no route to host

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, EMB said:

20210619_043515.jpg

Now I'm no rocket scientist but it would seem there's no route to host

OK, before going any further its probably worth rebooting the FreeNAS box.

 

Go back into the network config, set everything to DHCP, save and then do a full reboot of the box.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Master Disaster said:

Go back into the network config, set everything to DHCP, save and then do a full reboot of the box.

Agree, this looks like a bad gateway adres

What addresses are your other devices in? Like your windows computer? Also in the 192.168.0.x range?

I'm asking cuz 192.168.0.x isnt something i see alot on consumer routers. mostly it will be 192.168.1.x or 192.168.2.x but almost never 0

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Dujith said:

Agree, this looks like a bad gateway adres

What addresses are your other devices in? Like your windows computer? Also in the 192.168.0.x range?

I'm asking cuz 192.168.0.x isnt something i see alot on consumer routers. mostly it will be 192.168.1.x or 192.168.2.x but almost never 0

Yeah pretty much everything is in the 192.168.0.x range

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, Master Disaster said:

OK, before going any further its probably worth rebooting the FreeNAS box.

 

Go back into the network config, set everything to DHCP, save and then do a full reboot of the box.

Changed everything back to DHCP and rebooted, still having the same issue.

I noticed, at a glance, on the reboot while it's going through it's normal command line garble, that it was having an issue binding to .48 and 0.0.0.0:443. Dunno if that's of any help or is just some normal stuff.

Link to comment
Share on other sites

Link to post
Share on other sites

37 minutes ago, EMB said:

Changed everything back to DHCP and rebooted, still having the same issue.

I noticed, at a glance, on the reboot while it's going through it's normal command line garble, that it was having an issue binding to .48 and 0.0.0.0:443. Dunno if that's of any help or is just some normal stuff.

That's a loopback address, essentially it takes traffic intended for 192.168.0.48 and forwards it to 127.0.0.1 so the webserver is able to communicate with the rest of your network.

 

That would explain why you cannot access the webportal but not why the box has no internet connection in the first place.

 

What is the address on your routers web interface? Can you ping the router from the FN server?

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, Master Disaster said:

That's a loopback address, essentially it takes traffic intended for 192.168.0.48 and forwards it to 127.0.0.1 so the webserver is able to communicate with the rest of your network.

 

That would explain why you cannot access the webportal but not why the box has no internet connection in the first place.

 

What is the address on your routers web interface? Can you ping the router from the FN server?

192.168.0.1 and yes I can ping the router from the FN box

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, EMB said:

192.168.0.1 and yes I can ping the router from the FN box

That's weird. You definitely have FN set to obtain an IP via DHCP? Does the FN box show in your routers Connected Devices page?

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

29 minutes ago, Master Disaster said:

That's weird. You definitely have FN set to obtain an IP via DHCP? Does the FN box show in your routers Connected Devices page?

yeah it's set to obtain an IP via DHCP

There's a freenas in my connected devices showing up as 192.168.0.11 which is weird because it's never been below 192.168.0.40 but that could just be luck.

Trying to access http://192.168.0.11 does nothing btw

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, EMB said:

yeah it's set to obtain an IP via DHCP

There's a freenas in my connected devices showing up as 192.168.0.11 which is weird because it's never been below 192.168.0.40 but that could just be luck.

Trying to access http://192.168.0.11 does nothing btw

Then I'm at a loss, sorry. The static IP you set should have worked and DHCP should definitely work. It makes no sense that you can ping the router but have no route to the internet.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Master Disaster said:

Then I'm at a loss, sorry. The static IP you set should have worked and DHCP should definitely work. It makes no sense that you can ping the router but have no route to the internet.

Yeah I'm also at a complete loss lmao

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Master Disaster said:

Then I'm at a loss, sorry. The static IP you set should have worked and DHCP should definitely work. It makes no sense that you can ping the router but have no route to the internet.

Because here's the even funnier thing, I can access it through my PC on Windows, I can copy stuff to and from it. There's just no web interface.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×