Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


761 posts

Ultimate Geek
+1 received by user: 263


Topic # 239556 23-Jul-2018 19:24
Send private message quote this post

I'm considering setting up my PC with a static IP address.

 

I'd thought this was a fairly simple process involving just a few settings in my adapter's configuration, but then I downloaded a Spark guide (a PDF from here - https://www.spark.co.nz/help/internet/set-up/technicolor-tg582n/ - from the 'Download Now link) which sounds far more complicated.

 

For a start it suggests giving your PC an IP of 192.168.1.10 (instead of anything between 192.168.1.2 and 192.168.1.253, say).

 

And there's heaps more stuff about re-configuring the DHCP pool.

 

Comments please.


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
26959 posts

Uber Geek
+1 received by user: 6409

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 2061202 23-Jul-2018 19:26
One person supports this post
Send private message quote this post

Hard to really comment without knowing what the question is. What are you trying to achieve?

 

 


1241 posts

Uber Geek
+1 received by user: 282


  Reply # 2061232 23-Jul-2018 19:44
Send private message quote this post

Generally you would want to assign static IP outside of the DHCP scope.

 

 

Some routers will also have hard coded IP reservations for built-in DLNA server etc..

 

e.g. the Thomsons default to 192.168.1.254 but 192.168.1.253 is reserved for DLNA or something like that.

1607 posts

Uber Geek
+1 received by user: 408


  Reply # 2061239 23-Jul-2018 19:52
Send private message quote this post

Edit the scope to run between say .100 and .199 then set anything you want as static below or above those numbers.

3561 posts

Uber Geek
+1 received by user: 1307

Subscriber

  Reply # 2061240 23-Jul-2018 19:52
One person supports this post
Send private message quote this post

There really isn't much to "consider".... you aren't buying a house, just assigning an IP address haha.

 

But yea, why are you 'considering'? Are you running some sort of server on your PC that you want to access?


4653 posts

Uber Geek
+1 received by user: 991

Moderator
Trusted
Lifetime subscriber

  Reply # 2061241 23-Jul-2018 19:54
Send private message quote this post

If you don't have a reason you need a static IP (e.g. accessing a PC remotely) then just don't bother.  

 

Is there a purpose or is this just a learning exercise?


'That VDSL Cat'
8484 posts

Uber Geek
+1 received by user: 1834

Trusted
Spark
Subscriber

  Reply # 2061256 23-Jul-2018 20:12
Send private message quote this post

i think i recall that modem not doing static leases very well, which is why it advises to do it on the PC.

 

 

 

honestly, i'd get a modem that supports static allocation..





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


1539 posts

Uber Geek
+1 received by user: 349


  Reply # 2061571 24-Jul-2018 10:22
Send private message quote this post

geekIT:

 

For a start it suggests giving your PC an IP of 192.168.1.10 (instead of anything between 192.168.1.2 and 192.168.1.253, say).

 

 

easiest way, just give your home PC a static of 192.168.1.150 , leave the router as is.

 

It will be fine unless you connect up another 100 PC's




761 posts

Ultimate Geek
+1 received by user: 263


  Reply # 2061610 24-Jul-2018 11:04
Send private message quote this post

Thanks guys. Why a static IP for my main PC?

 

Because that computer is my main repository of photos, music and videos, and I've been told that the machine might communicate better with the Linux-based media player that's hard-wired between computer and TV.

 

Currently the player doesn't see my (fully shared) network, so I'm looking to fix any potential weak points.

 

I'm not necessarily married to the idea, just considering it.

 

Is there any disadvantage to having a static IP on one PC in a network?

 

EDIT: I wasn't referring to a static IP for the TG582n modem-router: AFAIK it already has a fixed IP of 192.168.1.254.


3561 posts

Uber Geek
+1 received by user: 1307

Subscriber

  Reply # 2061633 24-Jul-2018 11:41
Send private message quote this post

OK makes sense. Yea I would set a static IP on the machine that acts as the 'server' for your media.

 

So if that's a windows based machine.. Network settings > Change adapter settings > Right-click your LAN adapter, choose Properties > Highlight TCP/IPv4, then Properties > use the following IP address & use the following DNS server.

 

On your router, find the DHCP server, and change the 'dhcp scope' to something like 192.168.1.100-192.168.1.200 and then the IP address you set on your PC could be 192.168.1.50. That way there is no way 192.168.1.50 will be assigned to another device (although modern DHCP servers shouldn't do that anyway).

 

From there, its just a case of working out how you actually share that media to your linux media center.... Is it Kodi? If so, that has SMB client built-in so you should be able to just set up a 'file' location pointing to the shared folders on your PC.


2777 posts

Uber Geek
+1 received by user: 291


  Reply # 2061636 24-Jul-2018 11:49
Send private message quote this post

Unless the adaptor is forced a release command. The router will always give it the same address within the lease expiry time

 

(ipconfig /all will display the lease period)

 

Linux not seeing windows shares, or the other way is more likely due to the changes in SMB protocol security 

 

https://www.theregister.co.uk/2018/06/08/windows_10_smb1/

 

 

 

Where all clients/servers will need to be brought up versions. And have valid user accounts on devices. You can see how much of an issue it is with the loss of home networkin functions and people that shared data without advanced options.




761 posts

Ultimate Geek
+1 received by user: 263


  Reply # 2061642 24-Jul-2018 12:03
Send private message quote this post

chevrolux and Oblivian: Thanks for the insights.

 

Actually, I think SMB is the root of the problem.

 

The box is an OSMC Vero 4K, which has KODI 17.2 as a built-in add-on (or vice-versa - not quite sure about that familial setup).

 

I'm aware that enabling SMB1 is risky (Wannacry) but KODI apparently won't deal with SMB2, according to a couple of links I've just been checking.

 

(Coupla days back I checked that SMB1 is NOT enabled on my W7 Ultimate 64bit system, but I enabled SMB2. This was before I learned about KODI's inability to cope with SMB2)

 

Unfortunately, I don't know of any other way to do the matchmake between KODI and W7.


2777 posts

Uber Geek
+1 received by user: 291


  Reply # 2061645 24-Jul-2018 12:13
Send private message quote this post

It looks like you can specify SMB2. But browse/search wont work. But will see them when filling all the details out in full as a path/source.

 

Even if you don't login with a PW, set one and use the same credentials.

 

Pretty sure mine still works (NAS has old version of Kodi but can see PC shares) like this. I have a user 'xbox' (legacy from when I was browsing with my Xbox classic :P ) with a set PW.


2777 posts

Uber Geek
+1 received by user: 291


  Reply # 2061648 24-Jul-2018 12:17
Send private message quote this post

And change at your own peril..

 

Netbios seems to be iffy

 

https://www.redmondpie.com/fix-kodi-17.6-smb-share-windows-10-and-android-issue-heres-how/ 


676 posts

Ultimate Geek
+1 received by user: 222

Trusted
Spark NZ

  Reply # 2061649 24-Jul-2018 12:21
Send private message quote this post

All I ask is please don't use SMB over the internet! ;)

 

We are shortly to start blocking incoming (destination) TCP 445 (also 135-139) over all our Broadband connections (with the exception of those who have opted out of port 25 filtering) to increase security of all our customers.





My views are my own, and may not necessarily represent those of my employer.

2777 posts

Uber Geek
+1 received by user: 291


  Reply # 2061650 24-Jul-2018 12:28
One person supports this post
Send private message quote this post

Oh dear. That has to be uneducated/users who put router into DMZ/uPNP NAT (or wannacry) surely..


 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.