Static IP address / My ip address

Hello I know I have posted about setting up a static Ip address, but I wanted to make sure I know my correct Ip address so that I can make the changes.

What’s the best way to see what my Ip address is? I want to setup a dedicated Ip address. For the past week or more I have been having trouble connecting to my Nas system and it seems like my Ip address keeps changing no more DHCP. Thanks so much

ip a will show it.

Ok here is a screen shot. I ran the ipconfig command and this is what comes up, is it the Ipv4 ip address I would use as a static Ip address. Thanks so much

Are you trying to set up static IP addresses on TrueNAS, Windows or both?

Guessing your router is at 192.168.1.1 and it gives out addresses by DHCP. Do you have the login info for your router?

Yes I am trying to setup a static Ip address for my Nas system

No I do not have that login info

What is your router make and model? We need to try to log in and see what address ranges it is sending out using DHCP and pick static addresses outside of that range or reserve the IP addresses for your static ip machines.

Phil gave you a command to run on your NAS. Why then did you run a completely different command on your Windows system?

And if you’re trying to configure a static IP address for your NAS, why does it matter what address it’s currently using? I mean, it’s easy to find out (just look at the console menu, which you’d need to use in any event), but why does it matter?

1 Like

So I just got off the phone with my internet provider they tell me I cannot login my router not sure why

Is your TrueNAS working right now with the network? I would suggest taking a screenshot of the Network page in the TrueNAS GUI. That will tell you the current setup for your address range, nameserver(DNS) and default route.
We might be able to work out a safe, static address and work on setting up the static address

You can post the screenshot back here.

If OP can get there, presumably he already knows the IP for the system. So why would he then be asking how to determine it?

If you can’t connect to the NAS then attaching a monitor to the server is the next best thing.
Certainly this was mentioned in the other thread already?

I took it as he is trying to set up the static ip. I was trying to determine the range of addresses currently give out by the Router and DHCP. I was also trying to get his current settings, before any changes.

@Robert_G , I have spectrum internet and originally I used their modem and router (two devices provided by them.)

To be clear – your router is where you need to reserve the static address.

I wanted to static addresses and found that their router doesn’t allow that – so I swapped out their router with a new one of my own. This is and was trivial. They don’t care. In fact, you may be paying rent on it and get stop when you turn it in.

I have static addesses for many things now – its just easier that way over the long haul.

1 Like

Not sure which machine you ran a command on to find the ip info, but.
Gateway is 192.168.1.1
The system you ran the command on has an IP4 address of 192.168.1.7 wih a subnet of 255.255.255.0, so you are on the 192.168.1.x network with that system which is likely your only system and the modem is handing out the addesses.

On the bottom or back of the internet providers modem/router (or sometimes in the paperwork they should have left) should be a sticker with a default user and password. Unless it was changed for some reason you should be able to enter https:// 192.168.1.1 into the browser and get the login screen for the modem and then use the info from the sticker to login.

If that fails or there is no sticker, then you could set a static ip in Truenas instead using the GUI. During system boot the system will advertise it’s address and the modem should pick up the static ip address.

Also, if you can’t get into the isp modem/router using the default user/pass, then tell their tech support you can’t log in to the router and could they reset it for you so you can log in again. You will need your account number to the service for verification. First login might force a password reset so be sure to write it down when you change it. Don’t mention any other reasons like setting up static ip etc. that confuses their call centers scripted stuff and they won’t help.

1 Like

Well I was under the impression that’s were I can find out my Ip address using my Windows machine

As a matter of fact I am unable to access my Nas GUI it’s hit and miss. It connected for a little while but now it just won’t connect

Describe you network and devices in detail. What equipment does your internet provider give you and what is it? Is it just a cable modem, cable modem and wifi router? What other devices are on your network, Windows machine, TrueNAS? How is everything physically connected, wifi or network cables?

Each device on your network needs a unique IP address.

Typically, you want to use a static non dhcp ip address on your nas.

The trick is to choose one outside of the range handed out by your dhcp server

This may help configuring:

I will try to give as much details as I can. My provider provides a router and cable modem, I have all my machines connected using a hard wire. I do not use WIFI at all for any machine

I also have a Ethernet Extender for some of my machine because I do not have enough ports on the router my provider provides

Yes but how would I do that

I have no knowledge of this so this is all new to me