Technology in terms you understand. Sign up for my weekly newsletter, "Confident Computing", for more solutions you can use to make your life easier. Click here.

How Do I Configure My Static IP Address?


I have a server and have been assigned a static IP by my ISP. How do I go about configuring my server to work on its assigned IP?

99% of Windows internet users use what are called “dynamic” IP addresses. That means each time you connect to the internet, your ISP assigns you an IP address to use when you connect. The next time you connect, you might get a different address. If you’re only connecting out to the internet, that’s all you need.

If you expect people to connect in, say you want to run a web server that you want people to be able to find and visit, you’ll most likely need a static IP address. A static IP is assigned by your ISP to you permanently, and identifies your server to the world.

The question is: once the IP is assigned … then what?

Become a Patron of Ask Leo! and go ad-free!

If your computer is connected directly to the internet, meaning it’s not behind a router or a firewall, it’s actually pretty simple. In Control Panel, Network Connections, find the network connection that represents your connection to the internet. Most often it’s labeled simply Local Area Connection. Right click on that and select Properties. Now click on the Internet Protocol (TCP/IP) item in the list (you may have to scroll down within the list to find it):


Local Area Connection Properties

Now click on the properties button.

A default configuration will have both Obtain an IP address automatically, and Obtain DNS server address

Internet Protocol Properties

Click on Use the following IP address: and enter the IP address, subnet mask, and default gateway information that your ISP should have given you. (If they did not give you all three, ask them.)

In most cases they will also give you IP addresses for the DNS servers you should use. Click on Use the following DNS server addresses and enter that information as well.

That’s it. Once you “OK” your way out of those configuration dialogs, your computer should now respond to its assigned IP address.

The question is: once the IP is assigned … then what?

If you’re behind a router, things get a little more complicated.

The first thing to realize is that the static IP address should probably be assigned to the router. That will require configuring the router, much like we configured your server above. Exactly how will vary from router to router, but the principals are the same: you’ll configure the router to not get an IP address dynamically, but instead you’ll enter the IP,
gateway, subnet, and possibly DNS information by hand, using whatever approach your router uses for configuration.

The “trick”, if you want to call it that, is telling the router to pass on requests it receives from the internet to your server. It’s typically referred to as port-forwarding. Once again, depending on how your router is configured, the general idea is that you configure it to accept requests on certain “ports” and direct them to certain computers on your LAN.

The port part is fairly easy. If you want to set up a web server, then you’ll know that port 80, where http requests are handled, is the port you want to forward. But to where?

Much like your direct connection to the internet, you’ll need to assign your server a static IP address within your local network, so that the router knows what machine to forward the requests to. Typically a router will tell you, or let you configure, the range of IP addresses it will assign from dynamically, so you’ll simply want to choose an IP address outside of that range. For example my router at home is configured to assign dynamic IPs starting at and up. So I’ve elected to assign a static IP on my local area network of ( is the address of the router on the local network).

So the rest is simply a variation on what I’ve already covered: configure that server with the static IP you’ve chosen, a subnet mask of should do, the default gateway should be the router ( in my case), and quite probably the router should also be your DNS. If not, use the DNS settings that your ISP assigned you.

Now configure the router to forward port 80 traffic to the static IP address you chose, and … there you are. Your web server, behind a router, should be visible from the internet.

Port forwarding is actually very powerful, when set up correctly. In my case, I have port 80 traffic, for a web server, directed at one machine, Remote Desktop traffic (port 3389) is directed at another, and Skype (a post Skype selects randomly at setup time) to yet another.

