TM Forums
Back to search

static IPs in home network

#Post
1

Hi All,

I am having some trouble with accessing devices across my network. I have a laptop, printer and android TV box. Currently all of these devices get their IPs assigned by DHCP. This causes these issues for me:

I have to check my laptops IP address every time before accessing it using my VLC on my Android TV box,

I have to reassign the IP address for my printer every time I want to print.

From some initial research I can gather I need to set up static IPs for the laptop and the printer to alleviate this issue.

So far when I have tried to set my laptops IP address to static but I lose internet connectivity. Is there something else I need to do ? perhaps on the router ?

Router is a Huawei e5186s

dbest - 2021-02-09 17:08:00
2

Set the PRINTER IP address as static on the printer itself. There'll be a menu for it under settings. It's easy.

Please detail what process you have used to set the laptop IP.

Edited by nice_lady at 5:25 pm, Tue 9 Feb

nice_lady - 2021-02-09 17:24:00
3

IP address manual settings have 4 fields. Generally they are...
IP Address 192.168.0.x or 192.168.1.x (x is between 1-254)
Subnet Mask 255.255.255.0
Gateway address 192.168.0.1 or 192.168.0.254 (change the 0 to a 1 if the IP is a 1)
DNS server (same as Gateway) or 8.8.8.8

The other problem is that the IP you are trying to assign statically is probably still inside the DHCP scope, so you might potentially get an IP conflict is your trying to use the same IP that the router thinks it can assign to devices.

Your best bet is to make a reservation on the router (if it supports that).

Edited by bitsnpieces2020 at 5:37 pm, Tue 9 Feb

bitsnpieces2020 - 2021-02-09 17:37:00
4

Use hostname rather than IP.

loud_37 - 2021-02-09 18:56:00
5

Often if it isn't the most basic in the world router it will allow you to reserve the IP address for the device in question. What model is it?

It might be under DCHP in the router, it could have a Fixed IP button.

tygertung - 2021-02-09 19:03:00
6

I usually limit the dhcp range in the router config to something like 192.168.1.20 through 192.168.1.100
and set my static ips outside that range

using hostnames (eg \\desktop-jkFUHf) is a good option to as that resolves the current IP but i'm pretty sure android boxes don't/can't do that - the last phone i tried couldn't anyways...

king1 - 2021-02-09 21:11:00
7

Yips - reserve ip address within your router itself.. then everything is controller from one spot. No need to assign IPs on individual equipment.

acura - 2021-02-10 14:04:00
8

just refer to the resource by its hostname rather than its IP. Making work for yourself. The router builds and maintains the hostname table.

Edited by ronaldo8 at 5:33 pm, Wed 10 Feb

ronaldo8 - 2021-02-10 17:32:00
9

and since it hasn't been mentioned yet, make sure the network connection type of the windows machine you are accessing is set to Private, as against Public.

and insecure guest access is usually disabled now - this affects the device accessing the network share
http://get-cmd.com/?p=4858

Edited by king1 at 9:24 am, Thu 11 Feb

king1 - 2021-02-11 09:23:00
10
nice_lady wrote:

Set the PRINTER IP address as static on the printer itself. There'll be a menu for it under settings. It's easy.

Please detail what process you have used to set the laptop IP.

I did set up the printer IP as static but it doesnt always work. Can't find the printer sometimes and I notice the PCs IP address is the same.

I used network properties and configured the ipv4 TCP/IP settings to set the IP address

dbest - 2021-02-11 16:28:00
11
bitsnpieces2020 wrote:

IP address manual settings have 4 fields. Generally they are...
IP Address 192.168.0.x or 192.168.1.x (x is between 1-254)
Subnet Mask 255.255.255.0
Gateway address 192.168.0.1 or 192.168.0.254 (change the 0 to a 1 if the IP is a 1)
DNS server (same as Gateway) or 8.8.8.8

The other problem is that the IP you are trying to assign statically is probably still inside the DHCP scope, so you might potentially get an IP conflict is your trying to use the same IP that the router thinks it can assign to devices.

Your best bet is to make a reservation on the router (if it supports that).

Yea the router only allows me to turn off DHCP and advises that each device will need to set the IP address. Problem with this is that I don't want to have to manually enter IP addresses of all the wireless devices and people who want to use my wifi when they come over etc.

dbest - 2021-02-11 16:29:00
12
loud_37 wrote:

Use hostname rather than IP.

I can't get this to work. For example in X-plore and VLC, when i use the SMB file access, I can only use IP addresses and not the host name.

dbest - 2021-02-11 16:30:00
13
dbest wrote:

I did set up the printer IP as static but it doesnt always work. Can't find the printer sometimes and I notice the PCs IP address is the same.

I used network properties and configured the ipv4 TCP/IP settings to set the IP address

Obviously to have same IP on two devices is fatal!!

Typically you set a static IP outside the DHCP range in order to avoid such a situation occurring.

If you want Internet connectivity you need to set the gateway (router's address) and DNS server.

Edited by spyware at 4:52 pm, Thu 11 Feb

spyware - 2021-02-11 16:49:00
14

two options

1. Give your device a DHCP reservation
2. If you want to use a static, then make sure it is not within the DHCP scope that your router is giving out

csador - 2021-02-15 09:19:00
15

i prefer the static IP option personally, that way if you change the router modem all that is needed is to change the DHCP IP range etc to match the old router, and everything is 'normal' again.

king1 - 2021-02-15 09:28:00
16

Nothing on my network is DHCP so no machines fighting each other for their space around the trough.

tegretol - 2021-02-21 20:41:00
17

You have DHCP turned off? Wouldn't that be a pain though for devices which don't have the function to assign their on IP, or just connecting various devices, having to manually do it all the time?

tygertung - 2021-02-22 08:18:00
18

Nope. If a device doesn't have the ability to have its own IP assigned then that suggests a cheap-shit attitude in it's development and it ain't welcome around here.

tegretol - 2021-02-22 18:55:00
19

I have a HP 5Si from 1996, which was not cheap when new. I have the jet-direct card in it, but I don't know of any method of manually setting the IP, maybe it can be done, who knows?

tygertung - 2021-02-22 19:38:00
Free Web Hosting