[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 620
  • Last Modified:

static ip on PC or Router

Another Static IP question ......   I have  a static IP provided to me from my ISP..  (cost a little more..but it's ok)    I have a wireless  Linksys router BEFW11S4 v.4   Both PC's run XP.  My question is:  Do the PC's have to have the same static ip as the router..??   right now  my router is configured with the static ip, subnet mask,default gateway and DNS 1 and 2 all provided by my ISP.  My computer however has  a  different IP address 192.168*** and  default gateway address.  BUT has the same Subnet mask and DNS as the router ...??  is this  the way it should be..??  
0
coachd
Asked:
coachd
  • 5
  • 3
  • 2
  • +5
2 Solutions
 
b0lsc0ttCommented:
coachd,

That is correct.  The subnet mask is a coincidence.  The DNS is the same because you do not have a local domain name server to use for an address.  The IP address is a private IP for local networks and you are getting it from the router.

Let me know if you want more details about anything above but your settings are fine and normal.

b0lsc0tt
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
192.168 addresses are private addresses and cannot be accessed by anyone, so you can feel free to post those freely.

Why do you want a static address?  Are you planning on hosting things?

Your desktops can use whatever IP address you want them to use, provided the first three sets of numbers match that of the router's internal side (NOT the WAN address AND provided the numbers are all unique.  If you were to give BOTH computers the same IP, you would have an IP conflict and one computer would NOT be able to access the internet.  So if your router is 192.168.1.1, then your workstations can be 192.168.1.66 and 192.168.1.249 - or any 192.168.1.something numbers you want as long as no other network device on YOUR network uses it.

The subnet Mask MUST match for your network - it's how TCP/IP knows the range of the network.  DNS could be ANY DNS server you can access... using your ISP's is fine.
0
 
masnrockCommented:
The subnet mask of your computer must match the subnet mask of the INTERNAL interface of your router.

By default when using DHCP, the router will use its own internal IP as the DNS server for any client within its network. Ditto for the gateway address. The gateway has to be done right, but the addresses of the DNS servers don't really matter as long as they work.

Now you're comparing the subnet mask of your computer which is inside the network with your router's external subnet mask, that's purely coincidental. Nothing dictated that those have to match. It's just that within a given network, the subnet mask must be consistent. So within your internal network, it has to be consistent. Within the network your external IP falls in, the network mask must be consistent, etc.

Hope this helps.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
coachdAuthor Commented:
I'm not web hosting...nothing like that.  Actually  it's for my wife's office.  She would like to work from home and access her computer @ work which has a  medical records program.  She needs to sign charts and enter patient data..that sort of thing.  She was told by the software company static IP's (one for the home office, the other for her medical office) would allow her to connect with no problems, have better security and be HIPPA compliant.  I'm not really sure...could be a bunch of  crap, but what do I know....  Gotta keep the wife happy..... LOL  
0
 
catoaguilarCommented:
Routers are a link between two networks, one side belongs to your ISP network and the other belongs to your internal LAN.

LAN port have normally (in this case) address 192.168.1.1. With a subnet like 255.255.255.0 you may have 252 PC's connected  in your lan (from 192.168.1.2 to 192.168.1.254)

WAN port have to be configured with IP, SUBNET, GATEWAY and DNS as specified by your ISP

In this specific case, the PC's may be configured with:

IP : 192.168.1.xxx
MASK : 255.255.255.0
GATEWAY : 192.168.1.1
DNS : the one given by the ISP

To connect from home to the office computer, you need some other software to make the connection. If your router has VPN capabilities, it will be a good solution.

Finally as both computers are now almost exposed to the "dark side of the net" you MUST have a good firewall configured in the routers and/or the PC's. May the force be with you.... and with the one who said about better security having a fixed IP address.....
0
 
The--CaptainCommented:
Your provided configuration is not erroneous or extraordinary in any way I can see - is there some problem that you are currently experiencing, or is this question purely for educational value?  I only asked because you mentioned that correct functionality was necessary for your wife's livelyhood - is there some problem in that area?

Cheers,
-Jon


0
 
pseudocyberCommented:
>>She was told by the software company static IP's (one for the home office, the other for her medical office) would allow her to connect with no problems, have better security and be HIPPA compliant.  I'm not really sure...could be a bunch of  crap, but what do I know....  Gotta keep the wife happy..... LOL  

I'm in healthcare IT.  Static IP's connect with no problems ... I would say LESS problems.

Better security and be HIPPA compliant - load of crap.  Static IP's are no more secure than dynamic IP's - perhaps less so since they don't change.  There are stringent HIPAA regulations with hefty fines and/or jail for non-compliance - I would advise your wife to consult with a HIPAA consultant or lawyer to CYA.
0
 
Eric BCommented:
Such a complicated set of answers for a simple solution. The router has static ip, then gives the pc's dhcp values which will also push default gateways and dns entries! Thats it, thats all. No need to worry about subnets or anything.
0
 
pseudocyberCommented:
The complicated answers stem from the author's additional comments, not from the original question.
0
 
coachdAuthor Commented:
pseudocyber;

Are you familiar with a EMR called 'Amazing Charts'..?  If so ...we have major problems with it....   check this and let me know what you think    http://www.experts-exchange.com/Databases/Q_21810670.html
0
 
pseudocyberCommented:
I'm not familiar with it.
0
 
coachdAuthor Commented:
Ok..... thank you and everybody else for the help......
0
 
The--CaptainCommented:
coach - why did you accept an answer that did not address the underlying concern (difficulties with your wife's medical software)?  I was attempting to help out in this area, but I guess no good deed goes unpunished...

Cheers,
-Jon
0
 
coachdAuthor Commented:
The-Captain;

I accepted the answer because this person at least responded to my problem...... even if the answer isn't a final solution... it's a place to start.  The question on the software/database had been posted before.  For 2 weeks nobody would touch it....so I deleted the question and re-posted it yesterday.  Having static IP is great..but  fixing the problem with the EMR is the main focus.   Would you still like to help me out in this area..??   I would greatly appreciate it.....

Dwayne
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
dwayne,

When multiple people provide information that helps you, its appropriate to split the points.  You don't have to do so evenly, but a split is then appropriate.  Your initial question made no reference to the EMR software - so "punishing" someone for not answering that when that wasn't even the posted question is a bit unfair.

-Lee
0
 
coachdAuthor Commented:
Lee;

Let me first apologize ....... in no way do I want to punish someone for not answering a question.....if that's the way it has come across to you..I'm truly sorry.    My question was about  static IP, it was answered, and I did split the points with (ericb) & (catoaguilar) in the above thread.    Lee..it was you who asked me >>"Why do you want a static address?  Are you planning on hosting things?<<"   I then gave you the reason along with some information about
  my wife's business needs.   Yes ...you're right.....the EMR wasn't part of the initial question for this post.  That question was posted in the database section.   Again,  I'm sorry for the misunderstanding.

Dwayne
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 5
  • 3
  • 2
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now