146 comments on “How Do I Configure My Static IP Address?”

  1. When assigning a static IP address to a server on your LAN, behind a router, there is more to it than simply chosing an IP address outside of the DHCP range given out by the router. It also should be within the same subnet so that other computers on your LAN can see the server. Subnetting is a whole ‘nother subject, but in the example given, had the server been assigned or it would not have worked. That is, the static IP has to begin with 192.168.1 (in this particular case due to the subnet mask).

  2. I have a wireless router, and it does not allow other users to connect to my computer e.g. say i have a gaming server up. no one out of my network can connect to my server, how do i foward my ip or allow other clients to join my computer

  3. You need to open up the ports that the gaming server needs on your router, and indicate which of your machines that traffic should go to. It’s called “port forwarding” in most cases.

    I can’t be too much more specific than that because the ports needed will vary based on your game, and how you set it up will vary based on your router. But hopefully documentation for both will allow you to get there from here.

  4. I have a wireless LAN and I am fond of playing multiplayer games online. The thing is whenever I play them, I get disconnected from the game server that I connect to and also get disconnected from the wireless network (yes, that means no internet unless I go to disable the network connection and re-enable it again). Now, I’ve read that in order for games to work, I needed to configure their specific game ports. And so I did but I still keep disconnected. I have dynamic IP addresses and when I configrured the game ports, I only listed the first two out of the four possible IP addresses I can obtain(note that it’s dynamic). Is there anything that I missed? Thanks for the help.

  5. I set up my router using a static IP address from my ISP. My PC works fine when I set up the dailup connection properly, but is there a way to set up a wireless laptop? Once I change the router to static IP I can’t connect through to the internet with the wirless laptop. I see the network and everything else is fine…Can you help? THANKS

  6. Well, it’s hard to say because I don’t have a clear picture of what you’ve set up.

    Your router should be using a static IP from your ISP on the WAN connection. But you want your computers to use dynamic IPs, which would be provided by the router. Make sure that the router has DHCP enabled for the LAN side. That’s actually exactly how I operate here at home.

  7. Hi Leo,

    I am preparing for my CCNA certification. I purchased used Cisco routers and switches for my home lab to practice on. I did set up my home lab network and configured all the interfaces with private IP addresses, which I randomly picked, and also configured them with routing protocols (rip and igrp).

    The configuration is fine within my network (between my Cisco routers and switches), and they are exchanging information. However, I could not make them talk to my internet connected computers.

    I have two computers, which are connected to internet using Linksys VoIP broadband router and cable modem configured using DHCP/auto IP.

    The Linksys router has 3 ports for connecting to computers and 2 ports for telephone line. This router also assigns up to 50 private DHCP IP addresses. I am trying to use these new IP addresses to reconfigure my home lab network routers and switches interfaces.

    How should I approach it so that I can reconfigure my lab network interfaces with the new IP addresses and also establish communication between my lab network and computers?

    Any help or suggestions you can offer is greatly appreciated.


  8. Sir,
    I have a problem with Ipconfig.I want to activate and know the Ip configuration for my stand alone home PC for a software installation.But when I use the ipconfig command in the command prompt, System return as follows:-
    Media state………….Media State Disconnected..
    So I am not able to retrieve Ipconfiguration..
    Please Help me in this regard.
    Josil Mathai

  9. Josil: “media state disconnected” means that the cable is unplugged or the wireless has no connection. ipconfig shows information for an active conneciton.

  10. I currently have a wireless lan at home with my sister’s computer being connected to the wireless adsl router via her computer’s ethernet port and my computer connected via its wireless card. She used to get the error message “Shareaza may experience poor download performance as you are behind a nat router or firewall”. According to the shareaza help site I configured zonealarm pro, set up a static ip address on her comp and enabled port forwarding on her router so Shareaza ( a p2p application like kazaa) could function properly which it did. Though the internet works fine on my computer i get the same message she used to get so again i configured zone alarm pro and made my ip address a static one….how would i do port forwarding since my comp isnt connected directly to a router? or dont i have to do port forwarding to fix this error? or is port forwadding not possible on a computer which has a wireless thernet card?

  11. Port forwarding happens on a router. If there’s no router, there’s no forwarding required. If you are sharing the router, a forwarded port can go to only one computer.

  12. Hi Leo,
    I bought a netgear wireless router with 4 port switch, I have sprint dsl and I know I have static Ip, but either I have really bad luck or my dsl modem is odd, because I can’t ever get into the router settings to change it to static ip, I’ve tried linksys aswell with the same if not worse results, any suggestions otherwise I’m just gonna gice up, I don’t know what else to do!
    Derek C.

  13. Dear Leo,
    I have a question, i have an ADSL service with a dlink 310 modem(lan-Router). the isp gave me a username and password, i used it to connect, but at the same time i could connect to my isp using ip configuration without need to log on, i uses as my computers ip, and as server ip, for dns server, no i changed my service to 512k, but my aacount with username and password has only 5GB each month, i can not connect to internet using IP configuration, if i could do that like before, so i could download more than 5 GB, what can i do? why i can not connect with ip anymore? how can i detect the ip adresse that i can put in lan settings?
    Sincererly yours,

  14. Dear Mr.Leo,
    I am beginner in Networking and I was going through your wonderful article
    Will you able to clarify a doubt from my side?

    I have an internet leased line with static IP’s given by ISP
    I am using DLink router and the static IP and DNS information given by the ISP is entered in the WAN section.
    The private IP of router is and I have a windows 2000 server in my LAN with the private IP and I want to use the server as a webserver.
    Please advice me how can I assign a static IP which is in the range 213.X.X.X to my windows 2000 server and how can i set it as a webserver so that it can be accessed from outside the LAN

    Thanks & Regards

  15. Hi Leo.I have a nintendo DS.I was trying to use the wi fi connection online.I need a subnet mask.Do u know how I can get one?

    Thank you,

    Hash: SHA1

    Not a Nintendo user, but if it uses DHCP, then ist should get the subnet mask
    automatically. Otherwise I’d just try


    Version: GnuPG v1.4.6 (MingW32)


  17. You should put *nix guides up, that would help more people out. Apache installs (Linux and Windoze)Installing PHP that sort of stuff.

  18. I was phished and my email was being read by someone I don’t know. I tried to change my ip by doing the following step above, but my computer will not change it. I went to start, run, cmd, ipconfig/release, then to tcp/icp and then added my own ip address. closed the box and then went back in and then let to computer to assign ip automatically. I went back into cmd, release all and sure enough my ip was still the same. Any suggestions? I am connected to an at&t modem.

    Hash: SHA1

    Your IP address probably has nothing to do with your being phished or your
    email being read.

    Your IP address is *assigned* to you, you don’t pick it or force it to change.
    But like I said, that probably has little to do with the situation you’re in.


    Version: GnuPG v1.4.7 (MingW32)


  20. Dear sir Mr. Lovely Leo.. i love u so much. i just have a little question for you. & what is that ok listen…. i have a ip address of a network & a DNS server address (default gateway). i configure my TCP/IP with that ip address. i get reply from the internet server. but when i try to open any website in the internet explorer, it ask for a username & password. but i don’t have any username & password. one day for testing purpose i put my friends system IP who has a private internet connection of that internet server. when i put his username & password in the required field, & was opening any website, the connection was successful & i surf the internet for hours. so i just want that how can i crack that username & password. plz help me…. i am waiting for your mail sir. plz help me…. i spent 5 nights on that. but i was not able. so u should guide me as well. waiting for a favourable reply… ur lovely student… rahul sharma..

  21. I followed your guide and have had everything working for a number of months now, THANKS!!

    Now I have a new issue. My PC has 3 network adapters (2 wired and 1 wireless). I only use 1 wired and the wireless. The wired connection is the one I setup to have a static IP of Now, I am needing to set my wireless to also have a static IP address. I followed the steps above once again, but it won’t let me do it. I am getting a message that says, “Warning – Multiple default gateways are intended to provide redundancy to a single network (such as intranet or the Internet). They will not function properly when the gateways are on 2 seperate disjoint networks (such as one on your intranet and one on the Internet). Do you want to save this configuration?”

    If I choose yes, it proceeds, but will not properly connect saying something about “Unidentified network”.

    What do I do?



  22. For those of you looking for your static info, gateway, etc, open a command window (start| Run| CMD|
    Type “ipconfig” in the new window. There’s your info.

    This may not work in all situations. YMMV, as always.

  23. We are currently developing an application for a cell phone..the project is titled location based services using gps where in a cell phone sends a query for paths betn source and destination and the server calculates the path and sends it back to the cell phone..where in the cell phone will be communicating with the remote server using gprs..but the problem is we don’t have a static IP address.. is it possible to connect to a remote pc that is using broadband from a cell phone that is using a gprs connection..if yes how n if not is there any other way around??

  24. Hey Leo.
    Im currently running a Speedstream router ADSL2+ directly into a Netgear wireless router and broadcasting to my laptop. I don’t have any desktops connected to the routers. I was wondering how i could get my laptop to host games on Warcraft using port 6112. I’ve tried numerous guides about setting up Static IP’s so that i can portforward from my speedstream, and I’ve tried assigning static ip’s on my netgear and portforwarding from there, but nothing seems to work. Can you help me out here?
    Much Appreciated

  25. I am having issue with my static IP address. I followed your instructions and was able to connect to the internet. I am using Windows XP. However, it seems that every other day my computer resets the IP protocol to “obtain an IP address automatically” and I have to manually input the static IP address along with all the other subnet mask and default gateway addresses. I can’t figure out anyway to get it to stop. Every other day like clockwork it simply resets itself and I have to reconfigure the address. Any ideas?


  26. Hi all!
    I have an static IP adress and my conection works fine, until after some hours, 4, 8 or what ever it loses connectivity.
    Every thing seems to be OK and suddenly there is no connectivity.
    I think is something with my ISP DNS to do, because when I set the ipconfig/registerdns command, it works igen for a while, but it seems not to be the best solution.
    What I have to do is unplug the modem (reset under a couple minutes) plug again and it works again, until the next 3,4 hours.
    What can it be? TTL that does not map my ip or what?
    I called my ISP, but they couldn

    • Hi Cocco I know I am not Leo but from my understanding it sounds like your connection is timing out and when you turn everything off (reset) you are basically restarting your timer so If your computer is connected directly to the internet, meaning it’s not behind a router or a firewall, it’s actually pretty simple. In Control Panel, Network Connections, find the network connection that represents your connection to the internet. Most often it’s labeled simply Local Area Connection and make sure that in the properties it is not set to timeout after a certain amount of time (TCP/IP properties) I hope that this helps but something else you could try is when it happens instead of doing a manual reset do as I said above go to CP then to NC then your internet connection and use the troubleshoot problems options that can diagnose and repair a lot of the most common problems. Good luck to you!

    • LOL god I am sorry I just happened to see that this question was from YEARS ago. Just saw that I could help and didn’t bother to check when you asked the question! So please disregard my previous reply completely!

  27. Hi Leo,

    I have some questions about installing a second server in a network, the existing one is SBS 2003 and is the file server/emails/DC/basically everything in one.

    I’m wanting to add a second server running 2003 server standard and wondering if its possible to do all that you mentioned in this article including assigning a static ip address (do i have to get another static ip address assigned to my 2nd server??)?

    You mentioned that you had your port forward different programs to different pc’s and just wondering if i can use this type of system?

    It is also because i want to create a new domain for this server and its users, and if possible i would restrict both servers from being able to communicate from each other.

    Any help with this would be very much appreciated

  28. Hi Leo,
    The article is simple and easy to follow.
    I have couple of questions:
    1. What if there have to be two web servers behind the router?
    2. is port forwarding any way connected to NAT concept?

    Thanks In advance,

    1) it can be done, but only one web server can be on port 80, the other must be on some other port. That means configuring the router to forward that other port, configuring the server to listen on that other port, and users to access the web site explicitly specifying that other port (as in

    2) It’s part of the NAT concept. One one site you have local IP address, and on the other you have a public IP. You’re translating IP addresses for all packets that cross through the router, regardless of direction.

    – Leo
  29. If you guys have a dynamic ip address and want to host a server…

    Check out this site allows you to create a few names for free. If you download thier client it will update your address to the domain name.

    I host 2 domains using 1and1, and use DynDNS to tell everone my new address.

    My Dynamic DNS name is

    then I create cnames using 1and1 to point to that DNS.




  30. hi leo i wanted to know how can i get a static IP adress right now i am using dynamic IP.i want to use DC++ hope you are aware of but my frnd suggested that i need to have a static to connect to the pls guide me how to get static IP adress or the alternative to connect to DC++ for file sharing within the network.
    hope to hear soon from you

  31. I am trying to set up a win2003 server thru which computers will connect to the internet. The server has two NICs, one for DHCP and the other to connect to the internet. Access to the internet is currently thru a Motorola DSL using one static ip address; the DSL is also a dhcp server (I want to turn off the dhcp server on the dsland use the server to assign the ip addresses). Our Qwest ISP informed me that our static ip address does not have a subnet mask but they gave us primary and secondary dns’s. How do I configure the server so it route internet and dhcp serves to my computers in my office?

  32. In my medical office we have no server. We have a VoIP phone system which provides us a T1 dedicated line out to the Internet. We also have an EMR system that we use for patient records. We chose to have the vendor of the software house the server on their end since we have no internal IT dept. So the vendor provided a Juniper router to allow our computers to connect to the software. Now the ISP for our VoIP has sent out a letter saying that they are giving us a new static IP address and that we need to make those changes. I will pass the letter along to the software vendor to make those changes to the router the provide for us, but do I follow the steps in the article above to make the changes to the all the office computers?

    I’m guessing not, but it really depends on how that router was set up. You’ll need to check with that vendor.

    – Leo
  33. I read the article but I need to know what the settings for a Static IP for a DSL Modem and a Router? When all is configured correctly can my computer find the internet connected to the DSL modem? Or a Router port or both? I guess what I am really asking is should the Modem settings be “BRIDGED” and NO IP address? I am getting conflicting reports.

    Most commonly you don’t need static IP addresses or bridge mode. Leave the router in it’s default configuration of “get IP address automatically” for the internet connection, and “DHCP enabled” for the local area connection. The router will get the internet IP address automatically, and then assign dyanmic IP addresses to local machines.

    – Leo
  34. I have a cctv sentinel security system and i was thinking about getting a static ip so that i could view my store from my home. how do i go about doing this. Is this the same as the article says , because there is a special program it uses to see what the camera sees.

    If you’re talking about a static internet IP address, that’s something that your ISP gives you. You’ll need to talk to them.

    – Leo
  35. how can i get a static ip from my isp? I have to call the company or is there an other way to set it up from my computer.

    Contact your ISP.

    – Leo
  36. OK here goes, Wife removed my modem for my pc. put it on another in the house (worked fine), power went out and back on in this time. My pc was still hooked to my d-link router when power went out. Now my IP address is gone, seems to have copied the dlink or some other ip starting with 169.

    I have tried everything to fix, even restored pc to factory default just like it was new out of the box. Still nothing, can someone help. I dont want to pay someone 200 dollars to fix something that I could do.. Ive done it all uninstalled everything and such

    I use vista

  37. Hi Leo,
    My internet connection is behind a ADSL router and I configured my PC and router as said in this article, I assigned a static private IP to my NIC and router Lan IP to and configured routers WAN IP with static Public IP provided by my ISP and added my PC’s IP address to port forwarding…

    But, when I type my Static IP address in a browser my routers admin page is opening.

    Any sugessions would be very much appreciated

    Thank you

  38. i have done this procedure many times. but after every restart the ip address is changing by itself, either it goes to automatic obtain or accesses with other ip address. so can you help in solving this. thank you.

  39. I am trying to make 2 computers in my room play on the same server in Diablo 1, i have a modem (Linksys or whatever) Apparently my problem is that diablo requires each person to have their own IP address to be on the same server, i have been tinkering around changing IP addresses and installing ITX and Protocols or whatever, but nothing is working, how can i figure out what numbers to put in the “IP Address, Subnet Mask, and Default Gateway” located in the properties of Internet Protocol? Please help me, this is absolutely frustrating =(

  40. I am connecting DVR to the ADSL/router. I have obtained DDNS address by registering on the DDNS site. I am tring to view DVR from the ouside internet. I am unable to view. When contacted DVR manufacturer he said you have forward the port. DVR is having port 37474. Please suggest me how to do port forwarding with dynamic IP address. My ADSL/router gateway is

  41. you can go to ran type ipconfig and change
    the ip adress for the nic or wireless to
    a and wait 2min this will change yourip address and some time fix and issue with
    a bad address

  42. Leo I read your comment on “How do I configure my static IP address but my question do I place router cd in my computer to change my setting ,I wish I could talk to you ,I mean my wife and I share the same router with both computer I want to set up my computer with a static IP address to be a server with my radio station using my computer.We placed the linksys cd in her computer to set up everything ,what do I have to do to change my IP ADDRESS to a static IP address its right now a IP address dynamically with Bell fuse I NEED YOUR HELP jOHN

  43. I have 200 Pcs on lan and having 2 DSl Lines that is shared by all pc’s on lan and I have taken a third DSL line for the use of some particular PC’s on Lan and How to restricted the other PC’s of Lan to access this third line and give access to the PC I wish to.

  44. Dear Leo,

    I need your help and advise, Firstly, I call my ISP provider in order to get static IP address so they told I have to pay extra fee every month. Secondly, is there anyway I can get static IP address for fee?

    I would be very happy if you could help me please,

    It’s totally up to the ISP – if they charge for it (most do since it is extra work for them), then there’s no way to get it without paying.

  45. hlo.

    my connection is dial up. can i change it to static ip? thx

    Probably not, but you’ll have to check with your ISP.

  46. Yes, is there any static ip adresses i can just type in ?

    Nope. It must be assigned by your ISP (for direct internet connections) or you must carefully configure your local network to support it. It’s not just something you type in.


  47. I have four friends in various cities. All of them have Internet connection. In each & every friends have above two computers. now we want work in same single system (like server in every workgroup ). how we configure our routers Ips to join all of my friends in single system.

    You don’t. At least not directly. You might use something like Hamachi to set up a virtual private network.


  48. I have a question.
    My mom has a wireless router but we cannot get it to work with both of our computers. She called Bellsouth and they say she has to pay extra for something. Which is crap! So is there anyway to fix the problem ourselves without paying more? And what router should we use?

  49. I am trying to assign a static IP address, but when I come out of the setting tab, the resets the setting and starts acquiring the address again. I am unable to set a particular IP address.

  50. Hi Leo,This is a Comprehensive Description of Configuring tatic IP Addresses.
    Can you please advice on whether you have any Study Material on setting up a LAN.I would be required to go to different places setting up LAN’s and Handling Issues on Network.

  51. Morning Leo,
    I was told by my Time Warner that I am not able to log on to the internet becaause my IP address is not working. Is this something I can do by myself or should I just take it down to a computer repair shop.
    Best regards,

    Unfortunately “IP address is not working” doesn’t really make sense, so I’m not sure what the problem actually is.


  52. I use static ips on my network computers and my new isp wants me to set dns to obtain address automatically. That dns button is greyed out when I set computers to static ip addresses. Can that be changed?

  53. I have group of 8Static IP given from my isp, and have router also from the isp. now how do i set-up my Windows 2008 webserver directly using one of those 8 IP addresses ?

  54. hi,
    how can i get static ip i have router but that is dynamic ip.
    i want to open my pc from office how can i get static ip
    plz help?

  55. hi leo i have 10 computer in my network but only 5 static ip. only the computer with static ip see each other. and the one with auto dchp see each other how can i make all of them on a same network so they all can see each other. thank you

  56. Hi,Im in the UK and broadband wont give me a static IP addy for my “home” use,only bloody business !! But I have to have one for CCTV,any ideas how I can do this?..Im using wireless and vista.Thanks

  57. Here’s a brief rundown on getting a static IP:

    Most ISPs know that a static IP is far more useful than a dynamic IP for setting up remote login, web servers, mail servers, CCTV systems, etc.

    Accordingly, they sell inexpensive consumer plans with dynamic IPs, and expensive business plans with Static IPs.

    There is no way to ‘convert’ your dynamic IP to a static IP, since the IP is provided by your ISP.

    BUT – there is a way to link your home computer to a service called dyndns, which gives you a web address that connects to their software on your computer, updating the IP address as your ISP changes it.

    This is what I use to remote into my mac with my iphone from work, and it works like a charm.

  58. fanks for da info leo helped alot all i need to know is how do i get or find my custom dns code coz wen i go on my psp my psp sez dns error so how do i fix the router

  59. I currently have the new Sprint Mifi, but purchased a static ip address for the routher. Now I am having problems knowing what to do-should I disable DHCP? If says if I disable it, I need to set up a gateway through my computer. Is it easier just to port forward? A lot of my posts and stuff get lost with a dynamic IP-please help!

  60. I currently have a Network set-up using a Netgear router, with a cable modem. My Cable company give me 5 static IP address. I need to know how to set my VOIP phone to one of the static IP address.

  61. hi!!! i’m trying to understand what the diference of gateway and dns i now what they means but praticle is dificult to understand. i apreaciate if somenone can give me a example form a little network. Mahomed -[Email address removed]

  62. Sir, my brother just fixed our internet a year ago… he used an

    IP Address:
    Subnet: 255, 255, 255, 0
    Default Gateway:

    I changed it, without knowing that I can’t revert it back.

    when I try to revert it back, it tells me that the static IP is being used, that I should choose another one, what should I do to gain back that IP address?

  63. Hi sir,
    I am facing an issue,i am having an Wimax internet connection in my home,i don’t have a static IP,but still i need to configure the file sharing as well Internet sharing…and also i have checked with the Vendor they are not giving the Static IP address.Need your help to resolve this


  64. You make things look simple by giving simple answers that uninitiated like us would understand… you’re cool sir! really cool… thanks

  65. Dear sir i have small doubt how to know ip address and devided ip rages and how to know sub netmasks please send me simple way thank you sir

  66. So if you dont have a router you dont need a static ip address?

    Whether or not you have a router has nothing to do with it, really. Some situations require static IPs, but most people rarely need them.


  67. @”Some situations require static IPs, but most people rarely need them.”
    Obviously you have not heard of ADSL, everyone using ADSL requires a router

    Which has nothing to do with whether or not static IPs are required.


  68. Hello Sir,
    I have a static ip address that i need to access from the internet. I’m able to access it by giving the ip address the only problem is I want to associate a dns to this ip. eg ; when I give the ip address I’m able to ping it from other machines but when I give the associated dns entry like or I’m not able to ping.

    192.168.x.x addresses are addresses on your local network and cannot be routed to or connected directly over the internet or DNS.


  69. Is it possible to use a Static IP at two different places? For example, if I set up a Static IP at my mother’s house, I take my laptop to my father’s, and I can not use my wireless connection, or I have to go back to a Dynamic IP.

  70. Leo ,
    Great post . Kinda of an Eye opener . Thank you .
    I have a question
    I have a IP address for my Machine
    I am running Tomcat on this IP listening on port 80
    I bought a Domain and made it point to this IP address .But No one can view my site .
    When I try looking for my site from a different machine ( running under same Network) I am able to view it .
    I am wondering if there is anything else that I need to do ?

    Your help in this regard would be highly appreciated .

  71. I need help with a small office network config.

    My ISP is setting up a static IP address to use for my office rather a dynamic setup. My chain is Cable Modem>Router>HUB/Switch>to all computers and network printers.

    How do I configure my router and switches to allow internet to all computers as well as be able to file and print sharing within the office.

    I do not have a server just the the 3 items i mentioned before.

  72. lets say i do have a fire wall or an administrator acc that i cannot access which denies me of entry to the internet protocol. Can i still get a static IP? How?

  73. I have 7 system including my working system, (Browsing Center)In my Main system i a loaded the U torrent software., Customer always coming to Browsing center for downloading the films from u torent software. Without inform me they installed the u torrent software regularly also download the u films., I am having static iP.,
    I need only one big help., how to i avoid they downloading the films from torrent software., But i want to i only download the files from my system., i dont like to some other systems downloads

  74. I have a small office network. One Computer acts as the file server for the office. It does not go on the web. How do I set its STATIC address so its the same each time it reboots and so all the PCs and MACs on our network always see it?

  75. I need help with a small cyber cafe network config.

    My ISP is setting up a static IP address to use for my cafe rather a dynamic setup. My chain is Cable Modem>Router>HUB/Switch>to all computers and network printers.

    How do I configure my router and switches to allow internet to all computers as well as be able to file and print sharing within the office.

    I do not have a server just the the 3 items i mentioned before.

  76. i want to configure ststic ip address on my laptop. i will not be connectin it to any isp. My sole purpose is to have communication with the guest os (using vmware). after entering the ip address the ipconfig command does not show it.
    i am entering following
    ip address

    no dns.

    Please help

  77. Hi sir iam working in colorcard company sir
    we use cammera with dvr and we have static ip allso,how i configer a router with static ip,i what to see all record data in online.

  78. we are using camera with dvr and we have static ip also,how can i configure a router with static ip,i want to see all camera from different location/city.

  79. hmn, re: manually configuring static IP. IP Address has been entered in the TCP/IP Properties “Use following IP Addresses” and DNS fields, as described, os windows xp svc pk 3. When i test the connection it fails with “no PPP configuration” error. Sir, may i ask, is it required to append/register DNS suffixes in advanced settings? do the DNS and IP have to be assigned by the dialup ISP or is it possible to use the Server address and Client IP located in the Status Details tab at the time of connection? thank you for your help.

  80. Hello sir.
    I just want to know how can i use the remote printer means i want to access the printer remotely from one office to other please reply me and give the best solutions u have.
    thanks & Regards

  81. Hi Leo
    I am trying to configure my network the same as you already have.
    I have a Thompson TG78T router and server 2008 web
    I setup the router to assign a static ip and setup connection sharing on port 80
    I then setup the network card as you explain and it seems to be working but when I ask iis to start the website which has the binding to my default gateway ip that is listed in the drop down and set the port to 80 I get a The format of the specified network name is invalid
    Any Ideas
    Static external ip address
    IP Address Assignment: Static
    IP Address:
    Protocol Port Range Translate To … Trigger Protocol Trigger Port
    TCP 80 – 80 80 – 80 – –
    UDP 80 – 80 80 – 80
    Network Card
    Mask 255 255 255 0
    Gate as per provider details

  82. Hai… i am receiving fake mails from someone. i am not able to find who are they. is it possible to find them .i think they are using the internet connection via router. how can i find them?

  83. My home network includes a combination router and DHCP server. For remote accessibility purposes, I’d like to assign static IP addresses to some of my computers…but I want to make sure that these same devices are using the most efficient and up-to-date DNS servers–the addresses for which are dynamically provided to my router via my ISP.

    When a computer is configured to use a static IP address, the DNS server addresses must be manually assigned. Why can’t my computer have static IP addresses but dynamic DNS servers?

    How does everyone else handle this? Do you occasionally check to see if your DNS servers have been updated….and then update your computers accordingly?

    I’ve yet to see this question addressed in any articles that describe how to configure static IP addresses.

    Typically, yes, if you configure static IP addresses you also take on the role of configuring the proper DNS servers. I don’t see a huge advantage in trying to keep the on the so-called ‘latest and greatst’. You can try setting them to the IP address of your router, as some routers will act as a DNS gateway.


  84. I am connecting to an integrated voice/data T1 circuit from at&t. They are providing a router that breaks out voice channels to my Avaya phone system and a cat5e for internet access. Do I connect the data cable to my firewall or do I connect it to a port on my switch? If it’s firewall, do I need to configure anything on my firewall? we have a similar setup using a different provider but it was set up before I was with this company. thanks.

  85. @Small Fish, dude, basing on experience, you are the one to set up the LAN side, so you will be the one to decide if you want to connect a firewall or a switch or an internal router behind the one provided and managed by at&t. i know for a fact that you should connect @ the fast/gigethernet 0/0 for data connection, and it is usually not turn up yet, so you need to call the ones managing your service and ask them to turn it up/admin up it for you, ask as well for the useable ip addresses, default gateway and DNS servers, for you to set your LAN. Thanks and hope this helps.

  86. What if I have two web servers on the same router. Will they share port 80 and the traffic will know which machine to goto by the external IP address? Or do I need to change the http port on one of the servers? If so how?

  87. Helloooo. I have Static IP of Airtel. I use this static IP to my Web Server. Today My ISP Down So my web is also down. I also have BSNL Net with Dynamic IP. Now Pl guide me how to swith ??????

  88. @Vijay
    A static ip address is something you would have to order from your ISP. Ask Leo has no way of doing this for you.

  89. How do I configure a Lynksys router and a Linksys switch with static IP. The router is not connected to the internet. I have to connect 6 printers which are network ready to the same PC . The connection will be wired.

    Thank you for your time.

  90. i have windows server 2008 installed in a computer where sql server 2005 installed. i have a static ip. how can i connect an application package from different machine to this pc. in the connection string i have given the static ip
    please advise

  91. I really need some help accessing a webcam at home from another network. Is this “camstreams” and where do ports 80 or 8080 fit in? I don’t think I’m alone in this struggle. I’ve tried both an Edimax and EasyN FS wireless weans. Both manufacturers have very poor installation manuals and quirky software. Thanks Bobby

  92. Thank you for the explanation. While the actual act of setting IPs is easy to find out, many tutorials fail to answer the question – ‘why?’ Yours is the first explanation that adequately answered this question for me

  93. i have windows server 2008 installed in a computer where sql server 2005 installed. i have a static ip. how can i connect an application package from different machine to this pc. in the connection string i have given the static ip
    please advise

  94. I get all this, the final question I have is setting up the router when I have a registered domain being hosted (by maybe). Do I uses GODADDY’s DNS servers, or the ISP’s DNS servers?

  95. @michael
    Those two things are unrelated… You domain’s IP and your home Internet IP. For your home router you set it up following you ISPs instructions. And don’t try to use your domain’s IP address on your router. Unless you don’t want an Internet connection, that is!

  96. Hello friends,
    There is this VPN provider am using but later ban my country from using their service, the question here is how am I going to change my dynamic ip address so that their server will not detect my country so that I will continue to use their service?

  97. Hlo respected buddy I have a problem in my airspan wimax device setting .my isp gateway adress is in static mode but I hav changed it to bridge mode and its wan and lan etc appear and wan and lan ip was same then I tried to save the setting but its says lan ip and wan ip cannot be same then I change the lan ip and add few things of lan and saved and reboot it for change and I can’t access my ip and open the login page of airspan wimax and internet doesn’t work I forget my changed ip of lan and when I directly connect he ethernet cable to my pc it shows unidentified network and no internet access please help me to open the login page my wimax device doesnot have RESET buttom and I have tried the ipconfig command from command propt. PLEAse SIR HELP ME I am IN Great trouble plzplz plz

  98. Hi, I have a question?? If i obtain a static ip address, Is it possible to connect 12 computers in different cities across india??? The main objective is i will have to track all the systems which has a common hotel software in all 12 computers. Please advise.

  99. I am in Toronto ( remote site) and I am connected to the main office by a 9611 avaya IP phone. At the main site (Jamaica) is an avaya ip office with a static ip address. My isp at the remote site is bell and they are using a bell 2000 router. At the moment I can only receive calls if I call the phone would ring at the destination but there is no audio either way. If they call the call quality is perfect.

    Prior to switching to bell I was using rogers as my ISP and the phone was perfect both ways. I am not sure what type of router they were using but it worked. Need to get my phone working again can you help?

  100. I have got a domain using server 2012 r2 and on the same saver I have got my dhcp server configured. My dns server configured but pointed to the domain server that is using the same ip address as that of the domain server. I have got 3 clients computers added to the domain. I am planing to bring my Internet connection from an ISP that uses ADSL line. All the IP addresses on my domain network are private ip address I just picked and is work just fine. Now I would want my domain to access the Internet same time I would want the DHCP server configured on my server to take charge of this. The question is how can I configure the dhcp to play around and ensure my computer with the domain are able to access internet despite there are been assign with privat ip from my dhcp server?

  101. Mr. Leo
    please guide me , i have to give static ip to one of my client , and my whole network run on dhcp , then how we configure this thing , so my client get direct access to my network ??
    my lease line connected in modem then one Ethernet port connected to switch , then where i hv to put next machine to use static ip ?

  102. Hi
    Whenever I try to open the Internet Explorer on my laptop, internet connection breaks and also disconnects my outdoor ADSL modem so no one can use Internet, either.
    As soon as I turn my wireless switch off, Internet access is possible for others.
    Is anybody familiar with this error???????????

  103. hi
    i have dlink router dir- 506l and mts dongle ac2746 and i connect to my dvr h264 cctv camera through online internet but the online internet ip address is not save because if i disconnect to the internet then every time the ip address is change so how can save it. please solve my problem as soon as possible.

  104. dear sir please help me how to i config my audio streaming server we have ptcl broadband static ip but i dont no how to i configuration i see your website can you give me solution plz can you plz tell me how to i config through my static ip thanks

  105. I have got a Static Private IP from my ISP. When i put this IP with MASK & DNS, I require to go through authentication before I access INTERNET.
    I want to assign this IP with MASK and DNS to my Cisco 3640 Router, and I did it. But even after doing so I cannot access internet from my router coz i don’t know how to configure the Cisco 3640 Router to go through the required authentication. CAN ANYBODY HELP ME OUT WITH THIS?


  106. I have been told by a Microsoft partner tech. that my I p address is infected. The network access protection agent is “stopped”. The network connectivity assistant is “stopped”. What does this mean?

  107. sir,
    we just assigning a static ip address & subnet mask,gateway also .finally i click ok button now its showing the system restart opation.after restarted the my system and i open network sharing option but ip address assigned to be automatcally. many times i will try but same msg is showing.kindly adwise me..

  108. Dear sir I buy a wisq2300l outdoor CPE. But I can not software set up. Because configured the host system with static IP on the 192.168.1.x(x could be 10-254). What is the x. My 2nd questions is using a web browser access when web browser log in then web page not available this write show my computer. Pls help me.

  109. Hello,
    I’m trying to connect my iphone to the home network wifi but i’m unable to do so.
    Can anyone tell me exactly what i should enter if i want to establish a static ip address .
    IP address:
    Subnet mask:
    i have no clue about how to do so
    Please help.

    • You shouldn’t have to. You should allow it to configure automatically and dynamically. If that doesn’t work then there’s something else wrong. Unfortunately it’s impossible for me to diagnose.

  110. Dear Leo
    I am using 2Mbps internet leased line in my organisation My isp gives us 4 static IP in single line how can i distribute it to
    1) one ip for firewall
    2) second IP for wireless router ( 1st floor)
    3) third IP for wireless router ( 2nd floor)
    4) fourth IP for wireless router ( 3rd floor)
    is i have to use Ethernet switch to distribute internet leased line. if yes which switch is good for use (without doping speed)
    and if No then please tell me which instrument i have to use. Please Help me


  111. i need to assign static ip address to one of my system within a network . which is connected by using beetel 450tc3 wifi route and to common 8 port switch… from that i connecte 8 systems.. i wann to assign static public ip to one of my computer.. i wann acess data using tha public ip to 1 system where i assigned my static ip. and other system should get internet acess.. how to configure this

  112. I have a server , when I set it with local static IP it dose access the internet, cannot open any webpages, but when I set it to obtain ip it works fine, although the static ip is the same ip issued by the router, I also tried and IP outside of the DHCP set in the router
    what could be happening ????????????????

  113. well im in tijuana mx i need to setup my static ip address and no one knows… what do i need info as ..besides my ip static address???
    ty in advance…

  114. I have a zosi security system/NVR. I cannot get it to connect to network. Get message that dcup not found or gateway unreachable.
    In this situation is a static ip mandatory? .

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.