BT voyager 205 router

Static IP Address.
how to get one..

This page describes how to assign a "Static IP" to your local computer.

If you are looking to get an external static IP, that is; a static IP for your whole internet connexion; see the notes at the foot of the article for more details, and also this post.

What is an IP address?

An IP address is like a telephone number that any computer can use to find any other computer in a network. All networked computers have IP addresses. Most have a static ip, that is, they don't change (for instance, at the time of writing, Google is 74.125.45.100, and typing https://74.125.45.100/  into your browser will take you straight to Google. That is Google's "public IP", aka. "external IP" (one of them), behind their NAT are probably thousands of separate machines, each with different "private" IP's (probably static, or more likely a mix of dynamic and static IP's), 192.168.1.1, 192.168.1.2, etc., we don't see those. But some IP's do change..

Home computers, by default, are set to get their private IP address dynamically from your gateway device (router), via dhcp, In other words, the router supplies a private IP address for your computer to use, temporarily (your router is probably doing NAT, too, and needs your computer to have an IP address, so it knows where to send your data packets).

However, dhcp is not usually an ideal setup; if there is any interruption in the computer's network connexion to the router (you reboot your PC, for instance), a completely new IP address may be assigned1.

Fortunately, there is a way to have the best of both worlds, called a "fixed lease" (aka. "static lease"), more details below.

For general (beginner's) use, dhcp is just fine, because it's easier; generally works "out of the box", requiring no configuration at all. But if you want to do more; run servers, p2p applications, interesting communication devices, etc, you'll be creating port forwarding/NAT rules on your router, to direct incoming traffic to a particular computer (the one running the server), and if you want those rules to be effective past your next reboot, you will need to get a static IP on your computer, so that the incoming data packets can still find you. Imagine the fun your friends and family would have contacting you if your telephone number changed every day!

okay, let's do it!

Okay, so you understand why you need to get a static IP, (apart from the obvious "cuz I want to forward my ports!") it's time to move on to the how part.

"Private" IP addresses usually begin with 192.168** and must be on the same "subnet" that the router is on, in other words, 192.168.1.something, and NOT 192.168.4.something. Only the last number will be different from the address of your router which by default (at least for Voyager routers), lives at 192.168.1.1.  192.168.0.1 is also common.

** There are other private ranges, too, but most people don't need to know about those, 192.168.1.something is what most folk use, and though thousands of millions of machines in the world have 192.168.1.something as their private IP address, they don't interfere with each other because they are behind NATs and other gateways; from the outside, we only see the public IP address, aka. "external IP".

HOWEVER, if your router uses 192.168.0.something, or 10.0.0.something, or something else from the private IP ranges..

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

..then don't hesitate to use THAT instead of the 192.168.1.something addresses I use in my examples, that's what most routers use, but not all. Do check.

The best way to know what subnet your router uses, and thereby which IP to use, is to look and see what IP it has currently assigned to your computer. In Windows, it's in the Support tab of the connexion's Status dialog. A netstat command will get you the same information (and more) on most platforms, perhaps netstat -n. Your router's web interface will likely have all this information, too.

If your router has USB, it has probably already grabbed 192.168.1.2 for the USB connexion, so that leaves you with any number between 192.168.1.3 and 192.168.1.254 to use for your private computers to use as static IP's, one unique number per machine.

Remember to disable dhcp in your router before you start assigning static IP's. Voyaer 205 user? click this image to open your OWN dhcp settings window

Alternatively, create a new dhcp range somewhere away from your regular static IP's, handy for guests and what-not, perhaps 192.168.1.50 - 192.168.1.99

Fortunately, assigning a static IP is very easy to achieve, and the same principle applies to every computing platform, the only real difference being where to apply the settings. I'll start with the best place, your gateway router..

At The Router..

Router 'Fixed Lease'; in this instace, IPCop

Many routers allow you to create something called a "static lease" or "fixed lease".

I recommend you try this first!

Essentially, this ties a MAC address (the physical address of your network card, theoretically unique to your card) to a particular IP address, so it always gets assigned the same local IP address. It's like a static IP, but with NO setup on the computer required. This has many advantages.

Firstly, you don't have to mess with ANY of your computer's network settings, ever. Because the router is always going to dole out the exact same address to that computer (with that particular MAC), the usual DHCP settings will work fine. Your computer asks for any address, and always gets given the exact same one.

It's not possible to give many specifics, because each router is different, but I can tell you that if you use IPCop as your gateway (A Very Good Idea), it's as simple as clicking one of connexions in the "Current dynamic leases" list, and pressing "Create fixed lease", in the DHCP server page. Two clicks, and you're set for life!

In some routers it's called "Address Reservation". Whatever its name, if it exists it will likely be in your local (LAN) network/IP settings tab/section.

In OpenWrt, the settings you need are in Network Tab, "DHCP and DNS" sub-tab.

I prefer to edit the OpenWrt config files directly (it's so easy these days!), adding something like this..

/etc/config/dhcp
## Fixed Lease..
#
config host
option name 'myhost'
option mac '03:E5:A1:B6:10:C4'
option ip '192.168.0.20'

Whatever router you have, it's worth getting this setup (and then making a backup of your router's settings - there's always a tab for this!). You even can reinstall your computer's operating system, reboot, and there is your static IP again! "Zero Config".

If for some reason this isn't available to you, you can set a Static IP Address on your computer..

Windows®..

The dialog you are looking for is here.. Control Panel >> Network Connections >> Local Area Connection >> Properties >> TCP/IP >> Properties

*phew*

In other words, open the control panel, open Network Connections, right-click the "Local Area Connection" (unless you've renamed it to something else) and chose "Properties", then (in the "general" tab) select "Internet Protocol(TCP/IP)" and click the "Properties" button. Check the "Use the Following IP address" checkbox and enter your desired IP address. If you use 192.168.1.3 as your IP address, the dialog will look something like this..

Windows network connection

..which is a clever screencap, showing you just how to get there. When you're done, okay everything to close all the dialogs. It's smart to use 192.168.1.3 as your address, especially if you plan to use any of the ready-made script kicking around here.

I you are plugging your computers into a network switch (Good Idea!), it's also smart to plug each machine into its corresponding CAT-5 socket, router (192.168.1.1) into the first, 192.168.1.3 into the third, and so on, so you can see which is which at-a-glance.

Mac OS X..

What you need is in the "Network" dialog of the System Preferences, and will look something like this..

Mac network connection

Simply click the drop-down menu for "Show", and choose "Built-in Ethernet" to get that screen, enter all the details as above. Click "Apply Now", and you're done!

Did you notice that on the Mac, you enter the Router's address into a space labelled as "Router", whereas, on Windows, you enter it into a space labelled "Default Gateway"? But then, the space for DNS servers is clearer in the Windows box. Seems we all still have a lot to learn from each other.

Linux..

This probably isn't necessary, most Linux users know how to alter this stuff, but I suspect one or two may not. Usually you need to edit some plain text file (as root). On some Linux systems, the settings will be in /etc/rc.d/rc.inet1 (or whatever interface you are using), or possibly /etc/network/interfaces. I guess it might look something like this..

linux network connection

Usually, your distro will have a utility for setting up your network, and one of the first things it will ask you, after you tell it you want "manual" and not "automatic" configuration, is what IP address to assign to the machine. It's usually called something like "Network Configuration", or "inet configurator" or whatever. you'll find it! In a shell you can probably do "netconfig", "netcfg", "Ifconfig", "neat", or "netset" (depending on your distro). Same story for UNIX, Solaris, BSD, etc..

That's it!

From now on, your machine will always be reachable at your chosen address. NAT rules will be permanent, and you can dabble in all sorts of interesting and esoteric communications devices, servers and p2p applications.

If you have a few computers on your private network (LAN), you might want to consider giving them all names to go with their permanent addresses, so you can reach them by typing "workshop" or something into a telnet session/web browser/whatever. You could telnet to your router by simply doing telnet router, for instance. If you develop web sites, this is near essential. See here for more details.

If you like, you can leave feedback (I thought it was about time this page had comments of its own - folk are coming straight here from the search engines, and it's getting popular!). If this page didn't help you, tell me about it!

Have fun!

;o) corz.org

notes..

references:

1. This is very similar to the way you get a new external IP whenever you dial-up to the internet (some folks still do that) or disconnect your ADSL for a few minutes2 (less scrupulous net citizens use this "feature" regularly!).

2. Although it's usual to get a new external IP when you reconnect your DSL, it's not guaranteed. With some ISP's it happens rarely, with others you need to disconnect for a few minutes or more, with some ISP's, you always get a fresh IP with each connect, no matter how quickly you do it. One thing is certain, though; unless you are paying them for a static IP, your current external IP address will change!

3. Remember, your external IP, and your local computer's IP, are two totally separate things (well, in this context). Almost no one needs a static IP for their external connexion, but almost everyone who wants to run peer-to-peer applications, ftp servers, and so on, will need a static IP for their local computer. The former is supplied by your ISP, the latter is down to you.

FAQ..

What is an IP Mask? And how do they work?

The IP Mask simply describes which parts of an IP address are not going to change.

IP addresses are currently 32 bit, expressed as four sets of 8-bit numbers (0-255), or "octets". Simply, 255 means none of the bits can change, 0 means all of the bits can change (it can also be any number in between). What sometimes confuses, is that IP Masks can be expressed in two different ways..

IP: 192.168.0.<some valid number here>, Mask: 255.255.255.0

and..

192.168.0/24

Are exactly the same. While the first is, if you understand what I've said so far, fairly obvious; the second needs a little explanation.

If you remember that IP addresses are 32 bits, 4 sets of 8-bit numbers, you might realize that the second number simply states how many of those bits will be masked; in this case, 24 of the 32 are masked (cannot change), which is the first three sets, i.e. 255.255.255.0.

Any address using this mask, will be 192.168.0.something

See?

What's the difference between a public and private IP Address?

We did this! Okay, in short, your GATEWAY has your Public IP address, and your desktop computer (and any other machines inside your home/organization) have private IP Addresses. Simply put; it's outside and inside. Anyone "out there" can see your public IP, but only machines inside your own network know each other's individual private IP addresses.

.. So, let's say a packet of data from "out there", is trying to reach your machine; it could be a legitimate connexion from a client, maybe an FTP client, or some game player, or script-kiddie, or you trying to access your bedroom's WebCam, or whatever. It leaves their machine, and starts its journey, hop-to-hop, attempting to get to yours.

"Out There", is the internet. When you first connected to the internet, via your ISP's backbone, they assigned your connexion an IP address (or more than one, in some cases) from a large pool of IP Addresses they own. Any machine sending you a packet of data can reach you at this IP.

Some folk pay for a static IP, most folk get a dynamic IP; that is, whatever's currently available from the ISP's IP pool, but either way, whatever IP your ISP gives your connexion becomes your Public IP Address. Every time you access a web page, or FTP site, or game server, or announce yourself to a torrent tracker, or anything; that is the IP Address they see at the other end of the connexion, and that is the address they will send the packets back to. This is your Public IP Address.

Up until that packet reaches your gateway machine, it is in the public domain. Anything could happen to it. Once that packet hits your gateway machine, it enters the private domain and what happens next, is up to you..

If your gateway machine is a router, or better yet, a dedicated gateway appliance like IPCop, or Smoothwall is, then you have an array of possibilities. The packet may be on a port you don't know, or don't allow, and may be immediately dropped by your gateway's firewall.

Or it may be on a port your gateway machine recognizes, like the return data from a web page you requested, or your torrent port, or whatever, and the gateway device will have been programmed to forward that packet on to a Private IP Address, another machine inside your network, your desktop, or wherever. The gateway's firewall usually does most of this automatically, sorting out which machines asked for what data, but can also be programmed to forward specific traffic to specific machines, for example, when we create port-forwarding rules for P2P clients on our desktop computers.

Your Private IP Address is known only to machines inside your own network. If you have lots of machines inside your network, they will each have different private addresses, and with a secure gateway, none of these addresses can ever be seen from the outside (unless you hand it out, for example, in your email headers).

This is why if you broadcast your Private IP to a distant server, e.g. 192.168.1.3; the requested data would never return, having been sent to a machine most likely sitting in the exact same building as the distant server, if such a machine even exists.

I want to host a REAL domain! A REAL site! I NEED an external Static IP!..  Don't I?

No, so long as your hardware (computer/network/connexion/bandwidth allowance) can handle whatever kind of site you plan to host, it's easy enough to point a proper TLD* at a dynamic IP address. While not recommended for mission-critical applications (there will always be a brief spell after you are assigned a new IP, where the name still points to the old IP - these days increasingly briefer, as DNS systems improve), hosting a "real" domain from a dynamic IP is most definitely doable.

Once you have purchased (registered) your domain name, you simply need a way to keep it in sync with your ever-shifting dynamic public IP address.

Check out zoneedit.com, a free service which does exactly that. Just like dnydns.org et al, you run your DUC and it keeps your domain name pointing at your IP address. And if you head along to namecheap.com, you can even register your domain, and setup dynamic DNS all at the same time. This is a fine place to add that I consider namecheap to be the best domain registrar in the world.

* okay, technically only the "com/org/net/etc." part is the actual TLD, but the acronym has dropped itself into common parlance meaning "a proper (not-sub) domain", like "corz.org" or "ampsig.com" is. Okay, I might have pushed a little. ;o)

<Insert any question here>

When troubleshooting network issues, I usually get my solutions following one simple rule.. "Think like a packet of data". As breathtakingly simple as this sounds, imagining yourself as a packet of data, traveling from A to B is the fastest way to figure out where the trouble lies. That's all there is to it! Try it; you will not be disappointed with the results.

Troubleshooting..

A number of things can go wrong when trying to configure a static IP on your local machine. The most common issues are..

Check these things, and if you're still having difficulty setting up a static IP on your local computer, feel free to leave a question below. It might be something other's could use an answer to.

Before you ask a question..

Firstly, read this at least once in your life. I insist!

NOTE: THIS IS NOT A COMMUNITY. And I am not your free tech dude.

If you can't be bothered to read the article, I can't be bothered responding. Capiche? I do read all comments, though, and answer questions about the article. I'm also keen to discuss anything you think I've missed, or interesting related concepts in general.

Questions which having nothing to do with local Static IP addressing will be deleted, which also doubles as your answer! This also goes for questions asking for an email reply.

If you are still sure that you want to post your own, personal, tech question, then please ensure that you first, either..

a) Have read the article (above) and have tried "everything" yourself; or else..

b) Pay me. The PayPal button is at the top right of the page.


return to paged comments
Tim Jennings - 16.10.07 3:33 pm

Excellent advice, you have just made my life a lot easier, and put things in layman terms.

Much appreciated.

Tim.


corz - 16.10.07 6:50 pm

I only put the comments on this page yesterday, but I did have a feeling they might be used; though of course, I was expecting some more like "this doesn't work on my system!". Heh. I'm glad I could help. Saving folk time and effort is what it's all about.

I recently genericized the page (it was fairly Voyager specific originally, but was getting a lot of "general" hits). This seems to have paid off. Thanks for Christening the page's comment facility!

I'll get the "shop" up soon, so folk can show exactly HOW much my work is appreciated - because almost no one ever hits the PayPal button "just to say thanks", but a perhaps a Key-fob, or a T-shirt, Hoodie top or something, might be a more appealing way to give something back.

Anyway, there's code to do first, as ever. But, one day...

;o)
(or


Jesse - 17.10.07 2:20 pm

Hey I like your page and thanks for the useful and straight forward explanation...I'll be back!


maikl - 17.10.07 7:40 pm

very good, simple clear, not too many words.
but dont know what to do with alternative dns, left it blank


corz - 18.10.07 8:43 am

maikl, blank is fine for the alternative DNS server; your router/gateway should have the received an up-to-date DNS server address list when it connected to your ISP, so its address alone will suffice. However, it's not a bad idea to put the address of a known good DNS server in there..

It probably wouldn't be wise for me to post an address here, but with a smidge of inginuity or some Googling, they are easy enough to locate. Your ISP will have many, as will all other ISP's, web hosts, large institutions, etc. Actually, I believe that opendns.com welcomes "load-testing" on their two main resolvers..

208.67.222.222
208.67.220.220

If anyone knows different, do let me know. smiley for ;)

Another strategy is to put the address of a local caching DNS server, or vanilla Linux box with a BIG list of DNS servers in its /etc/resolve.conf file. But blank is also fine.

Jesse, you're welcome back any time!

;o)
(or


Kumar - 21.10.07 6:37 am

Article is simple and informative. Though I had an idea about this, but couple of things additionally were useful and have corraborated my understanding


MICHAEL - 23.10.07 8:13 pm

I HAVE A CLUB AND I WANT TO WATCH MY CCTV SYSTEM FROM HOME. IT HAS THE CAPABILITY BUT IVE BEEN TOLD I WILL NEED TO PAY MY PROVIDER TISCALI FOR A STATIC IP ADDRESS IS THIS THE CASE.

THANKS MC


corz - 23.10.07 9:15 pm

Jeez! NAE NEED TO SHOUT!

As to your question, for a donation of only one month of Tiscali's static IP fee ( well, it can't be said I don't try! and you did say you had a club smiley for :lol: ) *ahem* where was I? Oh yeah, do you need to pay Tiscali (who I could tell you a few stories about! fux0rs!) for a static IP? Well, for a small donation- oh feck it..

NO! THIS IS NOT THE CASE!
I'm shouting in case the reason YOU shout is that you are also hard of hearing! smiley for :D

What you really need, in a nutshell, is a way to "find home", or in your case, "find the club"; somewhere to point your client program (the cam viewer application). Tiscali, and other ISP's, will argue that as their regular DSL connexion changes IP on every connect (as explained in my intro, above) it is not possible to run such servers from your connexion, and you must "upgrade" to a static IP. This is not so.

Check the notes at the very end of the article - which I pre-emptively added this very morning! - because I had a feeling that folk might come here wondering about the other  kind of static IP, the kind on the outside  of your intenet connexion. Rarely do people need this, and I'm glad you've given me a chance to explain why. note no. 2..

Perhaps you simply need to get yourself a dyndns.org or no-ip.com address, and a DUC

What dyndns.org and the other "dynamic dns hostname" providers do, is give you a fixed, permanent hostname that always points to your IP, no matter what it is. To make this magic happen, all you need is a membership at dyndns.org or no-ip.com (which is free, for up to five host names - there are others), and a DUC, aka. 'Dynamic Update Client'.

DUCs, just like Ducks, come in all shapes and sizes, from wee shell scripts that run in the background on a spare Linux box in your home, to cute windows tray icon thingies that flash and animate themselves with all sorts of annoying status messages whenever you reconnect. But they all have one simple task, namely to inform dyndns.org whenever your IP address changes. Generally they will do this automatically whenever you login to your ISP. The more automatic, the better.

If you are fortunate, your router (the Voyager routers can do it) or firewall device (like IPCop) will have built-in DUC capabilities, and as they are the boxes that connect and disconnect you from your ISP, are in a perfect position to know exactly when you have just received a new IP, and immediately inform dyndns.org, who feed your new IP address to their name servers, and within a couple of minutes, from anywhere in the world, clubcam.mine.nu (or whatever you decide to call it) will point to your club's new IP. Ideally a DUC should be a set-once-and-forget affair.

At home, you simply enter clubcam.mine.nu into your cam-viewer, with the correct port, password, etc., and your home! or rather, erm, club!  smiley for :D

Have fun!

;o)
(or


Kiefer - 04.11.07 5:08 am

Informative and simple, awesome guide, thank you.


JB - 15.11.07 11:33 pm

I thought a static IP address was something that you would have to pay your ISP for. Isn't that the way it works?


corz - 16.11.07 12:33 am

Yup, that's the way it works. Though most folk don't need a static external IP (see my big post, a couple of posts up, and the notes under the article), and paying for one would be a waste.

But this page isn't about that; it's about setting up a static IP for a machine in your local network, mainly to get peer-to-peer applications working full pelto, BitTorrent, ftp servers and such-like. It has nothing to do with your external IP.

Inside your own network, at this side of the router, you can do whatever you like, even be microsoft.com, and all for free!

;o)
(or


lch - 16.11.07 1:10 am

I came across this page while conducting a search on IP addresses because my wireless internet has ceased to function out of nowhere (one day, it stopped working and no amount of repair attempts have fixed it for the past week...), and it is because "TCP/IP cannot be enabled"...I can't find my IP address and neither can my wireless programs! Would following the instructions on this page fix my problem and allow me to connect to wireless? (please say yes!)


corz - 16.11.07 9:48 am

In a broad sense, this page could help. If you know what an IP is, and how to change it, that's a start. "TCP/IP cannot be enabled" sounds fairly serious. I've not seen that exact error (that is the exact error you are getting, right?), so I can't be certain of the cause. Have you consulted your system logs for more specific details?

I have very little experience of Wireless networks (I basically don't use them, don't trust them) but if it were my setup, I wouldn't wait a week if the usual repair operations didn't work, I'd reinstall every network component from the ground-up, especially my wifi card, and work from there.

For tracking down hosts on a local network, check out Angry IP Scanner, a well-handy wee tool.

Be linear, logical and thorough, and you can track down any networking issue. I generally recommend folk imagine themselves to be a packet of data travelling through the system, see the route you have to take, and all the steps and hops in the way; makes troubleshooting easier.

Good luck!

;o)
(or


Alex - 04.12.07 9:31 pm

hmmm.....smiley for :lol:


Kirmonkey - 10.12.07 3:19 pm

Very clear English, communicated all I needed to know to make the required changes to my Linux system. Good to see that you didn't assume too much prior knowledge whilst not assuming we are daft.

Bravo, top of the class


Ron - 10.12.07 8:35 pm

Very helpfull advise. Finally I think I can setup a camera for remote viewing. Also a couple dry contact switches to remotely controll.

Thanks
Ron


Dias Falc - 18.12.07 2:49 am

Yo. Me and a friend were trying to set one of these up for a P2P online game, and neither of us could do it. My question is, how do I disable the DHCP on my router? That's the only thing I think that we didn't do, and we were unsuccessful, so I figure that that must be the problem...

Thanks for your aid. Much obliged.


Neel - 14.01.08 2:30 pm

tanx 4 ur information



Ewen - 16.01.08 6:33 pm

Thanks for the advice but unfortunately I am still stuck in a rut.

At the moment I am trying to set up an 'static ip' so I can set up 'port forwarding' for bittorrent clients. I have a wireless modem/router (don't know if that's trouble) and I have used information on this website http://www.portforward.com/networking/static-xp.htm (have a read), which goes on telling you how to do it step by step.

In the guide it mentioned something about "Some router's act as a proxy between the actual name servers and your computer. You will know when this is the case, because the Default Gateway will list the same ip address as the Name Servers entry. We need to have the correct Name Server IP addresses."

So that's the exact problem I've been getting. I go into command prompt and type in 'ipconfig/all' I get 10.1.1.1 for default gate way, subnet mask, and DNS server. So I decided to connect to my router via my browswer which is incidentally '10.1.1.1' and go into the status page and the information there on Default gate way, subnet mask and DNS server were completely different from what I got in the command mode (pretty sure it's correct here).

I got everything now, but how do I put it all together and get a static I.P?

Sorry to bore you with this, if you can whip me an email that'd be great! smiley for :D




Marius - 20.01.08 7:51 pm

A nice resource (I admit I've build it up, so I might not be really impartial) is

http://www.hold myip.com

You can use it to always be able to see your IP, even it's dynamically assigned.

I've designed it with simplicity to use in mind, so all you need to do is leave the website open on your computer you need to know the IP.

Kind regards,
Marius
http://www.hold myip.com


Allen - 28.01.08 4:14 am

BIG Well done and Big thanks! A minefield of information, been on this sight loads of times and found it very helpfull! Keep up the good work, cheers!



BW - 30.01.08 10:36 pm

Thank you, great article who wrote it.


Twan - 10.02.08 8:39 am

wtf is a IP adress? How the hell do the numbers change into letters letters into numbers? Wtf? When you read about the IP info are you not suspose to understand what it means? strange stuff.

seriously


Miroslav - 20.02.08 11:19 pm

Well done commander. Your bounty has been paid smiley for :)

err... I mean excellent information.
Will be put to good use asap, to play with my home server.




corz - 26.02.08 8:30 am

Thanks for the thanks! I keep the good ones, for later use.

Dias Falc, every router is different; you would need to refer to its help/manual. If it's a BT router, check the links at the top.

Ewen, no, I will not visit portforward dot com! I'm still recovering from my last visit! Anyways, you are mixing your inside and outside IP's. To your local peecee, the DNS server IS the router/gateway. The router does all the DNS requests for the entire local network, and passes the results back to the local machines.

But the router needs to know the address of an actual, real DNS server, to get the information in the first place. However, none of this is relevant to setting up a static IP on your local machine, for p2p, games, or whatever.

Start by forgetting everything you read at portforward, and start again at the top of this very page. You only need to a) get the router to use static and NOT dynamic (DHCP) addressing for the local network, and b) tell your local peecee what its static IP address will be. That's it!

Marius, that site looks very like..

https://corz.org/ip

except with extra bits. If you need to access the server machine from another machine, and the server is on a dynamic IP, I recommend a dyndns.org address, every time. And if you just need to know your external IP, my page is better; especially if you want to incorporate the results into a script.

By the way, anyone with access to a web server could host a similar page, here's the (Oh-so-complicated) source..

<?php
header
('Content-Type: text/plain; charset=utf-8');
echo 
$_SERVER['remote_addr'];
?>

Twan, you seek enlightenment. That is good. As you know, and IP address is a series of numbers. And "google.com", is not. The thing that glues these two seemingly unrelated strings of characters together is called "DNS", aka. the "Domain Name System".

DNS is magical. It's what keeps the whole internet working. Domain Name Servers translate domain names into addresses, addresses into names. There are thousands of them all over the internet doing this one job day-in-day-out, usually in pairs, in case one breaks down.

..from https://corz.org/serv/tricks/spoofurl.php

It may seem complex at first, but it's a simple enough system; a DNS server is basically a computer with a HUGE list of name=addresses..

so-an-so.org = 222.346.123.121
another.org = 222.346.123.124


and so on (though the syntax isn't quite so straightforward, obviously)

Once a domain name is "registered" in the DNS (list), requests for corz.org (or whatever) are automatically translated (by one of the zillions of DNS servers around the world, the one your router talks to, generally) into 68.178.194.153, which is the "telephone number" of my server, so to speak.

In much the same way that a phone number works, the first numbers cover large areas (like an area code - lots of homes will share the same area code) and the later numbers cover smaller areas. A bit like..

Country.City.Street.House-Number

The first three octets could be shared by 255 other computers, but then last octet will always be unique..

222.346.123.121
222.346.123.122
222.346.123.123
222.346.123.124


Which is very like four houses on one street. It's not absolutely geographical; corporations, ISPs, organisations, the military, etc. own entire "blocks" of IPs, so; for example; 172.142.167.something  will always be a UK AOL customer. Poor sod!

Miroslav, darn! I even checked the PayPal account, just to be sure... Nada! smiley for :roll:

l*rz..

;o)
(or

ps. 222.346.123.anything is not a valid IP. IPV4 octets can only be from 0-255. I was demonstrating only, and didn't want to accidentally post a real IP.


butch - 27.02.08 10:30 pm

im glad i found this site, i contacted my isp to get a static ip , none available. i want to host my own web page


corz - 28.02.08 11:23 am

butch, what you need to know is in the notes under the article.

;o)
(or


Laura - 15.03.08 4:36 am

I actully have a question instead of a comment,could someone please tell me how to find someone's IP address that is hacking into your computer and saying & doing really bad things to your myspace?? please someone help? thank you. pretty please:(


corz - 15.03.08 5:24 am

Laura, that's two questions.

To find out the IP of someone cracking into your computer, start with your firewall logs, and if they are no help, run something like CurrPorts, and you'll see exactly who is connected, to what, and from where.

It is very unlikely that someone is, unless you have a really duff setup, or Windows 98.

As for myspace, I've really no idea how it works, or even what it is, exactly, but I assume you have some sort of login, and you've changed your password since this began, performed basic security measures like that. As to how they are actually "hacking" (sigh) it, try this useful link..

http://www.google.com/search?q=hacking+myspace

;o)
(or


Laura - 15.03.08 6:15 am

THANK YOU VERY MUCH WHOEVER YOU WERE,,CYA smiley for :)


siobian - 16.03.08 11:06 am

Thank you so much for all that free info, you have restored my faith in humanity and my network sys. Very much appreciated.


sb - 25.03.08 7:46 pm

I too have a question.

I set my static internal IP address to 192.168.1.2.
Then I created a dynamic DNS site, sax x.no-ip.org.
When I connect to x.no-ip.org, I get the (correct)
external IP address of my _router_.

How can I "subselect" and connect to the static address
of my computer (using WinSock for example), from any
computer (not just ones in LAN)?

Scheme:
Router Address -> Local (STATIC) IP address

Is this possible?

Many thanks.

ps: I can set my DUC to local IP address too - but
that only works in LAN.


corz - 26.03.08 1:04 am

sb, WHAT?

If you mean you want to run a server on the machine at 192.168.1.2, and you want to know how to forward the requests from the outside (WAN), through your router, to the machine in your LAN; then you need to do something called "Port Forwarding".

Most routers can do this. You didn't say what model of router you have, so all I can suggest is you hunt around its firewall prefs.

If you also want to access the server from inside your LAN using the no-ip.com address, you simply hack the address into your local hosts files (or caching DNS server if you run one). See here and here for more details.

If you meant something else, get back with more/better info. Note: the secret to solving network troubles (and asking good networking questions) is to "think like a data packet", that is, follow its path from client to server.

;o)
(or


QQ - 26.03.08 12:06 pm

I did not need a static IP address to create my own blog on my home PC. Why then do I need one to host my own website?


corz - 26.03.08 4:06 pm

QQ, you don't. And no one implied that you did.

;o)
(or


sb - 27.03.08 7:56 pm

Thanks for your fast response!

I forwarded port 25192 on my router (Siemens Wireless ADSL) to port 25192 of my static local IP 192.168.1.2.
(I've set my DHCP range to 192.168.1.3 -> 192.168.1.255)

The router manual said something about adding filter rules, so after googling them, I went to the Windows Firewall of my LAN-connection panel, tabbed to "Exceptions" and added my port to the list of programs and services (? also ports obviously then) that are NOT to be blocked. Is this correct?

Saved my router configuration, updated my DUC.
Set up my server program to listen for incoming connections on 25192, and to send back some html code (for now).

When I entered my dynDNS address and the port into IE (http://x.no-ip.org:25192), I got:
Cannot display web page. Cannot display web page content, find a suitable program? Of course I didn't find anything smiley for :)
My server program also did not recieve any connection.

Then I connected using WinSock to x.no-ip.org using that port (and TCP) and I get error message 100061: server (actively) refused connection.

(replacing x.no-ip.org by my external router address doesn't do anything better either (ofcourse))

Tested my server program and it worked when simply connecting to my own pc with port 25192.

.. help?

Thanks! You are awesome!



corz - 28.03.08 2:26 am

sb, you seem to have the gist of it now, but are perhaps sticking on a couple of the details..

Firstly, you are not going to be able to test this effectively from inside your LAN. I recommend you use my port probe, which lives on the corz.org server.

Then you need to go through the whole route (thinking like a packet of data, remember) and probe, probe, probe at every step you take. If you don't SEE changes, then there weren't any.

Port-forwarding is usually straightforward enough on most routers, though sometimes not. Read the port-forwarding section in your router's help file, and ensure you aren't missing something.

I am concerned about your statement "Saved my router configuration, updated my DUC". Why do you need to update your DUC? A Dynamic Update Client should update automatically, every time your external IP changes (and if it doesn't, get another DUC, because yours is useless), hence the name "DUC". I repeat, you should not have to update a DUC, ever.

All a DUC does, is tells dyndns.org (or no-ip.com, in your case) that your external address has changed, so that your dynamic IP service provider (no-ip.com) can update their name servers with your current IP. That's all. My firewall box (IPCop) updates them all whenever I connect/reconnect to the net - it has a DUC (and a darned good one) built-in. I haven't looked at that page for a year but my dynamic host names are always up-to-date.

While you are setting this up, you might want to turn off the DUC altogether, go to https://corz.org/ip, and input that IP directly into your hosts at no-ip.com (I assume they still allow you to update your current IP from the web).

Until you get things working, remove ALL complexities, and potentially problematic systems from the picture. A DUC is useful if you run a server, but you don't have a server running 100% yet, so put it away until you do. Same goes for firewalls between the probe and the server. Switch them OFF. And if you really are using the Windows built-in firewall, I recommend you don't switch it on again, ever. Disable the service altogether and get a real firewall, if you really must.

Our data packet wants a clear path, from client (in this case my port probe) to server (on the local box @ 192.168.1.2). Forget no-ip.com for now, and use your raw IP address. Remove all complexity, and test again.

Once it's working, you can again enable firewall, DUC, etc, one-by-one, and test (probe) after each and every step. That way, if something is causing issues, it will be easily discovered.

There are LOADS of tools online that can, as part of their operation, attempt to connect to your server from "outside"; use them. For example, the W3C html validator (wee button at the bottom-left of all the pages here), or site-uptime's quick-check, and so on and on. If you need to know what a real outside connexion will look like from the other end, these, and the thousands of other, similar tools, are invaluable. Strangely, most people don't think to use them in this way.

Finally, once everything is 100%, with all firewalls in-place, DUC enabled and working (automatically!) you can edit your dynamic host names into your local hosts file, and work with the no-ip.com address inside and outside your LAN. For more info about that, follow the links I dropped into my previous post.

for now..

;o)
(or


overburn - 29.03.08 12:34 am

will this affect any computers in your network bar your own.
E.G you configure an external IP thats static, and downstairs computers connection has problems?


corz - 29.03.08 6:10 am

overburn, YOU CANNOT CONFIGURE A STATIC EXTERNAL IP!

As I said, in the article..

If you were actually wondering how to get a static IP for your whole internet connexion; aka. external IP; perhaps to run some live website or interesting server from your home or office, well, that's not something we mere mortals can do from our side of the router. You will need to talk to your ISP

You can only configure static IP's for your local machines, the ones inside your LAN, which is what this page is about.

Note: it's usually best to actually read a page before asking questions about it!

;o)
(or


asfand - 31.03.08 1:38 pm

very nice article.

Just wanted to say, some people DO 'need' a static external IP :p

Why? Well for p2p softwares like DC++. It's not enough forwarding ports, you need a static external IP too...one which I don't possess. Other reasons are purely convenience; for games etc...letting friends know which IP to connect to can be a bit of a hassle if you have to go to corz.org/ip or dslreports.com/whois :(

Either way, if you have anyway of making DC++ work without the user having to type in a new IP address everytime (providing you've reconnected since the last usage), I would be eternally grateful to you.

Seriously.

Eternally grateful.

Who wouldn't want that? :p


corz - 31.03.08 2:03 pm

asfand, did you miss the notes under the article?
The solution is there.

;o)
(or


asfand - 31.03.08 6:48 pm

I didn't no; I know about calling the ISP to check if they can offer a static external IP address etc etc.

I just threw that out there to see if you were maybe a user of dc++ and knew how to get round that requirement smiley for :)

You didn't have to be so dismissive :(


corz - 01.04.08 6:09 pm

I meant, did you read this bit..

Note: Not all ISP's offer this service, and those that do will usually charge a premium. However..

Most people do not need this!

Even those that think they do, or have been told they do. Perhaps you simply need to get yourself a dyndns.org or no-ip.com address, and a DUC.


Which as I see it, is the solution. No?

The only way I can imagine that it would NOT be the solution is if the software in question (dc++, game, etc.) required a dotted decimal IP (i.e. 172.149.39.299), and had no way to input a proper host "name". But that would be an issue with the application, and they should fix that. Forcing thousands of users to pay through the nose for something they don't actually need, is not clever.

;o)
(or


new2linuxWebServer - 05.04.08 1:26 am

Ok I am one of those "1 or 2 linux users" that do not yet understand how IP addresses work. I am trying to build a web server that will serve web sites to the net. I have a linux os and xampp server and am at the point where I have just set up a firewall and have given permissions for ports "80 and 21" and all tests say the server is working but I can not figure out how to connect to the server from the internet. In the book I am reading (The Official Damn Small Linux Book) it instructs me to get the Ip address by entering the following at the command line:
/sbin/ifconfig |grep inet
and I did and it gave me: 192.168.x.xx (x's are numbers)and It said to test the server by entering that IP into another computers browser and I did and it doesn't work:( Can You perhaps tell me why or what I may be doing wrong? I would really appreciate it! thanks,
new2linuxWebServer


corz - 05.04.08 1:55 am

Don't get me wrong, *lots* of Linux users don't understand how IP's work, but most are more familiar with how to set their own; generally it's part of the setup procedure, though many these days would likely opt for dhcp. Anyway..

The grep command would work if your server was directly connected to the internet, but I suspect you are going through a NAT/router/etc, which is why it gives you a local (private) ip, 192.168.1.3, or whatever. Remember..

** There are other private ranges, too, but most people don't need to know about those, 192.168.1.something is what most folk use, and though thousands of millions of machines in the world have 192.168.1.something as their private IP address, they don't interfere with each other because they are behind NATs and other gateways; from the outside, we only see the public IP address, aka. "external IP".


What you need to know, is your public (aka. "external") ip address, which is currently 99.164.*.*. See the useful links section; not only is there a link to my handy "what is my ip" script at https://corz.org/ip but right above there, it will tell you what your ip actually is, right now. That's the ip you want the other person to put in their browser. I just tested it, by the way - it timed out.

Before you get to this stage, though, you want to ensure everything is working 100%, locally, from 192.168.*.*. If you can't access the server from there (or http://localhost/ if you are on the same box) then it's unlikely that anyone will be able to reach it from outside.

;o)
(or


new2linuxWebServer - 05.04.08 5:11 am

Wow thnks for getting back to me so fast! And Thnx for the tips! I used the tool to get my external IP addr. Thanks I was using the wrong one. So I tried the other one and it is not working either:( I tried: http://localhost and that works from the box. I am trying to access the server from another laptop that is on a seperate wireless internet connection. Should I be using a static IP address in this case? I don't think so, but don't know what else to try...and the book I am using for refferance (The Official Damn Small Linux Book) also suggests that I need a static IP and I see your article suggests otherwise...Yes I am using Damn Small Linux as an os.
....And you said that it is giving me the local IP addr. because I must be going thru a NAT/router.....and yes I am going through a Motorola 2210 modem and I have AT&T dsl servive for the server box. So if "http://localhost" works from the box, what can be stopping it from being accessed from the net? I have explored the sever locally to the best of my ability and as far as I can tell everything seems to be okay. I would appreciate it if you could provide further assistance. I have tried getting help from Apachefriends and DSL to no avail....thnx again,
new2linuxWebServer


corz - 05.04.08 1:02 pm

Either the motorola (probably not, if it's just a simple modem, though very likely, if it's a router) or the server box is doing firewalling.

If it's the motorola doing the firewalling, you will need to forward port 80 to the DSL box. This area of the site is filled with information about port forwarding routers, though not specific to your device, it might be worth reading, help you get a handle on what's going on.

If the motorola is just a simple modem, and your DSL box is connected directly to the net, you'll need to look at its firewall, and ensure you are allowing connexions in. It uses iptables iirc, and the config is called "rc.firewall"

It's confusing, speaking about DSL (Damn Small Linux) and DSL (Digital Subscriber Line) in the same sentence! Perhaps that's why you've not had a lot of assistance elsewhere. It might be easier to say you use a "Debian-based distro".

Good luck!

;o)
(or


yuvaraj - 23.04.08 2:38 pm

fine


alex - 04.05.08 3:19 pm

hi there
any idea why my static IP isn't being saved (windows XP)?? i've gone through the process 3 times, restarted, and the new info isn't in.
???
thanks for all your explanations!



corz - 04.05.08 8:43 pm

You don't need to restart to change your computer's IP.

If there's an error of some kind, you should see it immediately. Is there an error?

The only thing I can think that would cause this would be a) you don't have the permissions for such a change (i.e. you are logged into a regular user account, not admin), b) there is an IP conflict on your network, and some other machine has the IP you are attempting to assign, or c) you have another network interface that is already using this IP.

But in at least two of those situations, you should see an error dialog explaining what's happening.

;o)
(or


Pc4600 - 10.05.08 7:14 pm

Hi I am wondering how much or if any, that you know about ipcop? i have tried and tried and to no avail, i cannot access the net through it. if there is anything you could let me know that i am doing wrong or anything i would greatly apreciate it.. i am running a motorola 2210 on att dsl internet if that helps

Ken.


corz - 10.05.08 9:30 pm

I use IPCop myself, and one of the great things about it, is how it usually works straight out of the box.

I use a simple modem with mine (Speedtouch 330 - I had to upload the drivers to the IPCop box via the web interface) and that's a good option. When I look in the Network >> Dialup preferences, I don't see your modem, or anything like it in the Connection Interface drop-down.

I don't know much about the Motorolla, but it's probably not just a modem, but an ADSL modem+router, with a CAT-5 connexion, so it might be worth simply plugging it into your IPCop box, and then running the IPCop setup from scratch. It's been a couple of years since I installed IPCop, so I can't remember too much about the process, but it should guide you through setting up the whole thing. Remember to choose the Motorolla as the "Red" interface. The other (internal) interface will be "Green". I'm assuming you have at least two network cards on the IPCop box.

Another thing to watch for is IP Address conflict - the Motorolla might also want to use 192.168.1.1, for example. You might want to put it onto 192.168.2.something, so there's no confusion.

I don't know the Motorolla, nor what you've tried so far, so that's about as helpful as I can be. A Motorolla-specific forum would probably be the best place to ask, or perhaps the IPCop forum.

;o)
(or


Jon - 13.05.08 9:06 pm

I actually do need an external IP to make changes to a client's site using their CMS. That part's a long story.

Quick overview of the situation: My office currently gets a dynamic WAN IP from our ISP, and our router (I'll call it "our router") has DHCP enabled. My ISP is going to install an additional CISCO router that enables us to have a static external IP.

But I only need MY computer (currently behind "our" router) to have a Static IP, the rest of us can have dynamic IP's like usual. I also want my computer to be able to use our network file sharing. So the question I have for you is:

Is there a way for my computer to NOT connect into the CISCO router directly (meaning my computer will stay behind our current router), plug our router into the CISCO router, configure our router somehow to "forward" (for lack of a better term) the STATIC IP address to ONLY my computer? So,

[CISCO] --> ["our" Router] --> [me with that new static external IP], and 
                         |
                         `--> [everyone else with dynamic external IPs]


I also thought of using a switch to connect the two networks:

[CISCO] --> [Switch A] --> [me]
                         |
                         `--> ["our" Router]



Tora - 14.05.08 1:25 am

Hello Mate,

I am windows XP user and have registered with dyndns.org and with my own sub domain. I am using WAG200G wireless router from linksys, however, when I inserted the information into the address bar... it points to the default gateway IP(router configuration page).

For your information, I have configured the router using the DDNS service which automatically update my ip address to dyndns.org(it is running fine). I have also installed apache service in my computer which I hope to publish HTML pages for my friend's viewing.

The question is:

How do I redirect the default gateway ip to my computer IP(I have a local static IP).smiley for :ehh:


slash888 - 14.05.08 2:42 am

Sir,
I follow that instruction, coz i have a local ip that 192.168.1.3... And i follow the picture.... Now problem is, my global ip will still changing whenever i turn off the router and on. Sir, i want that my global ip will not change even if turn off it or not. Coz im hosting a game, i want to have a permanent global ip. How to make this? Please reply.. Thanks....


corz - 14.05.08 9:10 am

Jon, you probably don't need a static external IP to connect to a client's CMS, something I've done countless times, and I don't have one. But you don't say why you think you need one, so I won't suggest possible solutions.

As for the rest, anything behind the Cisco router will share its IP, so no, I don't know how you can get "around" it for the other folk in your office. You will likely only have the static ip when the installation is complete.

Tora, most routers don't have "loopback", so if you type your dyndns.org address into your browser, your gateway (the router) will translate the address to its "real" address, which is your gateway, and though it may be 124.13.something.something from outside your LAN, but is probably 192.168.1.1 from inside your LAN, and so your browser will go directly to your router. That's logical! Though, of course, that's not where your server is, so the requests fail.

This doesn't mean your Apache server isn't available, however. It's just that you can't yet access it from inside your LAN via your dyndns.org address (which is your "external" address). You need to do one of two things (probably both)..

1) To check to see if your server is accessible from outside, either get someone you trust to tell you, or better; use a proxy. Simple, but effective! Find a free proxy server, and plug it into your browser - now you can surf "from outside", if you catch my drift.

While I'm here, don't forget, there are oodles of HTML Validators, Site link checkers, and so on, that will do exactly this, if you ask them; that is; surf your site from "outside" - always handy if you need to check something for real.

2) plug your dyndns.org address into your local hosts file (which will prevent it from looking elsewhere for the ip). There's more info about running virtual and fake hosts and such on this part of the site. Once you have that, typing myowndydns.org (or whatever your address is) into your browser will take you directly to your site. Meanwhile, use 127.0.0.1 to get to it.

Lastly, once you have your Apache setup and secure (you will be allowing access to your workstation computer from the internet!) forward the port (80) on your router, and requests from outside will be redirected to your local Apache server.

Your router likely has a web interface you can use to setup the port forwarding, which is generally a straightforward procedure. Actually, I see you have already done that, I just loaded your "Web DVR" in my browser. Congratulations!

slash888, if you want a static external (aka. "WAN") ip, you need to either pay your ISP for one, or else use a dyndns.org address. See the notes under the article.

;o)
(or


Jon - 14.05.08 7:05 pm

Cor,
Thanks for the quick reply. So they installed this morning and we're all set with our static IP.

What I didn't realize is that just because there are multiple machines behind my router, that we all still have the same external IP, even if it's dynamically assigned by my ISP. For a while that left my mind, because I have a tendency to unnecessarily complicate things, and I thought each computer gets a dynamically assigned IP even if they're all behind a router.... so I thought I'd have to somehow "route" myself the static IP through the router, and "route" everyone else dynamically assigned IP's. When I remembered after I posted the router (network) gets one external IP, and everyone on it therefore has that same one, things became clear. Thanks again.

By the way, as for the CMS.... I believe to log into the CMS I needed to always be showing at one IP I give the client. It's for a huge international highly-trafficked site, hosted on many Akamai servers. My boss wanted the quickest surest way for a static IP so I called our ISP. I didn't look at the other options (no-ip.com etc).


corz - 17.05.08 9:26 pm

Good one! Sometimes you need to ask the question before the answer appears, even if you knew it all along. Long ago, I developed the skill of "thinking like a packet of data", which enables me to troubleshoot all sort of issues about which I have no clue!

We're currently in a transitional stage, net-wise, where users; the likes of us; have a need for a static IP, and yet the framework for using domain names for this, is still somewhat lacking. Various games, p2p and security applications REQUIRE a dotted-decimal IP address to function (perhaps your client's CMS does, too), and that's something that's definitely got to change.

Pressure from users is the only way that will happen.

;o)
(or


Falryu - 18.05.08 1:35 am

Thank you very much. I had tried some complex guides on other sites but yours was so user friendly that I completely understood everything. I am now running a static ip. Thank you.


kasper - 20.05.08 2:53 pm

hello,

I have a little problem... I need a static IP at home, for P2P. But with this static IP my internet won't work at school, there I need a dynamic IP, and when I set this up, I loose my static IP.
If I set my IP to dynamic and the alternate configuration to static IP, the network won't switch to static IP at home, because the dynamic IP will always work.
Does anyone know why I can't give the priority to the static IP?


gerryod - 20.05.08 9:14 pm

I work for an ISP
Thanks for all the good information.....


corz - 22.05.08 1:03 am

kasper, you might want to use something like netsh (a Microsoft command-line tool - it's built-in to windows). You could make two simple batch scripts, "home", and "school". Something like..

home.bat ..
netsh interface ip set address "Local Area Connection" static 192.168.1.3 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1

dynamic.bat ..
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp


You can also export all your current settings to a file, and then import them again, later. More info here.

Hey gerryod, I hope my advice about folk not needing an external static IP isn't cutting too deeply into your bottom line! smiley for :lol:

Cheers!

;o)
(or


Toby - 24.05.08 8:05 am

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?

Thanks,
Toby.


corz - 25.05.08 4:44 am

That's weird, and something I've not come across before. Off the top of my head, I guess it might be..

• Some local Security software is configured to revert such changes. I don't use AV, sophisticated local firewalls, or anything like that, so I don't have much experience of them, but I do know they can mess with all sorts of settings.

• Your router's DHCP range overlaps the address you are trying to set, and Windows is somehow responding to this. Disable DHCP on your router (or create a new DHCP range), and check your Windows services (run services.msc), disable anything you don't need, particularly Wireless Zero Configuration (unless you need this), the two UPnP services, DHCP client, etc.

• Another (Admin) user on your machine keeps resetting it back when you are not there.

• Something else.

Of course, it's always worth consulting you system logs (run eventvwr.exe) to see if there's a record of this change, and perhaps a reason.

If you find out what it is, I'd be keen to know.

;o)
(or


Pirate - 25.05.08 9:59 pm

hi
i work wit a reputed ISP in static ip dept... i need to do more research on this issue... so can u provide me wit some useful topics and shred some light on configuring the static ips on VPN


BenJAMMIN - 28.05.08 8:57 am

OK so i am trying to set up a static ip adress for my computer only. I am hooked through a router and i am not the host computer.

It is set up as follows: HOST-modem-router-myself and 2 other computers

The problem i am having and the reason i need the static ip is that it keeps renewing my ip every 3 days (we can't change the lease time) and when it does renew my ip the ports i have forwarded change to a new computer.

The properties under the internet protocol thing you have show i cannot get to on my computer because when i go to the network connections window there is NOTHING listed as any connections. I am using LAN. And my internet is working.

SO i have a few questions:

I know how to set up the static ip address using the admin interface for my router BUT when it comes to MY computer on the network since i cannot see any network connections what-so-ever i cannot assign my own ip address as you have shown. What do i do? How do i get the Network connections to show what i am connected to so that i can change ONLY my computer to use the static ip address i am trying to assign since i cannot see my connections to change it? Please help. And by setting the ip adress to the static one using the internet protocol whenever i figure out how to do that that does mean the lease expiration for my dchp server will go away so i stay linked to that ip indefinately?



corz - 28.05.08 11:03 am

Pirate, my knowledge of VPN is extremely limited; basically, I have no interest in it whatsoever. But from what little I do know; static IP, or not, isn't really a factor.

BenJAMMIN, I'm having difficulty parsing your text. I'm not stupid, really, but after three readings, I have only a vague idea of your issue.

Firstly, I don't understand what you mean by the "HOST" computer. In your diagram, it comes before the modem, which implies that it is at the other side of your internet connexion (phone line), but NOTHING under your control is at the other side of your internet connexion; that is in the realm of your ISP. So now I will have to assume that you can't possibly mean that, and instead, you must be referring to some sort of server running inside your Local Area Network (aka. "LAN). A web server, perhaps? Or some P2P application? You didn't say.

If so, why would you want a static IP for the machine that is NOT the HOST? If you aren't HOSTing a server on your machine, why do you need a static IP?

And if not, and you really do only want a static IP for your own computer for some unknown (to me) reason; what has this HOST computer, whatever it is, got to do with anything? Why even mention it? smiley for :blank:

Then you say your DHCP lease changes every three days, and you have no control over this. If you are referring to your external, internet IP, then yes, unless you have paid for a static IP, you have no control over this. However, I suspect; as you then speak about port-forwarding, that you are, in fact, referring to some internal IP (e.g. 192.168.1.3 - again, unfortunately for me, you did not say). To give good help, I need good details, any details!

Feeling charitable, I will soldier on, but please, read this some time.

Understand, firstly, that your "Network Connections" window (again, I have to assume you are using the Windows operating system, because, again, you didn't say) has NOTHING to do with what you are connected to. It is a list of PHYSICAL NETWORK ADAPTERS on your machine, i.e. Network Interface Cards, aka. "NICs";' things with cables or antennae poking out of them.

Each NIC on your system can be configured to connect to a particular network by simply a) physically connecting the network card to the desired network (e.g. with a cable), and b) configuring the Network Card to use the correct settings for that network.

In Windows XP, which I will assume you are using; because you didn't say; the hard work is mostly done automatically, you simply need to enter IP Address, subnet and DNS details, and you're done. That's what this page is all about.

If you Network Connections windows is totally empty, then there is a physical problem with your network card, i.e. it got pulled out. If you use Firewire or something to connect to the network (again, you didn't say), then check the cable is correctly inserted.

You DO NOT configure static IP addresses from your router. What gave you this idea? All you can configure there, is whether not to supply DHCP services to the local network, or, if you are more confident, partial DHCP services; leaving a specific range of IP addresses free for static use inside the LAN.

Once you have some IP addresses free for static use, THEN you configure individual computers inside the LAN to use those addresses. And once they have then, they keep them for ever.

for now..

;o)
(or



Rizla - 09.06.08 8:27 am

Thanks so much for such a clear explanation!

I'm one of the few who need a static external IP - in my case, because our IT guys won't give me access to the web development server from outside our departmental network unless I have one.

I wasn't sure of the difference between the external IP, though (which I knew I had to request from my ISP), and my internal IP. You've made it much easier to understand.

cheers

Riz


jamal - 10.06.08 11:31 am

Hello,every one
I have static address ,can i have control with my second computer,I mean send files or delete etc.
Thank You


corz - 12.06.08 2:39 am

Rizla, again, it's not a real question of need, just poor software on the part of the IT staff. All it takes is one simple DNS call to resolve a name to an IP address. Tech dudes of the world need to catch up! Anyways, I'm glad I could help!

jamal, you don't need a static ip to move files around a Local Network, or take control of other computers in it, but it certainly makes life easier, especially if you are moving files across platforms.

If it's a Windows-only network, or Samba-only, each computer will have a "Name", anyway, and the Samba master name server will keep a table of name >> ip mappings for the entire network. Same story for control, remote registry, and so on, you get to the other computer's resources via its UNC path, something like \\Laptop, you could map a remote hard drive to a local drive letter with \\OtherComputer\folder, and so on. Static IP's aren't required for any of this.

But like I say, they can make life easier, especially if you setup fake local host names, and especially if those names match the Samba (Windows Networking) "Name" of the computer. But that's a whole other story, covered elsewhere on-site (/serv/).

The only time you really need a static ip on a local machine, is when it's running a server that needs to be accessed from outside your LAN.

;o)
(or


jonid - 14.06.08 7:29 pm

ok. i need help.

i cannot connect to skype and other sites from where i am in the uae.

i have been told that by getting a fixed ip address this can be resolved.

can anyone please advise...if this is correct...and also how to do it...is there any downside/risk



corz - 16.06.08 2:56 pm

Firstly, I've no idea what "uae" is. And secondly, afaik, having a static IP will in no way affect your Skype service, one way or another. I don't think that's your problem.

;o)
(or


Bob Manure HobblePoop Herman - 16.06.08 7:23 pm

When I do all this, there is nothing filled out in the Local Area Connectoin


corz - 17.06.08 2:24 pm

Very interesting, Bob.
What are you talking about?

;o)
(or


Jim B - 25.06.08 10:46 pm

I have just speed read the bulk of this Info/Blog and it appears to be what I need to setup my new router. A job well done for the creator and/or web host.
Thanks for the excellent work.


jonid - 27.06.08 7:23 pm

u.a.e. UNITED ARAB EMIRATES . . . that's where Dubai is and where I am now. Anyways, the internet providers here block skype (most VOIP) access...and apparently by adopting a static IP address...which identifies the computer as being ?somewhere else on the planety(?) . . .you can still make voip calls...

does this make sense?

and, is there something i can easily download that will set the ip address?

Thanks.
Jonid









TAMasterZ - 02.07.08 2:17 pm

I didn't read all the comments posted, but HUGE thanks for this great page on setting up a Static IP address in the context of routers and switches.

I always understood the concepts, but now I am trying to creat a static IPs for my work's server network so that we can have greater access and communication between hosts and clients.


Esmatullah - 06.07.08 8:12 am

It is really the best thanks for your good site it is all...


FossilAmoeba - 10.07.08 5:48 pm

I dont understand anything....Maybe because im ten. Please help me I wanna play with my mate...


sknarfenilorac - 22.07.08 11:52 pm

Hey,
I'm only mildly computer literate, but I just got a new Macbook laptop. We installed a wireless router, and I can connect to the network but not the internet. My mac keeps telling me that "AirPort does not have an IP address and cannot connect to the Internet" Is this something I can fix with a static IP address? I tried to follow your instructions for the Mac, but since mine is a wireless router, I guess that's why it's different. What's your advice?


subrato - 25.07.08 7:00 am

Hey (or,

I want to know details of IP address, can u please send me some links and UR valuable comments.
one thing more I have a broadband service which is not giving any Static IP but I need to avail it, is there any software which help me.


gracemisola - 26.07.08 4:16 am

To sknarfenilorac:
Make sure that your wireless router is set to Dynamic /DHCP unless your ISP gives you a specic set of IP for Static. Because even though your accessing a wireless connection, for a Dynamic connection, it automatically assigned to ur laptop an ip address range to ur router. I assume that you know how to configure the settings of your router.

Hope it helps,

Grace smiley for ;)


gracemisola - 26.07.08 4:21 am

To subrato

Contact first ur ISP provider if u can avail the Static ip address. I believe that most corporate companies use this Internet Connection type ( STATIC ) because of many hosts they have. Unlike for DYNAMIC which usually home computers have.
smiley for ;)smiley for ;)


stanralph - 31.07.08 2:36 pm

Regarding using a static ip behind a router. You are the only one of the many instructions I have read that got it right. If your router is 192.168.1.x
Then your static IP for your network card must be 192.168.1.x. I kept trying to set it up as 192.168.0.x.

Thanks so much for your thorough explanation. To bad microsft can't do as well.

Stan Ralph


barney - 31.07.08 10:28 pm

I am in the process of setting up my own network. I have bought the additional hardware, and was a bit lost with regard to static ip's/ip address blocks. I read this post through and there it was, the part where you explain that the external ip and internal (local) ip are two separate things. I subscribe to 8 ip address block through my isp, and they have given me the range to use, and explained that the reason for 8 being available and only 5 usable is that the modem router takes the first two, and the last one.
It goes on to say that I can specify one of the remaining as the port the VPN uses. I take it that this done during setup of the VPN router? Anyway, your posts were of great help and I'll try and set things up tomorrow morning. If any one would like to know how I get on and the hardware used, just say.
Cheers.


ken - 04.08.08 1:29 pm

very useful, thanks.smiley for :cool:


aswe - 06.08.08 1:17 pm

can anybody suggest how to set static IP address in linux programmatically.is there any API for it



corz - 06.08.08 3:18 pm

barney, certain types of DSL connexion pass-through the internet hand-shaking directly to the individual computers, and each computer gets a direct connexion to the net, with its own External IP.

You could assign only one of the available 5, send it to a second router/firewall, and then via that, dole out up to 255 private IP's inside your internal network all sharing the same external IP (assigned to router 2). An IPCop box would be ideal right here.

Or you can connect all your computers directly to the broadband device (assuming it has the physical capability for multiple connexions), and assign different external IP addresses to each computer. It all depends on how secure your broadband device and individual computers are, and what hardware you have available, though either setup would work.

stanralph, if you can, cast your mind back to Windows 98 networking; it was a black art, a mess of confusing dialogs, endless restarting, and pure luck. Microsoft has gone a long way to make things easy, and today's networking is mostly plug-and-play, and so long as you understand the basics of what a network is, what an IP is, and how they relate to each other, you can probably connect any device to any other device with no more than Cat-5 and common sense.

I agree, it could get simpler yet, but still, it's no longer rocket science.

aswe, the configuration files are plain text. And Linux/UNIX comes with a huge kit-bag of plain-text-altering tools that can be controlled with simple shell scripts, as can the services that control the network adapters themselves.

Your shell scripts can be activated in a number of ways; at startup, shutdown, on a repeating schedule (cron), and so on. You already have all the tools you need. Start with this command, in a *nix shell..

man bash

;o)
(or


barney - 14.08.08 11:30 pm

cor,
Thanks for the reply, I have my new hardware and the setup now consists of:
D-LINK ADSL ROUTER connected via WAN to D-LINK VPN ROUTER
DESKTOP RUNNING XP
LAPTOP RUNNING XP
QNAP TS209 NAS SERVER

As the VPN Router has 4 ports then your second option of an individual connection/ISP to each device seems feasible. Would this setup compromise security in any way?
cheerssmiley for :D


corz - 15.08.08 1:49 am

Well Barney, I know enough about the underlying architecture of modern operating systems to never connect Windows boxes directly to the net. But that's just me, and I know that many people do exactly that, every day. I also know that a great many of these machines regularly crash, fall over, get infected, become unwitting participants in bot-nets, and worse. Hardening Windows is a task that few people undertake, at least thoroughly. There are better alternatives..

My advice would be to put everything behind the D-Link, and secure that (it probably has lots of Cat-5 sockets and such, anyway). Sure, it's nice to have all those extra external IP's, but unless you actually *need* them, it's probably not worth the risk, hooking them up, at least not to your regular machines (though they could be fun for other things*). Also, if you don't actually need them, you could maybe get rid of them, perhaps get a cheaper plan from your ISP.

If your boxes were BSD or something, it would be a different story, even without firewalls. As for Windows; Vista is more secure than XP, but not so much as to be worth the upgrade, IMHO. Windows can certainly be made fairly secure, but whatever you do, it's still not going to be close to the level of security afforded by a dedicated gateway, and intelligent network segmentation.

The D-Link probably has a decent firewall you could enable; do that, and you have a secure gateway device. It may have wireless, too - you didn't mention the model - as well as other useful services; DHCP, time server, caching name server, NAT, and so on. As I love to say; true security is in the mind; and a solid gateway goes a long way towards creating this state of mind; knowing that their are at least two distinct and separate networks, with our data "in-side", and everything else, "out-side". Security-wise, the more hops between you an the WAN, the better.

With a secure gateway, you can connect any old device to your LAN with no concern for its individual security status (remember; if a secure device shares files and logins with an insecure device, it too becomes an insecure device). Also the LAN will likely be considerably easier to setup, and join.

Both ways are doable; it all depends on what you need.

;o)
(or

ps. if security is a concern for you, don't forget physical security. I still get a laugh, thinking about a mate of mine who spent a shit-load of money, not to mention many hours setting up a "totally secure" NAS, which turned out, after a fairly crazy party, to also be totally portable!  smiley for :lol:

references:
I'd probably keep the extra IPs, and put interesting servers on them, just for fun. For example, in an effort to reduce noise and power consumption in my workshop, I've scrapped my big Linux rig, and put the whole shebang onto my ever-reliable, though quite ancient (Toshiba Pentium 133Mhz) laptop. It just sits there under the the desk, quietly being my local web dev server, amongst other things. It handles its tasks incredibly well, even with KDE running, but I do wonder how it would handle being connected directly to the outside, getting hammered and hacked 24/7; Slackware 11, no firewall.

A spare external IP would be handy for testing all sort of things. It's definitely a great way to find out if a particular system's firewall works! And for free; all you need is a tempting honey-pot! But for actual workstations, behind a gateway is usually best.



NIRANJAN - 17.08.08 5:25 am

This site is great , i gives me practical knowledge of trouble shooting and also navigation screens of the computer, thank u.smiley for :eek:


barney - 18.08.08 8:36 pm

cor,
From your previous post and if i've got it right, my best bet is to assign a static ip to the dlink vpn router (DI-804HV) which is connected by to the net via a D-LINK DSL 504T. I have the pc's connected to the Cat-5 sockets on this. Would this setup allow me to connect remotely and securely with the QNAP server? I do appreciate your help on this and maybe it's helping others also?
Cheers


Darran - 26.08.08 12:16 am

Hi there, I am currently using a Mac and a XP both connected to this router. My Mac is the host machine.

I have a printer installed in XP, and I want to get my Mac to use that printer. I use the local IP of the XP machine to do that. But it always changes. Is it possible to get my Mac using a dynamic local ip address and my XP a static one, so that I can always connect to it without any problems to do any printing jobs?

Hope to hear from you soon.


diane - 30.08.08 8:00 pm

This is an excellent source of information. Less than 24 hours ago I didn't even know what an IP address was, except that sometimes some programs ask me for it, and then I click X, never to return. I've managed to set up an internal static IP address (hopefully; my computer is working still), but now I'm wondering if I still need an external IP address.

I need to be able to network with police department's computer, as if my computer was on-site there. I'm told I need a static IP to get past their firewall. Do I need an internal or an external static IP? I know my ISP will tell me external, but I don't want to spend that money if I don't have to.

Thanks,

Diane


fico - 31.08.08 4:26 pm

I am looking to set up Static IP address to enable me to watch USA news, sports, and shows out of the country. will be trying your methods soon. will let you know how well it works.
thanks


Ben - 02.09.08 12:31 pm

cheers mate u really helped me out trying to set up a teamspeak server on my machine after getting a new netgear router and the whole thing is just irritating me.


corz - 02.09.08 3:16 pm

Cheers!

diane, chances are; Yes, you will need a proper, fixed, external static IP from your Internet Service Provider, and probably at a cost, however..

a) If you are employed by the Police, they would probably foot the cost of a static IP.

b) You may not need one. It's all about asking the Police's IT staff the right question, which, I guess, would be, "For the VPN's static IP requirement, would a domain name be okay, or does it have to be a dotted decimal IP address?"

You might want to write that down! At any rate, the answer will most probably (sadly) be "It's IP or nuffin, Di!", in which case, see a)

I'm taking a wild stab at all this being some VPN requirement, or even that you are using VPN at all, so feel free to throw in more details if you think I can be of more help. As I explain to barney..

Despite the above paragraph's seeming authority; I know almost nothing about VPN. I do know that where virtual networking is concerned, in the sliding scale from security to convenience, a dynamic IP is often one of the first things to go. A computer's raw IP is pretty hard to convincingly spoof over the net.

To me, it seems a perfectly legitimate reason to utilize a static IP address in a domestic situation. Not being able to cut and run on the latest hot torrents, host Britney albums over eMule, or riot your mad h4x0r skills over the net-by-night, is the price you pay for being so employed. Though for most all other uses, it definitely should be brain-dead simple to swap out an IP for a domain name. Games especially could do better in this respect, I'm told - there's no security issue there, and there's the rub..

Over the internet, Domain Names are easier to spoof, because somewhere along the line, some computer has to translate an IP to a name, and bang goes another layer of security; unless you trust the name servers of course, or control them.

But you just threw in the VPN thing to throw me though, didn't you? smiley for ;) I've mentioned previously my ignorance in that field. You really want to know how to connect to the NAS, which I'm guessing is Linux based. So the real question is how do you want to connect? To share files with the device? logon as a user? Control some service or internet-connected server? Something else?

Some things will be true of nearly all these scenarios. Firstly, you need to open a clear pathway from the client (you, out there somewhere) to the "server", aka "Host Service", or whatever we call it, running on the NAS device.

You have control of all data packets from whatever device is closest to the phone line (or however you connect your LAN to the net), and on that device you must have some port opened, and the firewall instructed to pass connexions on that port, to the NAS. There are variations on this theme, of course.

As it's Linux, the possibilities for the kinds of connexion which can be established once this basic state has been achieved, are practically limitless, but at least 65,536. What you got running?

How secure that connexion is, depends firstly on the handshake between the two machines; ranging from complex exchanges of mutually known, highly encrypted keys and passwords, down to a simple "come right in, baby!", depending on the chosen protocol; and secondly on the encryption level of the actual data packets exchanged between the machines. Again, there is an almost endless range of cryptographic goodies designed to keep private private, and public out. There are Books 2 on the subject.

What is useful to remember, learning in networking, is that many of its paradigms are shared with the real world; the idea of a handshake, of challenge and response, of sharing keys, and secret passwords are familiar to us all, and behave the very same way transposed into their digital gestalt. Packets do travel very like packets always have; some risk is involved. Special packets are well wrapped, personal delivery, man-to-man Royal Mail security, and on the very same train, postcards. Personally, I value convenience over security in most things.

Give the NAS device a static IP and a "Name". A small but powerful thing, set it in /etc/hostname, and so on; go to /serv/ here at the .org and nose around. Once you get real names on your network, you won't go back to raw IP's. Inside your LAN, you control the name-to-IP translation, one way or another, so inside the safety of your home network, at least, you can have security+convenience.

Which brings me neatly to Darran..

Though from the get-go, I'm confused, "My Mac is the host machine". Host to what? A web server? FTP? Or is this something to do with Samba networking? Perhaps a WINS Host? Then, "I have a printer installed in XP". So, the XP machine is the Host, now! smiley for :lol: Anyways, I'll skip past all that and get to what looks like the kernel of your issue..

Firstly, it sounds like you have no need for either machine to have a dynamic IP. Do you? If not, then give them both a static IP (instructions for both platforms, above) and end the randomness!

Then you can go on to give them each their own cute host names (check out the /serv/ part of this site for lots more details), then the Printer, or whatever resource you like, wherever, can always be accessed at \\Computer\Resource-Name. As you're running that BSD-ish box, why not go all the way and setup a local name server, use the Mac to keep everything in sync, name-wise. Simply enable BIND, and maybe read the name page, in a terminal..

man bind

There are simpler options, too! smiley for :lol:
See /serv/tricks/.

fico, it's okay; if I don't hear back, I'll assume it went just fine!

;o)
(or


Shannon - 19.09.08 8:17 pm

I have Windows and entered in the information for a static IP address. How do I know if it worked? Is there a way to test it?

Thanks


corz - 20.09.08 10:16 pm

Yes Shannon, there are many ways to test this.

I'll assume you wanted to set a static IP to DO something, for example, run BitTorrent properly. So the simplest and best way to test this, is to see if it's running properly!

If it was BitTorrent, or similar, then it should be pretty obvious if it is working or not. If it's some server you find difficult to test, use my port probe. Assuming your gateway (probably a router) is forwarding the ports correctly, you'll get success!!!.

If you have other machines on your network, you can try to ping the machine from one of them (using the correct IP for your static machine, of course)..

ping 192.168.1.3

If you simply want to view the static information, bring up the "status" of the network connexion; either from the system tray, or by clicking the connexion inside your "Network Connections" Control Panel, "Support" tab (I assume everyone is on Windows XP, unless they say otherwise). Click the "Details" button for even more info.

If you are handy in the console, check out netstat

;o)
(or


ra - 24.09.08 3:40 am

Thanks for the information and it is very useful.


Vijay - 24.09.08 6:02 am

This is so simple to understand the Static ip


NeedHelp - 03.10.08 1:42 am

Ok, here's the thing. I'm using a Wireless router which is connected to the upstairs computer and the IP is DYNAMIC. If i do go on upstairs computer, and make the IP STATIC, would i still be able to connect to the internet using my downstairs computer? Like with the upstairs computer and downstairs computer running?


corz - 03.10.08 9:49 am

NeedHelp, NeedInformation!

Which IP is DYNAMIC? External IP? The IP of the computer upstairs?

What about the computer downstairs?

And which IP are you looking to make static?

And so on.

At any rate, whatever the conditions, the answer will always be "Yes".
You simply have to configure everything correctly.

In an ideal world, you connect everything directly to the router.
Then upstairs/downstairs makes no difference.

;o)
(or


Mark - 07.10.08 8:32 am

What a great site!

I'm trying to set up a VoIP PBX (Epygi Quadro 2X) with a remote extension that I can use when I'm travelling to connect a soft phone on my laptop (through a wireless broadband connection) so that I can make and receive calls to my office number on my laptop from anywhere. Despite reading copious amounts on this it seems I'm as far away from achieving the objective as I ever was.

From all I have read on the Epygi forums, the best way to get the remote extension working is to give the PBX its own static WAN IP address. My ISP has provided me with two static addresses, one of which I would like to use for this purpose. My problem is that I don't know how to physically or logically connect the PBX with a static Internet address like this (as explained below, my current configuration accesses the net for VoIP via NAT on an ADSL2 modem/router - this works fine for VoIP phones connected to my local network). I'm thinking that there must be some sort of configuration option on my modem/router that would let the PBX (which is currently connected to one of the four LAN ports on the modem/router) "pass through" the router to get a direct connection.

I am currently running the PBX behind an ADSL2 modem/router (Belkin F1PI241ENau - 4 port, wired) that is my only broadband connection and also provides DHCP and NAT to my local network (I'm using the 10.1.1.X range). On the WAN side it is connected to my ISP with a static IP address that my ISP provided me with, and on the LAN side its static IP address is 10.1.1.1.

The PBX is, in itself, a router with both a WAN and a LAN side but it is not really suitable as the broadband connection as it only runs the WAN side at 10 Mbps and doesn't support ADSL2. It is connected to my LAN on its WAN side with a static IP address of 10.1.1.2. The VoIP phones themselves are connected to various switches on my LAN and get their IP addresses dynamically from the Belkin router (I have decided for various reasons to connect them on a separate local network using the LAN side of the PBX that will also provide DHCP and NAT to that second LAN, but that's largely incidental to my problem). My current configuration is in the PDF at http://sharepoint.innov8group.com.au/Public%20documents/Documents/Current%20network%20diagram.pdf if someone has the time to look at it.

There are several configuration options in the Belkin configuration panels that, with my limited networking knowledge, look like they could potentially do the job - "ATM PVC", "STATIC ROUTE" and the "DMZ" within the firewall (I'm not even sure I couldn't achieve what I'm trying to WITHOUT using a static WAN IP address for the PBX).

So my questions are:

1) Do I need a static WAN IP address for the PBX at all, or is there a way of configuring the Belkin modem/router to expose the PBX directly to the net?

2) Where do I physically connect the PBX? Does it stay connected to one of the LAN ports on the modem/router or does it need a separate direct broadband connection and, if so, how do I "split" the incoming broadband connection to attach two devices?

3) If it stays behind the modem/router what changes, if any, do I need to make in the modem/router to let the PBX connect directly to the net?

At some stage I plan to use the second static IP address provided by my ISP to connect a server directly to the net so I can access the files it contains when I'm travelling. Depending on the answers to the questions above, perhaps I don't need to use a static IP address. If I do, would I set it up in much the same way as the PBX - i.e. with two network cards, one used as the WAN connection with the static IP address provided by my ISP and the other for my local network connection?

Cheers,
Mark


Uday - 07.10.08 2:57 pm

Good job man. Wonderful post.


corz - 11.10.08 10:29 am

Mark, if I could afford even a tenth of the devices on your network, I would pay someone to troubleshoot it.1 What you are asking is way outside the scope of this article, so while I'm waiting for that donation (yeah, rrrright!)..

1a) Probably not. 1b) Yes, try the DMZ, or use port-forwarding.

Having said that (a & b) an external static IP sounds preferable. Surely the Belkin has a configuration to set this, maybe even a wizard. That "STATIC ROUTE" looks promising.

I see you grouped multiple questions into the single numbers - on first glance, it looks like you have only three questions. Very clever!

2a) To whatever device connects you to the internet.

2b/c) Yes and No, in that order; unless it is also able to function as a broadband modem/router. I have no knowledge of the device, so I Google, and see that it does. Why not put it first in line? Physically connect it directly to the WAN?

2d) There is no way to "split" an internet connexion, as such - it's usually best to connect directly to your ISP with a simple modem/router as a bridge, and allow connected devices to request their own IPs.

3) see 1), but..

At the end of the day, the best solution may well be to use the PBX device as your ADSL modem/router. The PBX gets direct, unrestricted to the internet, and using its built-in NAT, DHCP, etc., to feed your other devices out of its Ethernet port - exactly as you use the Belkin right now. The Belkin is redundant in this scenario. 2

Having said all that, note; PBX is outside my area of expertise - I don't much like phones, except to put data through them3. If none of this pans out; hiring someone local might be more cost-effective for everyone (I'm assuming also you run a business, with that gear) than all this reading and writing.

;o)
(or

references:
1. If I had a quid for every ounce of will power it took to not end the post right there, I'd have a PayPal donation for exactly £10, thanks!

2. If you really must have another device in there, m0n0wall, IPCop, or similar Linux firewall/router would be a superior choice; infinitely configurable, and infinitely upgradeable (read: future-proof). As well as near-infinitely-well supported.

3. Though I'm told I'm rather good at speaking on them, and have turned down numerous jobs doing exactly that.



Levi - 11.10.08 3:54 pm

Whenever I try to use xbox live my dns fails.If I use a static isp can I get a dns code that works?


Levi - 11.10.08 4:08 pm

Also I have set up my comp to use the defult static ip but what do I set Dns settings to?


Bosco - 29.10.08 10:03 pm

I signed up for AT&T Uverse service (DSL, TV) after being assured of keeping my static IP address that I had with my AT&T plain old DSL service. Of course after Uverse was installed, they told me I couldn't have a static IP. Therefore I have lost access to my company's VPN and my VoIP phone service. Anybody have a workaround they could suggest. AT&T offers nothing.


Hotline - 05.11.08 11:15 pm

Here's my problem. I have DSL on two PCs. One of the two has a static IP (required for program I need to run). We have just installed a VOIP radio system, using that existing static IP address. I still need a static IP to run the original program. I have no idea what I'm doing. The line for the static IP is now going through a repeater rather than the PC. Can I run another line from the router to the PC and assign another static IP?


wondergirl - 09.11.08 9:08 pm

Ok- so I read this and thought, I can do this- I have done tougher stuff. I am trying to set up an ethernet converter without the disk- which says I have to set a static IP. I did it and had to undo it. I lose internet connection.
What about the default gateway and alternate DNS boxes? I don't know if I should check those too and fill in the numbers you had in your example- or something else. I tried it based on the windows example.
I am running xp. Oh- and I am connected to a wireless router (wired) and desktop for my main computer in the home. Once I updated to a new router it now shows 2 connections to the internet- the router and the LAN. Does that make a difference/
Arghh! I know I can do this.... just frustrated and don't want to call my friends that are wiz's on this- I want to show I can figure it out.... but apparently I am not so great at it so far.

By the way- thanks for the great explanations- you write in an easy to read manner.



Public Animal - 10.11.08 9:32 pm

Ok, I came here from a link somoene sent me after I tried to do a port forward. I'm trying to set up a static IP so I can run a SHOUTcast. I do not have access to the admin panel for it so I can't just keep inputting the new IP every day. My problem is, I have set up my internet connection to use a static IP. I've disabled the DHCP by using the "Enable NetBIOS over TCP/IP" option. And yet, every day I have a new IP addy and have to try and get ahold of the admin of our SHOUTcast set up and get him to input my IP du jour. Please, can someone help me out?? I'm getting very frustrated, especially because my friend set up this station for me as a gift. Btw I'm using Vista Home Basic as my O/S.


Ravi - 12.11.08 8:21 am

hi,
i want to know how can i connect the one static ip to three device at a time and three devices are web server work only with static ip not working with any local routing ip for example i have one static ip which is 121.*.*.* [no real numbers, please! -ed] i want connect this ip with two deff. device one is PLC(programmable logic controller) and another is HMI(human to machine interfacer), how can i connect these devices ? plz guide me


KAP - 12.11.08 4:31 pm

I'm sure this is the site for me to learn more....but I'm such a "newy" a lot of the terminology or logic is still above me. But I do need help now.

Our company creates websites and video presentations. If I create a website, I always purchase hosting services for the client. We do not do that inhouse. My question is....My client wants to keep their existing site as is (meaning with their current ISP and etc) but they are interested in having a separate server set up for their video archive which is all the video programs we create for them. How do I go about that, is it just a matter of uploading video files to a dedicated server with a hosting provider and providing the correct url's to their web programmer so that when people click on a button it accesses the requested video?


KAP


corz - 13.11.08 8:19 am

Levi, it sounds like you upload capacity is choked. Perhaps your router has the ability to limit this for your XBox. It has nothing to do with static/dynamic IP addressing. And anyway, this page is about internal static IPs.

Bosco, switch ISPs.

Hotline, if you mean internal static IP's, sure, create as many as you want.

wondergirl, try it step-by-step. Then, if you have a question, frame it, and ask it!

Public Animal, your ISP assigns you a dynamic IP (that's your package). Asking for a static IP (in the handshake) is pointless; if you want that, you need to pay them for it. Perhaps SHOUTcast accepts domain names instead of dotted IP addresses (it should). So get a dynadns.org address, or similar, and use that. (see notes below article).

Ravi, simply connect everything to a network switch.

KAP, yes, it's that simple.

for now..

;o)
(or


nr - 14.11.08 8:20 am

Thank you very much. Very clear and easy to understand.


CS guy - 15.11.08 9:10 pm

Hi,

I have a few doubts and would be glad if u could sort it out..

I plan to run a Counter strike server on my PC..Trouble is that when I create one,it doesnt appear on the Master server list which keeps track of active servers.

I think the problem is that the static IP assigned to my PC is 192.168.1.7, from my ISP...Although I can figure out my external IP through the //whatsmyip.org, using it to connect to my server doesnt work either...The people trying to connect manually cant seem to connect to it as its behind the ISP router.

Now, I need to know if I can assign the IP shown at 'Whatsmyip' as my static IP using the properties tab for the network connection? I tried it,but there is an issue with the sending/receiving. Can u plz suggest an alternative??

Thanks in advance...

CS guy





corz - 18.11.08 4:41 pm

CS guy, it might be a good idea for you to read the article (above), so that you understand the difference between internal (private, LAN) and external (public, WAN) IP Addresses.

The IP of your PC (192.168.1.7) is NOT static, it is dynamic, and it is assigned by your router, by DHCP. That's YOUR router, not the ISP's (they might have supplied it, but it's up to you to configure it). Anything at your side of the telephone line, is yours, and everything at the other side, is theirs.

You would need to disable DHCP in your router (or rather, assign a smaller range of IP addresses, say 192.168.1.100 - 192.168.1.255), and then manually set your a static IP on the PC (as described in the article, above).

Your biggest problem is going to be a lack of port-forwarding. I had a quick look around your router (which is how I know you can set a DHCP range. By the way, you really need to pick a better user/pass combo!) and couldn't see an option for port-forwarding. Unless you can forward the packets directly to (and from) the server, it isn't going to show up on any server list, or work very well.

;o)
(or


Bogdan - 19.11.08 7:23 pm

Hello there!
Very nice article, congrats!
I'm using a mac osx and i did everything it says in the article, the problem is that when i click apply in the network preferences, it says connected, but the internet isn't working...i don't know what the problem is. I am using a linksys WRT54GL wireless router and i get the internet through cable.
Thanks


ambuj - 22.11.08 2:12 pm

i am a counter-strike 1.6 player & i want to create dedicated server over the internet. the problem is that my computer is in a college network under several local admins. yet i have done the changes according to what you have told, but i want to make sure that this will work in my case...........plzzz helppp!!!


ambuj - 22.11.08 5:00 pm

tnx for the information about static ip!!
i have changed my configuration as you have told, however this doesn't solve the problem of my server being invisible to other friends over the internet. and how do i check that the ip i am using is the static one.
actually i am a bit confused, since static ip is entered in DNS address??


corz - 22.11.08 7:21 pm

ambuj, setting a computer to use a static IP is only half of the story. The computer further upstream, the one that controls the network route to your computer, must be configured to allow static IP addressing. Your computer can ask all it likes (during the network handshake), but if that router/gateway/whatever isn't configured to allow static IPs, you won't get one.

It's not uncommon for a gateway to allow both dynamic and static IP addresses within its subnet, but the static IPs might be limited to a range between, say, 192.168.1.200 and 192.168.1.250, or some other range. You will need to check with the system admins to discover if static IP addressing is allowed and in what range; or else test lots of addresses and see if any of them stick. By the way, use netstat (or the network adapter's status window) to discover what your actual IP is at any given time.

I'm sure you will have noted what your machine's IP was when it was being assigned dynamically (via DHCP), so if it was 192.168.1.230, you can start looking for static IP addressing at the other end of the 0-255 range. If not, set it to DHCP, and see what IP you are given; at least you'll know if you're picking the correct subnet.

Finally, assuming that static ip addressing is allowed, and you have it setup, working 100%, you still have the small problem of forwarding requests through the gateway, to your server, aka, 'port-forwarding'. The chances of getting the college techs to set this up for you are pretty slim, and probably against the college rules, but perhaps not. You could always ask. Say you only need one port (27015, or whatever), and perhaps offer a bribe of some sort, free beers maybe. And one for me while you're at it!

Bogdan, if the internet's not working, how did you manage to post here? smiley for :lol: It sounds like you are creating an IP in the wrong subnet, or something like that. Check out the troubleshooting section, and the links at the top - though this area was originally created for the viking routers, lots of the info is generally useful.

;o)
(or


ambuj - 02.12.08 10:15 pm

corz, ur info was actually useful in understanding the whole thing!!
infact i have set up my static ip as instructed in this page here, now hw do i check its changed??
my comp is under a college intranet and lan connections throughout da ostels. each hostel has a different gateway, and different DNS server addresses too. the college says its a lease connection for our college. and my ip shown on whatsmyip.com is 220.225.122.205 how ever we r using a different DNS ip, what does dat mean???


smiley for :erm:this is quiet confusing for me now!! help me understand!!




corz - 03.12.08 5:35 pm

Bloody students! You want me to fly over and fix this for you? smiley for :lol:

How to test if it's changed? Check out my post, here. Also I told you in my previous post.

As for the DNS ip what does dat mean; the local recommended DNS server doesn't have to be the same server as your gateway. Each network is different, and colleges generally have set guidelines, usually a page somewhere, about what to put into each field for their particular network. As I said, a static IP, even a local static IP is only possible if the gateway machine allows such a thing.

Even if it does, it now sounds like you have not one but two gateways to punch a hole through, if you wish to run a game server. TALK TO THE ADMINS. Only they can make this possible. Even if I did fly over, unless your network is crazy insecure by default, I'd still have to talk to your network admins to make it happen.

So go do that yourself.

;o)
(or


TC - 17.12.08 2:43 am

Hello

Thank you so much for enlightening me with the whole static/dynamic thing! I haven't actually tried it yet, but will definitely refer to your article once the need to change the setting arises.

TC


Kamran - 27.12.08 4:24 am

Just to say thanks very much for a clear, to-the-point explanation. Please keep it up.


surfer - 07.01.09 3:44 am

Help, Help, Help....
Hi, I realy need help cause my problem is kind of special.
I am living in china and need a static IP. My ISP says that they have this for ADSL, but where I live they do not offer ADSL, only internet over Telefone lines, so NO static IP.
As I need to remotly connect to a system outside china which needs a static IP (that can not be changed), i desperatly need one. I tried to access some service dyndns.org , no-ip etc. but i can not access them, obviouslt they are blocked in China.
Any idea what I can do ???????

Thanks !


corz - 07.01.09 4:16 am

Obviously? Well, I didn't know it! I did know about "The Great Firewall of China", however. Bummer.

Try these guys. You may need a translator to complete the sign-up. My spies in China tell me that service works. Or I may have just Googled.

;o)
(or


surfer - 11.01.09 4:50 am

Hi,

I have to rephrase my former post. I need a static external IP to access a database service and getting one from my ISP is not pssible, changing the ISP is also not possible as they have a contract with the compound where I live. After having read a lot about dyndns service, I don't think that would help me as i could be reached via a static IP, but when I want to log on to an external database i will still have my ip changed, right ?
Is there ANY WAY to get an external IP adress, even with payment if necessary. ?




corz - 18.01.09 5:56 pm

surfer, your IP is assigned by your ISP, simple as that. They own the entire block. As explained, a dyndns service provides a "static address", NOT a "static IP address". It provides a static domain NAME.

The ONLY question that matters is, "Does the 'system outside china' (aka "database", or whatever it is you are trying to connect to) accept DOMAIN NAMES, or does it insist on dotted decimal IP addresses?"

If it's the former, then sign up for the linked dyndns service, and enjoy. If it's the latter, then you are screwed.

;o)
(or


Ray - 21.01.09 10:55 pm

I just want to say a HUUUGGGEEE thank you! Do you know what, I must of read through countless sites in the past week trying to get my wireless connection up and running and only after reading through your helpful notes on setting the manual IP settings does the little bugger decide the work. You've made one tired and ragged little man very happy!!! Thanks so much and if anyone else is doing what they're told and reading this... JUST DO AS THE MAN SAYS!!!!!! It's as simple as that!

Thanks for the umpteenth time!smiley for :Dsmiley for :Dsmiley for :Dsmiley for :Dsmiley for :D

Ray


pegthe1st - 23.01.09 8:22 pm

Hi Wizard,

A very interesting article and I have tried most of what you suggest without success.

I live in Spain where our service is provided by Telefonica. I have a dynamic IP and use emule as my P2P but have a low ID due to my lack of port forwarding.

I have entered my network connections as changed 'use dynamic' to 'use this IP' and entered different permutations of 192.168.1.1 throught to 9. Filled in all the other boxes and as soon as I click apply, I am kicked straight off ADSL. As soon as I change back to dynamic, I get ADSL straight back.

Have entered my router/virtual server/port forwarding and entered the ports that emule use. Have also entered the ports as exceptions on XP firewall.

Have a free dynamicDNS service, but none of the above has done any good.

What am I doing wrong?

Regards,

John


Anup - 24.01.09 9:25 am

Hello,

We have Public static IP address assigned to router for which is connected to another gateway connected to our LAN. Internal IP assigned to gateway is 192.168.1.x connected to router and 192.168.0.x range to computers in LAN.

One of the computers in LAN has web based application, we want to make it accessible through internet.

Please advise.

Thanks.

Best Regards,

Anup


corz - 24.01.09 10:57 am

pegthe1st, it sounds like you are connecting your computer directly to the internet (without a router). This isn't recommended. It also means that any attempt to change your connexion's IP will kill your internet.

It also sounds like you simply need to create a firewall rule for eMule. Use the probe (link at the top of the page) to check your ports are being forwarded correctly.

By the way, if you are connecting through a router, then you need to ensure the router accepts static IP's (i.e. there isn't a DHCP server using up all the local IP addresses for itself). Maybe read the article again, more slowly.

Anup, think like a packet of data, starting outside, and working its way to your server, and then open every closed port you meet.

;o)
(or

ps. both of you, the links at the top of the page (nat recipes, troubleshooting, tricks, etc.) might appear to be Viking-specific, but many people have told me that they are also exceedingly useful for *any* setup. Check em out.


pegthe1st - 24.01.09 10:13 pm

Wizard,

Thanks for the advice. I checked the port forwarding and it was a failure. No internet connection could be established.

I have created firewall exceptions for emule and have read the tutorials, without any further progress.

However- thanks for all you have done - I will have to learn to live with it.

John


Andy - 28.01.09 11:17 pm

Hi there,
I'm running Vista Home premium and currently trying to get a static IP address. However, when I go to the properties of my connection it shows two different running internet protocols. 'Internet Protocol Version 6 (TCP/IPv6)' and 'Internet Protocol Version 4 (TCP/IPv4)' What should I do? Should I manualize the settings on one and disable the other or something?


corz - 29.01.09 10:22 am

The settings on this page apply to TCP/IPv4.
You can leave v6 set to automatic.

;o)
(or


ea - 30.01.09 4:18 pm

Ok i know how to configure and set up a static ip address but lately, after i save the settings, when i reopened the page of the IPv4, my inputs for ip address and subnet mask are made to 0.0.0.0 Does anyone know how to solve this problem?


jayendra - 31.01.09 6:42 am

Static Ip address is that which remains constant even after our system restarts, it is provided by our internet service provider and it is unique to that machine over internet.
while private ip address is that which is used by a single organization withing a office or home network, it can be changed at any time by administrator of local organization.

regards
Jayendra chauhan




eddiewa - 07.02.09 6:58 pm

Thanks for a very interesting and (reasonably!) clear article - I will certainly save it for reference. At the moment I am too much of a "Newbie" or dumb head to understand all the jargon but I am learning the hard way. I have two computers - one running Vista and the other XP. Presently I am unable to access the internet from the Vista through the Linksys router using a hardwire connection. I can however connect through the router to the XP using a wireless adapter. Just a few days ago I was able to use Vista to connect through the router (hardwire) and at the same time
use XP to connect through the router............... I am trying to restore this capability Thanks again for the article.
Eddie


bj2810 - 09.02.09 2:39 pm

hey cor,
just wondering if you could tell me where to find all the details needed to go into my IP properties boxfor windows? Obviously, the IP address, but also the subnet mask and default gateway as well as DNS server adresses, as i expected when trying to set my static address up, this would all be written in there already and only the ip address would change.
Any help would be greatly appreciated.


schwarzeHerz - 10.02.09 2:51 am

and TY, i've been trying to get my xbox connected to my pc for some time now, using a 2wire 2701HG-D, well, ran across this, now it's connecting fine after matching the final numbers to the xbox's ip~


net12345 - 15.02.09 10:38 am

Is it possible set up a HTTP Server using APACHE where I do not have a STATIC IP address ?

Thanks for you help.



corz - 16.02.09 2:08 am

ea, try (at a command prompt) route delete 0.0.0.0, then disable IPV6. Also, check all your connexions and ensure your drivers and such are up to date. There's also a Microsoft hotfix which *may* apply to you, here.

bj2810, see the images in the article for guidance. Use the command ipconfig /all to get a better idea of exactly which subnet you are supposed to be configuring.

net12345, yes, of course. Additionally, if you want other to be able to always access your server from the outside, via a permanent address, check out the notes below the article, about dyndns.org.

;o)
(or


net12345 - 17.02.09 9:31 am

cor: - Thank you for your help.

Here is my situation:
my ISP provided a ZyXEL Prestige 324 Router and a CISCO 575 LRE modem.
I set up my APACHE to run on my WIN ME machine. It has 2 network card.
One is connected to the ZyXEL router, the other one connect to the LAN

I do an IPCONFIG, here is what I see:
0 Ethernet adapter :
IP Address. . . . . . . . . : 169.254.93.123
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . :
1 Ethernet adapter :
IP Address. . . . . . . . . : 192.168.1.34
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.1.1
2 Ethernet adapter :
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :

I use some WEB Page to show my IP and I see that
my IP address is : 202.155.194.236


When I go to another machine on the LAN
in the browser, I type in 192.168.1.34, I can see all the pages in my APACHE server.
When I type in 206.155.194.236 I saw the Router's Configuration Page. But I cannot get any further. Then I type in 192.168.1.1 which is the Gateway and I saw the same page. So I know the address 206.155.194.236 is actually mapped to 192.168.1.1

I went to a different location, (different ISP) and try to ping 202.155.194.236 and it is reachable. Then I type the same address in the browser, but I cannot got anything. Browser just say '...Take too long to respond'.

Now I need to figure out how I can access my APACHE SERVER under this configuration and I need to find out how to make the Router Let the other things go through.

Please tell me what have I done wrong. This will save me many many hours of hard work.

Thanks





Stephen J. KIRK - 23.02.09 7:00 pm

This is an excellent and exceptionally intersting website. Thank you for sharing your knowledge.

Stephen J. KIRK


James Bulmer - 24.02.09 5:36 pm

You might delete this but its a seriouse question. Im looking to start a webhosting company. I will be using this for every server i have eg. I will have, free server 1, free server 2, package server 1 ect. So what im wondering is with my lan comming in, i will have one line for every sector. eg: free, package ect my question is. Can i have a external static ip or will i haft to use a service like no-ip???? Thanks and keep the good work up


Bertil - 24.02.09 10:01 pm

Hey man, i need help! I'm in México, cant seem to find a way to connect to an irc network cause my isp has a firewall all over the network that just won't allow me to port forward certain things to be able to connect. i cant even open my NAT to get a good connection to xboxlive... sucks, i've tried everything. I can't even remember which things i've tried. lol. i hope you can help me... cause i'm desperate, maybe theres hardware i can buy or something to get this going... i really dont care anymore, cause my ISP wants me to get a static ip service for 75 dls extra.... and theres no way i'm paying that. any advice?


santosh mandumula - 26.02.09 7:50 am

HI

I couldnt use multiple systems in my LAN to access internet,
when i contacted my ISP they givem me static IP sothat i can access internet on both systems, I configured static IP in my desktop, am able to browse, when i configured same static IP in my laptop, displaying an error, that this IP address is already in use...
Cant i use same static ip in my laptop as well..
what i was told is, when we have static IP we can use multiple systems to access internet..
can any one help with this issue plssssssss

thnx in advance..
santosh


corz - 27.02.09 9:40 am

net12345, yup, and time is money. smiley for :ken:

James Bulmer, I cannot take your seriouse [sic] question seriously. You want to start a web hosting company, and you aren't sure if you need a static IP? This is a joke, right? I've not run a web hosting company, but I suspect that there's a lot more to it than simply sticking one of those "We Are A Web Host" templates up on the web.

Bertil, you do not need port forwarding to connect to IRC. The trouble must be elsewhere.

santosh mandumula, you do not need a static IP to enable multiple systems to access the internet - it's not like you are running a web hosting company or something! What you need is a gateway device of some sort, like a router-modem. I recommend an IPCop box, or similar.

;o)
(or


Ray Georges - 19.03.09 9:31 pm

Very informative. Thanks


Nobi - 23.03.09 11:18 pm

HELP! I am changing carriers for our data T1 line. I would like to know where to change the external ip's (including gateways, dns, etc) for the new carrier? When I go to lan connections, all the ip's are internal 192.168....

Your assistance is greatly appreciated!

Try in your router/gateway ;o)



Gamer - 06.04.09 6:42 am

I have multiple computers on my network, as well as Ipod touches and laptops that connect often. They interfere with my gaming it seems. I tried setting a manual IP on my Xboxlive connection but it will not allow me to connect after doing this (it's in range of allowed IP's). I am trying to apply QoS settings to give it priority over everyone else, I have the rules in place, but everytime I reboot the router, it dynamically assigns a different IP to my Xbox! So how can I specify QoS? Is there a way to allow individual IP's on the network to be static? Or am I going to have to set up each one individually with it's correct IP address? Hopefully you understand what I am trying to do. Router is A D-Link 655-DIR gigabit router, and Xbox is hard wired. Is it possible for static and dynamic to co-exist through one router?

Mahalo from Hawaii!

Qos probably won't help as much as you'd like it to. Instead, look into setting up a permanent lease on your router, so it always doles out the exact same IP address to the a specific MAC address (i.e. the XBox) ;o)




MontBlack - 15.04.09 8:34 pm

hello. I want to make a counter strike server but i can't because i have dynamic ip. and when i open the server it says the ip is 192.168.1.1 and its bugging me because if i use my ip it says TCP /IP not found in console. I checked at properties tcp ip and it was obtain ip adress automatically. should i do the settings and add all the settings.Don't i have to call my internet provider to give me a static ip? You think it'll work? Thanks..

Perhaps the Counter Strike servers allow the use of a no-ip/dyndns.org address, iI dunno. It would be smart, though, as this is a common problem. Of course, you need to use you EXTERNAL IP address for this. See the notes in the article for easy ways to get your external IP at any time. Or yes, pay your ISP for a static external IP. ;o)



David - 04.05.09 10:41 am

Thanks for your article, clearly written!

I have recently installed an IP camera (LevelOne WCS-2030) which can be connected wi-fi to my home network.

In order to remotely view the video stream, the remote machine must route to a WAN IP and read the video streams forwarded by the main computer at home (ie Camera -> Main computer -> Router -> Modem -> Internet). However since the WAN IP is not static (sometimes the line dropped and reconnected itself) the remote computer cannot be set to route to one specific address.

This make remote monitoring very frustrating, any tips?

Yes, visit dyndns.org. ;o)



Webcam - 07.05.09 12:52 am

I have exactly (I think...) the same issue as David. We have security cameras installed at home and these are connected to our home router and through that to a wide area network (our security camera provider) and on to the internet. To view remotely (i.e. away from home) we access an xxxxxxx.dyndns.org address. However, if the internet drops out at home then the WAN tries to assign a new IP and will not assign it automatically. So we have to access the WAN server and reset the IP - then the dyndns address works again. But we have to reset the WAN from the home computer and not remotely - for a reason I don't understand that doesn't work... Any tips or tricks?? Thanks.


IPCONFIG - 16.05.09 7:02 am

Hello,

So, about a week ago my internal wireless stopped working on my laptop. I would get a mssg about limited or no connectivity.

When I run ipconfig to get my ip address i get following mssg:
-- A device attached to the system is not functioning.
Please contact Microsoft Product Support Services for further help.
Additional information: Unknown media status code.

Here's the interesting part: I assigned a static ip 192.168.1.5 and it now works, but it's not consistent-

Looking online I thought it was a winsock issue so, I removed the reg keys and they were reinstalled.

Any advise would be greatly appreciated!

Yeah, stop messing around with your registry settings until you know what you are doing. ;o)



vali - 27.05.09 4:05 am

Hi cor,

Thanks for all the time you took to answer all questions posted before. Here is what I am trying to do:
There is a live camera type of software that enables user to bid on something remotely. Due to the firewall settings I have at work, I am not able to get to this application as it comes back with a message like "server unreachable". I can run this applcation fine from my home computer. So the other day it finally dawned on me that I could use an application like VNC to start a server on my home laptop (on a home wireless network with LINKSYS router) and run a "vnc viewer" session from work to access the aforementioned application through my home laptop computer. I have followed your directions and created a no-ip.com account (xxxxx.myftp.org), installed the DUC thingie (v2.2.1). I can see my ip address and I can ping my laptop by either IP address or xxxxx.myftp.org from either the laptop itself or the XP desktop I have on the home network. The only problem is I cannot ping this address from outside my home network. I vnc'd into my work computer and try to ping my laptop from there without success. I also tried to vnc from my work computer into the home computer without success as well. I also tried your "simple p2p port probe" with a bunch of ports (1,2,80,8080...) and most of the times I get "connexion timed out". What am I doing wrong?
I called my ISP provider and I need a total revamp of my internet connection: need to replace cable internet with DSL, eliminate the IP VONAGE phone, and to top it all off pay $15/month extra.

Your help is greatly appreciated,

Vali

As I've often advised, here and elsewhere, these problems are best tackled with the sinple strategy; "Think like a packet of data". If you do, you will realize that you (the packet) is bashing its head off of your outside firewall. Open some ports, dude! ;o)



George Aidam - 03.06.09 2:02 am

Your details are absolutely incisive and capable of bringing about a drastic comprehension of what is required to timely solve a mind bulging problem.
Much tanks!


WessMiguwl - 15.06.09 2:36 pm

I try to go into 1.evony.com, but not able to, when spoke to internet provider, they told me that maybe I need to set a static ip address, please advise and would apprteciate list down the setting procedures step by step as I am not an IT personnel and know very little about Computer, it meant you need to guide steps by steps even to the simplest that you need to regard as I know nothing.

Singapore Cell phone <telephone number snipped!>

Thank you.

I think you need a new ISP. You DEFINITELY DO NOT need a static IP to visit a web site! ;o)



trying to learn - 19.06.09 12:21 am

I understand static IP and internal and external addresses. If I want to connect to my office computer from home using Remote Console how do I get it to find the public address and then get inside the NAT to the static IP I have established for the office machine?

You don't. You simply find the external IP (or dyndns.org domain, etc.) and then your ROUTER does "port forwarding", which as the name implies, forwards the data packets. Simply setup a port-forwarding rule. ;o)



articdream - 04.07.09 7:44 pm

any chance to show a example of how to do it from scratch via a cable modem , i have beeb trying for a week now no change ,i lock my computeer solid at lest3 time any reference i can check on the net

thank

articdream

About as much chance of me explaining how to fry eggs on a router, and about as relevant. This page is about something else. ;o)



Timothy Misiko - 20.07.09 8:56 am

Thanks too for the help but one more question
pliz how can i set up the charges to display on screen for cyber servers since i want to start a cybertcafe and doesn't know how to do it

pliz u r of great help to setting up my networksmiley for :D


This comment left in as an example of the dozens of other comments I deleted today. I mean, what?!? ;o)



Kalen - 20.07.09 3:48 pm

I have a Edimax IP 1510Wg camera. It is connected to my router. After 5 days I got it working over the internet. I then went to stay at my grandparents house. 3 hours after I had been watching my IP camera over the Internet, it stopped working. I was worried that it had broken. The next day I rang my parents and asked them to check the ip address. I noticed it had changed! How to I keep it the same. My laptop is Sony Vaio Windows Vista and my broadband is BT broadband V2. What do I do?!


Scroll up to the top of this very page, where there is an article explining it. ;o)



leila - 20.07.09 7:25 pm

I have a MAC OSX that was trying to connect on a friend's wireless router and I kept getting a conflicting IP configuration error message. Your information did the trick! Thanks!!


Scotty - 23.07.09 10:41 am

Many Thanks for Information on Static IP address
Just a real Newbie at this, time will tell..
Thanks again, Scotty


Justib - 03.08.09 2:20 am

Hello, Im using a dynmic connection through a linksys router. PPPoe Settings are what im using. I want to set my ip as .#.#.(8,16,24,32,).1,.2.3
3rd octet must divisible by 8. and the 4 octet is low maybe .1 or .2 or .3 how would i accomplish this. My router requests the true gateway of the ip adress im requesting not my routers.


Unless you have a very special ISP account, users cannot set their own external IP address. Stop trying. ;o)



cia (my real name not the spy people) - 01.09.09 8:53 am

Thanks for your free site and free help. Are you really Italian or Sicilian?

No! ;o)



Dark Royale - 09.09.09 8:29 am

Good day

Everytime my router was disconnected, and then once connected, my IP address will changed. My question is, how to prevent these behavior? I'm really concern regarding this matter. Hope to find answers here.

Thanks.

This is perfectly normal, as I stated in the article, above. If you need to stop this happening, simply purchase a static external IP from your ISP. ;o)



B.C - 18.09.09 1:41 am

how about vista?

It's total shite and wildly overpriced. Anything else you'd like to know? ;o)



newbie - 21.09.09 3:55 am

Lots of info other than the tutorial itself. Thanks!!


newbie - 21.09.09 4:38 am

what is the cmd prompt syntax to see the network adater's ip address and all the ip that have been used in the networksmiley for :roll:smiley for :roll:

There isn't one, which is just as well, as the output from such a command would be a lot of data!

If you just want to know your local machine's IP, try netstat /? ;o)



gera - 23.09.09 5:44 pm

Hi

My husband's IT company will host a website I am creating, however they say due to the firewall security that I need to provide an external static IP address. My ISP says they do not provide them. Therefore, (1) is an external IP address my only option and (2) how do I get one?

PS: I read your article and most of the forum, but still feel confused re whether or not I need an external IP address.

Thanks.

While this sounds like a generous enough offer, the idea that you would need a static IP to work with some web host is completely ludicrous. I advise you politely decline, and seek hosting with a proper web hosting company; they are quite cheap; certainly cheaper than forking out for a static IP. ;o)



Jim - 01.10.09 5:05 pm

Hi
trying to download using bitcomet says nat router blocked , downloads but really slow need port open do I need a static ip ? I'm using a dsl router to a netgear wireless adapter , many thanks.

On Windows, I recommend uTorrent. Either way, yes, you need a port open, and yes, you need a static IP on your local machine (the one running the BitTorrent client). See the article, above, for full details. ;o)



Whoa.... - 04.10.09 9:27 am

I know this is completely (or at least somewhat) irrelevant to this article but, do you have any info regarding setting up port forwarding? Thanks.

Try this. It's for the voyager 205, but mostly applies. As I like to advise, "think like a packet of data", and just follow that packet from them to you, open whatever ports and forward them to your machine, as you go. ;o)



combatarms - 04.10.09 4:52 pm

okay. i read your guide, well written.
but im still having issues.
im playing this game called combatarms
and it keeps booting me out of the game. and it reads
"the connection to the server has ended."
other people have this issue. due to dynamic ip adresses.
so i changed the ip address and it still does that.
any tips?

more info:
the game keeps booting me because in the middle of the action. the ip address changes. so they think im logging in from another computer. so i need to make it to stop changing.

This kind of trouble is caused by your EXTERNAL IP address. As well as a static internal IP address (so game data packets can find you via some port-forwarding), you need to tell the game servers your external IP, right?

If you have a dynamic External IP (most do), then everything will work 100%, until you get disconnected from the internet, and reconnect with a new IP. That is the only time it should cause problems.

I have a dynamic IP, but unless I disconnect manually, I can keep the same external IP address for weeks at a time. If I were a game player, this would be as good as a static external IP, pretty much. So stay connected!

Other than that, I recommend pestering the game creators to allow the use of dynamic host names (like myhost.ath.cx) instead of old-school dotted decimal ip addresses. Then there would be no problem.

Why they haven't done this already, like a decade ago, I do not know. ;o)



Hosting a game server - 07.10.09 10:02 pm

If I were to host a game server, static internal IP is necessary, but an external one isn't immediately necessary but will be in the near future?

No. It should not be necessary now, let alone in the future. In the future, one would hope that proper host names would be allowed anywhere IPs are now required (except perhaps extremely secure setups), and then the actual IP address is irrelevant.

Otherwise, what was the point of creating the DNS system in the first place? ;o)



Colin - 20.10.09 12:20 am

Hello,

Is there a part of my dynamic ip address which will always remain constant? I ask this because I am using shopping cart software on my website which can block unauthorised access to admin by allowing only specified ip address; for instance I can set it to ALLOW IP ADDRESS 255.255.255.255 or I can be less specific and set it to 255.255.*.* Would it be correct to assume that by entering the first 6 or so numbers (if they were static) it would increase the security of my admin? I am using BT Internet, if this helps your answer.

Many thanks in advance, Colin

No, this will not increase the security of your admin - if I wanted to get around your IP ban, I would simply attack from via a local proxy. Even if that weren't possible, security by obscurity is not a sound strategy. Instead, use a proper authentication system, with passwords, perhaps over SSL, or use pajamas or something.

The only situation where IP security is useful, is where you have a fixed, static external IP. But even then, the IP part could be spoofed, and some other authentication mechanism would still be required. ;o)



daze - 20.10.09 11:25 am

hi evrytime i put in netstat,little black screen pops up with ip adress i guess but then it bliks then its gone. have an idea what going on? if i get a static ip will my ip be hidden or hard to trace? i actauly want to hide my ip adress or bounce it around so i cant be tracked around the net? thanks in advance for any info you give me!!

Your first problem is that you are running the netstat command directly from a Windows Run command. When it's done, the window closes. Not a lot of use if you wanted to read the output.

Instead, run "cmd" (no quotes), which will open a DOS box. There is usually also a shortcut for a DOS box in the Window's Start Menu. Check. Either way; once you have a DOS box open, then you run the commands.

As for hiding your IP address; the only way to do that effectively, is to use secure proxies, or tor, or something along those lines. This isn't the place to get help with that, though.

Your second problem, is that your spelling sucks. ;o)



daze - 28.10.09 3:26 pm

thanks for the info, you're the truth man. oh yea im crrently working on that spelling issue, its mainly cause im trying to speed up my typing with out looking at the keyboard.

I hear that! Until you master it, consider Firefox, with its built-in spell-checking. My own spelling leaves a lot to be desired at times (typos, like you), but those red dotted underlines quickly fix that. ;o)



colin - 01.11.09 2:42 am

i were try remote my router frm public wifi spot, but the problem is can i change my dynamic ip to static ip ? if my WAN ip change i were fail to connect back my router..

pls advice .smiley for :lol:

See here. ;o)



tchitnetdu - 02.11.09 1:04 pm

I have tried it and it worked for me
Thanks!!!!!

tchitnetdu


voipnewby - 06.11.09 2:43 pm

Is there an advantage of using static IP for VOIP, eg reduced latency, separating between Voip and non-Voip packets?

In theory, the two are identical. In practice, you may get better performance from a static IP address, though you would need to check with the users of a particular ISP to discover whether or not it was a change worth paying for. ;o)



Raghunath M - 09.11.09 5:44 am

Nicely explained, it is useful for me


voltar - 14.11.09 1:37 pm

My wife is working over the net from home for an out -of -state company that needed a static ip set-up. We told them that we already had a network set-up here and they didn't need to install a new line.They however sent out Comcast to install a line to their equipment here. The tech spliced into our line before our router and connected a new line to another router then to their equipment. They charged 300.00 to do this and are charging 59.00 a month for the service over our existing line. Is this a usual charge for a static IP and shouldn't their be a reduction in charges for one or the other services for using the lines in our house? We already pay 45.00 a month for service from the same company (Comcast).

I can't comment on whether or not this kind of thing is normal, though I do think it is a form of extortion. Anyway, surely your wife's company is paying for this, so it's not a problem. Finally, now that you have this static IP, why not ditch your old dynamic line and use the static IP line for everything? ;o)



Nima - 19.11.09 12:35 am

Thank you very much,
I found it really helpful
and it helped me fix my SSH connection on my ubuntu server!


D - 25.11.09 3:01 am

I've been told I must have a static IP. And it would be easier I'm sure but what I need to do is be able to print from a remote location to the printer at the firehouse. we have dynamic ip now I didn't know if there may be away around the cost of a static IP that would work all the time 24/7 (for 911 purposes)
Thanks for any help you may be able to provide.

For mission critical use, yes, I would advise you get a proper static IP. With a dynamic IP, even with the fastest DNS updates, there will always be a slice of time, whenever a new IP is aquired, when the name points to the old IP address. In most scenarios, this isn't an issue; in a minute or two, everything is back to normal. In other scenarios,"a minute or two", could be the difference between life and death. Your call. ;o)



utdfederation - 04.12.09 9:00 am

hello there,
i will be getting an old pc i have up and running to use as a gaming server with windows 2003 server installed.

my question is:
i will be running several call of duty gaming servers and was wondering will i need to purchase more ip addresses to run these?
7 gaming servers in total.

reason i ask is on a dedicated server a freind has purchased from america his ip range is between say:

<snipped>
so in effect he has been given 5 ip addresses, so how would i go about getting 5 ip addresses to assign to each server?

hope you can answer this question please.

UTD

Ask your ISP ;o)



wjr252 - 08.12.09 6:58 pm

Hi I am doing a library web page at work an AT&T is my isp. My catalog page as of now is using this revolving ip address that change every so often.Outside of AT&T is there others who provide static ip addresses. I know that they are high in price ATT that is :smiley for :erm:

Like anything in the free market, you need to shop around/squeeze/etc. to get the best deal. Threatening to switch to another ISP; I have found; will get you an instant reduction in any price. ;o)



sayeed - 16.12.09 5:06 am

great to seek the knowledge of Networking


jolly - 27.12.09 9:56 pm

The explanation of how to give your computers static ip address is excellent. But (there is nearly always a but!) I am puzzled by the entry "Alternate DNS server". Should I enter (as you do) "212.159.11.150"? And (if not) how do I find out what I do enter. An answer would make your explanation perfect.

It can normally be left blank, the gateway device (usually your router; the device at the first IP address) should handle all that. If you happen to know the IP address of a name server that's available to you, you can enter that in the Alternative space. If the primary name server fails, the backup server kicks-in. ;o)



totoy - 28.12.09 8:42 am

hi! thank you! finally I've learned this topic, you were better than my stupid profs in my school... thnks alot!


smithy0238 - 04.01.10 9:18 am

The article shows a good understanding of TCP/IP.
The primary DNS relates back to your ISP's DNS server in most cases, as the same for the alternate.
You put this in for instance if your ISP's primary server dies, then your server knows where to look as a backup.
The values for primary / alternate are obtained by asking your ISP tech.
We use static ip's for each of our sites, makes terminal session (RDP) printing possible, as all our printers are static & networked, all we have to do is some port forwarding tricks.


joshua - 08.01.10 3:58 pm

i will like to network 3 - 4 computers in a small office network using a switch( 8 ports), do i just assign any class of IP adress or there is particular way of doing this. mind u the systems are not connected to the internet , just for file & printer sharing

Don't complicate; use the standard ranges; e.g. 192.168.0.* ;o)



Harry - 09.01.10 6:08 pm

very helpful.......


k - 16.01.10 10:24 pm

I wish I read this before I asked the cable company to give me "the numbers" to set up a static IP - they told me to call customer service so they could modify my account. I guess I should have asked for just the DNS numbers...


Tushar - 31.01.10 6:10 am

Hi,
i want to access remote pc from other location, they provided me their ip address username and password to access and i also provided them my ip address. They given access to ip address that i have provided, but my ip address is dynamic so how can i connect their pc remotely? as ebvery pc start up my ip changes?
Please guide me.
Thanks in advance.
Tushar

If possible (their software will allow "names" as well as IP addresses), get a dyndns.org and give them that, instead. ;o)



MOMAR SENE - 03.02.10 3:09 pm

je veux


Flavio - 09.02.10 9:33 am

Very good mate!

Cheers a lot for your blunt straight forward way of solving things.... that's how they get done!
Ta,


Martin F - 14.02.10 5:02 am

Hello. I would like to know how I can allow people to log into my camera attached to my telescope. I have a website www.martin-ferlito-astrovideo.com which I would like my guests to log into with a password to see through my telescope live.
can you help?

Assuming you run the site from your home, you simply need a way to tie that domain name to your IP. That is what DNS is for; and the subject of much of the above article. Most of the dynamic host name companies (dyndns.org, etc.) now offer the capability to run a regular TLD from a dynamic IP; generally a part of their "premium" packages. Check them out. You might also want to take a look at zoneedit, which is free. ;o)



Tran - 21.02.10 9:36 am

Hi,
I have learned many things from your text about IP.
My question is:
My IP (DSL) is hacked by malicious Ad. I ran many anti-virus softwares, spywares, adwares, but the
problem is same. I suspect that my DSL IP is hacked. Do I change my DSL IP that Verizon assigned to
me to another one (for example my privated IP or anything else) ?
Thanks
Tran

"My IP (DSL) is hacked by malicious Ad", makes no sense. Anything that comes after that must make even less sense, so I skipped it. Security issues, was it? Get yourself a secure gateway and stop worrying, is my advice. I use IPCop and a £5 laptop (no screen, for starters). Whatever makes you feel secure, is usually enough. ;o)



Aaron - 28.02.10 12:59 am

Thanks very imformative


2ni - 02.03.10 10:35 am

great stuff!!!


Pete - 11.03.10 12:25 am

Thanks so much for your clear, concise and easy to understand information. However...I think I would prefer to use my router as a DHCP device. Is there a chance that if I set a computer (or other device) as static that it could possibly interfer with the way the DHCP router allocates IP addresses? A possible conflict? Or would that never happen?

Ex: I use a computer to remote access into another computer. I have an icon set up for that...so I don't want to bother changing the IP address each and every time. A static address would ensure that I have the same connection each time.

I'm concerned that the router might happen to give someone else my IP address when I want it reserved for me.

I'm using a Linksys router WRT54G that connects into a
D-link 8 port switch.

Thanks.
Pete

See here. AFAIK, you can do this with the WRT54G (though you may need to install updated/alternative firmware first). Once the computer has a fixed lease, it always gets the same local IP, and there are no conflicts. Or else simply create a DHCP range away from any fixed IPs you may have set. ;o)



nick moore - 13.03.10 7:00 pm

what a good website to get on


R.J. - 14.03.10 9:54 am

thanks even i could do it


Pixie - 17.03.10 4:05 pm

Hi corz

Very informative article. Thanks!

On my laptop, I have a VM set up with a static IP address and use it for my development work.

Is it possible to route requests without a router? If I set a static address on my host, will my host and VM be able to talk to each other (eg. accessing VM site via the browser) without a router involved?

This scenario just came up, as in we're being asked to demo something but have no access to the client's LAN or routers. This pretty much means we can just the laptop and the VMs on it.

Thanks much
Pixie

It depends on your VM, but usually, yes, there should be no problems networking to and from one machine inside another. Check the VM's setup prefs when it isn't running. ;o)



JB - 19.03.10 11:06 pm

I know yer not my "personal tech dude," but I have a question about yer "footnote."

I am one of those who (thinks) wants a static IP, and here's why.. There's an online (after download) game and their web forum which have recently put an IP ban on me so that I cannot execute game program opening nor view web forum. Long story..

Anyways, my ISP wants an extra $50/mo to have a business acct that comes with a static IP. I am currently seeking a cheeper alternative.

I haven't gone to those footnote sites yet (which I cant see right now), but I thought I would toss the question out there "What would you do?" I am ready to make a new username, ect, if I only could...

~JB

*I* would see it as a sign that my game-playing days were over, and move on to new things. I don't have enough information for a more technical answer. ;o)



Naba kishore - 24.03.10 3:40 pm

Why smaller case is used in case of IP address?

Because IP Addresses use numbers, and if you hold down the shift key with numbers, you get symbols. Packets sent to !(.!$£."£%.!! are going nowhere! Or did you mean something else? ;o)



lexter - 26.03.10 12:19 pm

hai 2 all of u fans and freshness


prinju philip - 29.03.10 12:04 pm

Hi, I would like to know whether assigning names to ip address mappings in the host file works or is it the DNS that holds the priority here?

On most operating systems, the hosts file is queried first, and if a result is found there, he system looks no further. In other words, yes, the host file "works". There's quite a lot written about exactly how it works, here. ;o)



Dave - 02.04.10 9:21 am

If I gain a static IP address for my laptop, how do I maintain that if I need to connect to the internet from another provider's service when travelling abroad?


Ram - 05.04.10 5:08 pm

Just wanted to take the time to thank you for such a well written article. I also like the hints on how to get IP etc. and actually showing them simultaneously..

this is the way tech articles should be written.. and trust me I have been reading tech related stuff on the internet since 1994 (it was archie's to start with) and this is one of the best straightforward simple writings I have seen..

thank you.


anup - 14.04.10 8:44 am

i'm 30 yr old . i want to know about whole network with Linux OS. Can u tell "how can i send a message on pc2" when someone sit their........................


Piyush - 18.04.10 3:02 pm

Sir,
Actually i want to send text massege on my pc through mobile phone i use linux fedora 9 os and my mobile is fully wap enabled.


Erica - 21.04.10 4:15 pm

Hi! Thanks for the article, it was very well written; however I do have a quick question.

After setting up my static IP, I can't log into my router for port forwarding. Have you seen a problem like that before?

Any help is greatly appreciated. Thanks!


guru - 22.04.10 12:06 pm

plz sir
i have learn to ten computers ip addressing using lan connection smiley for :roll:®


HMS - 22.04.10 11:29 pm

Thanks for great info.

I have an excellent connection to the internet, consistent 50-60 Mbps down and 5+ up. My wife likes to watch streaming video from a server in Korea 61.111.9.20 I want to know if its possible for me to find the fastest route to that server and then always use that route? Can a route be preset?

Thank you

HMS


Anand Ayyappan - 23.04.10 3:00 pm

Hi,

Thanks for the great stuff!

I am facing a problem. I have my PC connected to a wifi router whose WAN port is connected to a DSL router. I have no-ip.com service enable and DUC installed.

My DSL router IP 192.168.1.1
MY WIFI Router IP 192.168.0.1

Wifi Router WAN port IP 192.168.1.2 (Static)

My server ip is 192.168.0.10

What all port forwarding steps should be done so that i can point my dynamic domain to my server.

I am able to ping using the dynamic domain name provided by no-ip.com
But when i use the dynamic domain name on the browser i am getting server not found.


Hope your knowledge in this field will help me.

Thanks in advance

Anand



KJ - 27.04.10 6:20 pm

You just solved a lot of problems for me.
Thank you


tiff - 02.05.10 1:50 pm

YES GREAT INFO.! I HAVE AN ISSUE WITH MY PC SHOWING MULTI. USERS - EVEN AFTER A COMPLETE PC RESTORE? ALL MY NETWORK AND SHARING SETTING ARE SET TO OFF. I HAVE BEEN HACKED AND IN A BIG WAY. I NEED HELP AND IM NOT SURE WHAT TO DO OR WHERE TO GO? BY GETTING THIS STATIC IP WILL IT KEEP MY HACKERS OUT? ALSO THIS IS CYBER CRIME HOW DO I HANDEL THIS???


Jamie - 05.05.10 5:21 pm

Right, so this is about static ips - but I'm struggling to find anywhere on the internet about this - and your guide is pretty good and helpful in a straightforward way.

I already understand the private ip thing, and port forwarding things etc.

But, my problem is that, I need to assign static 'public ips' to a number of machines on a network (four of them). This is so that they can use a price checking software without breaking T&Cs of them coming from the same ip (it's not illegal, it's what we've been told to do by the makers of the software and by Amazon - the website we'll be checking.)

I've got a list of 5 ips set aside for us by the isp, but I'm fucked if I know how to now assign these to the different computers - the ISP told me that they cannot help me with this - and the company we've bought the custom made software from have told us that all their other customers have had BT do it for them (we don't use BT as our isp) and he then tried to charge me for the privilege of sending me that email (30 mins of support my arse).

Anyway, I thought perhaps you might have an idea. Yes, I have googled around, but so far have not been able to work out what I need to do. We've got a Netgear DG834GT and a Zyxel switch thing. People keep talking about directing different ips for web servers, but this is slightly different and involves different computers so I'm struggling.

Any help would be appreciated!



Alex87 - 08.05.10 10:34 am

HELP ME, i have a Cisco router, WRT54GH linksys , on windows xp, the router has the ip 192.168.1.1 , but the network i am trying to connect, a DHCP, has asigned me the ip : 10.21.0.78 , in order to connect to the network i cloned my comp's mac and the network is working but i can't connect to the internet, so i guess i need to chane the ip of my router to 10.21.0.78 and i just can't do it , neighter in dhcp mode nor in static ip mode , i seem to get the error : Invalid starting ip "192.168.1.1" , how can i solve this ?smiley for :roll:smiley for :roll:smiley for :roll:


MyName - 12.05.10 11:41 pm

I have a linux laptop, and I set my IP address to 192.168.0.042, because I was having conflicts with ip. Now I want to forward my ports, but my Netgear WNR2000v2 router will not accept 042 as the last 3 digits. Anything over 100 works. But I change my IP in my interfaces file to something like 192.168.0.42 and it can't connect to the internet. Help plz?


david - 17.05.10 12:26 am

i appreciate your simple way of explaining what could be complicated info thank you very much!!


pooja - 18.05.10 8:26 am

well....i want a help....pls solve my problem....in the past few days i have been recieving a wireless connection..when i connect to it, it shows local only but sometiome it connects to an internet connection....when i see the network devices connected to this network..it shows me different pcs and laptops and one internet gateway device and one residential gateway device..along with their ip address....pls tell how should i change my ipv4 to recieve internet...

internet gateway device ip-127.0.0.1
residential gateway device ip-192.168.0.2
it is non authenticated non secure network....
pls tell the ip adress, the default gateway, subnet mask and dns server...
pls email me soon on my email id goingoutofhell@gmail.com


Nijas - 18.05.10 7:09 pm


Hismiley for :ken:
Each time I connect to internet IP changing how can i get my ip static


jp - 19.05.10 1:58 am

thanks for the info dude...

now i know more about static IPs.

thanks a lot...smiley for :idea:


WOW? - 20.05.10 9:14 am

Very Nice, but could you do a guide on Windows 7?


ramjam - 25.05.10 3:18 am

Clear, humourous, informative, entertaining and educational. Wish more technical articles were written like this - thank you.


Kishore - 30.05.10 7:01 am

Good effort. Keep it up.


bigblue - 04.06.10 7:41 am

Thanks so much for all your time and wisdom. i'm very greatfull!!!!!


Sensen - 04.06.10 4:28 pm

Just moved to a new house with a new router and a new provider, and all my online games (such as l4d2) dont work! I go in game, i find a server, i enter the server, i play for 10 seconds and then im thrown off the server, and i think its something to do with the router.
What should i do? i have a dynamic IP adress, but the article above didnt help because i have vista :/


kapil - 10.06.10 12:48 pm

NOT ENOUGH INFORMATION FOR SET UP IP ADDRESS ON lINUX UBUNTU.



kAPIL tIWARI


Amy Lomasney - 10.06.10 1:30 pm

I have MACS and have FiOS. They (verizon) lied to me that I was getting a static and am wondering if there is a solution for me. I have read through your article but admit I am terrifed to try on my MAC.
Thanks -
Amy


Squirell - 10.06.10 4:47 pm

Very nice article. Love to see more "simple" articles explaining "complex" stuff. Plus, nice site and sense of humor


hasan - 11.06.10 7:36 pm

that is good but my problem is this: How do I change my IP no for fooling a site when I coonect to it which happens to have put a ban for a whole 1 year period ??


metin5308 - 14.06.10 4:58 pm

yeah what should we do to avoid 1 year of ban ??? if you have reached to a solution I would be very happy to hear about it


metin5308 - 14.06.10 5:01 pm

hasan I have the same problem @ I am sure you reached here just looking for a solution ifyou want a contact with me just leave a message here asking my e mail okey ???????


EdThmMrtn - 16.06.10 5:15 pm

Thanks a lot. I've learned a lot about Static IP address from your article!! smiley for :D


metin5308 - 21.06.10 3:23 am

now I have to change my private IP because they found about my original one by means of a trojan I guess .when ı logged on to their site.How do I do that ?? if you help I would be grateful


Roscoe - 24.06.10 8:04 am

Thanks so much for taking the time to write this article. It has made so many things clear to me in plain easy to understand English. Thank you.smiley for :lol:


nana - 05.07.10 10:24 am

first, thanx for the artical it's help soooo much on my project , but my question how can i provide static ip addresses to all the users of a computers in a LANsmiley for :D


Keith - 06.07.10 1:59 pm

Hi great article, clearly written and with humour. I'm using Windows 7 and in the LAN Connection / Properties screen I don't see TCP/IP on its own. Instead I see IPv4 Address (192.168.0.3). Is this the setting that needs to be changed? And do I need to do anything about the Link-Local IPv6 Address? The Connection screen says IPv4 Connectivity: Internet and IPv6 Connectivity: No network access, so I guess not (but I don't like to guess). Thanks for your help.


corz - 06.07.10 2:21 pm

Keith, the instructions on this page apply to IPv4 networking. IPv6 isn't fully implemented, yet, and you don't have to put anything into those inputs.

nana, you simply repeat the instructions for all the computers on your LAN. NOTE: If you have a lot of puters, it makes sense to do this at the router. That way you have one central configuration you can backup and restore in one single place, as opposed to dozens of separate configurations on as many machines. That's assuming your router can do this. If not, consider IPCop or similar.

Nowadays I always recommend folk setup their static IP's from the router wherever possible (as explained in the article). This way you never have to worry about configuring any of your individual machines. The router is also the place where the port-forwarding rules live, so again, its backup is also the LAN configuration backup, all-in-one.


metin5308, every time you visit any web site, you reveal your IP. If you didn't, how would the server know where to send the pages? If this bothers you, use a proxy.

MyName, perhaps the 1-99 range is reserved for DHCP. If you don't need DHCP, disable that and try again.

;o)


Jinvin - 08.07.10 2:34 pm

why the first IP (here it is 192.168.1.1) assigned to the default gateways. Is there any specific reason because most of them I have seen is told to assign the first network ip to the gateways. Is there something to do with dhcp.


Alen Ghadimi - 13.07.10 6:33 am

thank for all the info but you haven't said anything about DNS numbers where did you get alternate DNS number and why is it diffrent can you explain a bit more about each boxes thanks.


DSer - 14.07.10 9:21 am

can you make a guide dor my DS/DSi and other console?


kAILASH - 15.07.10 8:11 pm

[


id - 18.07.10 8:23 pm

thanks, but with this solve my problem of sending mails


kam - 20.07.10 9:15 pm

Great site, very original, color combination and layout.
I rarely leave comments at sites but with yours I couldnt help myself, cause i guess i found it
inspirational. nice to see talented and accomplished individuals sharing on the internet.

but anyways don't mean to ramble on, just to say way to go and wish you all the success with your endeavors.




coy - 30.07.10 11:58 am

hi. it is really hard for me to connect to facebook at times
and i read in one site that i need to change my external IP address
to something nearer where facebook is located.
the site they can change it for a fee.
how can i change it for free?
thnx


STATIC IP CONFIGER - 31.07.10 9:11 am

when you configer static ip configer stpes


rajasekaran - 09.08.10 6:00 am

Informations regarding Networking


dalex - 10.08.10 1:55 pm

great article.
i'm trying to find wether my ipaddress internet.. is static or dynamic so i Can switch my moneris debit machine from the telephone line to an internet port. where abouts can i find static or dynamic or simply explain the difference


moutaz mamdouh - 13.08.10 6:39 pm

hi



sam - 17.08.10 6:11 pm

hello, I use Windows XP. I have a wireless printer on my network. I use DHCP for all the devices on my network, so everyone in the house can painlessly add and remove devices. However, to communicate with the printer my machine and every other machine needs to know its IP address and that must not change. This requires static. Your tutorial above says that to use static IP addressing for *any* machine I must turn off DHCP completely. Is there any way to give the printer a static address but not turn off DHCP - its too convenient and works fine for everything else

cheers


John - 20.08.10 9:28 pm

Just wanted to say that this was the most well-written article on static and private IPs that I've ever seen. Thanks very much!


Cher - 23.08.10 10:42 pm

Hi,
I am so happy to have found this article after searching the web for days literally. I've got or had my system set up with static IP addresses (a desktop xp pro, two wireless laptops 32 & 64 bits, and several printers etc.) All printers HP used to get booted off network until we set up the static IP addresses. I had reaad about it in an obscure little article I belive in PC World, not a large piece at all. I am so thankful for the explanations given here. This is what I was looking for.
I would find it helpful to know why even though one has static IPs one can still have a item booted off the network? For example I understand that if one unplugs ones modem here and there or is it the router...becasue the pc or is it the pcs...are being booted offline...well you get the idea...that this can casue the staticity (like or hate this word?) to revert bcak to non static. I would like more info about this as well as on the DCHP settings and as one gentleman wrote, it must be disable in order to have the static setting enabled. But I will take your word for it. LOL I just would like any more info that relates to this article eg. setting IP addresses. I'm not looking for tech support. Althouhg if I could find any it would be grand; I;ve been working on the printer being off the network for days now. Netgear charges 36.50 I think for each incident. My more knowledgable friend is so busy...busy...who isn;t busy today...but who has that kind of money every few weeks? Hence teh static setting, I get it. But when it doesn't work, there are reasons, those I would like to find someplace so I can try and fix this asap.
Anyway, nice chatting with you all, this is a nice informatie place to visit and I wish more knowledgable folks would putinfo like this up. I do but it is on birds, pain management anad grdeninv not on pcs. LOL C


john - 28.08.10 5:19 am

I am so happy to have found this article after searching the web for days literally. I've got or had my system set up with static IP addresses (a desktop xp pro, two wireless laptops 32 & 64 bits, and several printers etc.)


Archie - 03.09.10 7:25 pm

I can I go about finding and external static IP address also ports 10000, 161, & 22.
Finding port 80, and an internal Static Ip, subnet mask, gateway, DNS Ip & hostname?

Thanks


xxxjcpxxx - 07.09.10 4:16 am

thats much better doing static connection..but in my case im hestating that way why?
in my boarding hauze we have a laptop, desktop, but my other buddies their using IPhone phone SO!
HERES THE TWIST I'AM USING DHCP / automatic configuration in my router,, SO IF I CHOOSE STATIC CONNECTION so i manually set IP ADDRESS FOR EACH PC, LAPTOP ,, but what about the Iphone? is there also a way to configure my iphones to connect W/ ROUTTER using STATIC CONNECTION? OR the iphone does'nt nid any configuration what ever i use PRIVATE/ static OR automatic configuration DHCP?

so can you please give me some tips,, regarding my concern,,,iphone


adasan - 07.09.10 7:05 pm

super sit
router line xero systems




CCTV - 13.09.10 5:50 pm

great page,if want to view my cctv from remote computer ,i can view lan on my network, would i be best to set account up with dyndns.org,or is there a better way may be you can help ,thanks


Michellepm - 21.09.10 7:12 pm

I have a newer desktop running windows7 pro and a Vista laptop I use when I travel, both are 64 bit. previously I had a desktop that ran XP pro and remote desktop worked well. Now I cannot get everything configured where the laptop will logon consistently. I am guessing I need a static IP. Will what you described fix this issue?


NoName - 27.09.10 11:46 am

this quide is for pc static addresses but for some reason there are routers that when you restart them they get new (from dhcp pool) dynamic ip address i wonder how to make my router to have static address nomatter how many times i restart it .. anyway great guide for the newbies smiley for :)


F.M.Rubayet - 27.09.10 4:20 pm

How can i static my ip?

please answer my mail fmrubayet@gmail.com


mb - 28.09.10 9:40 pm

This is a super site. Can anyone help with iPhone and iPad connection problem? Both iPad and iPhone worked fine when we moved from Sky to BT Total Broadband. Then one day they both asked for the Network Key again which we entered, paying attention to case sensitive. However, on both devices a screen came up saying 'Unable to join the network "BTHomeHub2-4WFK". BT gave the advice to increase the Hub signal strength from 1 to 7 because we have several wireless devices trying to connect at the same time. It worked for a while, but no longer.
We would be really grateful to learn of something which would be permanent.
I had thought of assgning a static IP address, but then foumd this website so thought would ask here first.
Many thanks.


bobfucsssss - 05.10.10 12:28 am

i hate this website.


miilk89 - 14.10.10 2:09 pm

juz 2 confirm : if i set my IP add to static will my torrent o download speed bcome faster?


COOL CAT - 18.10.10 8:15 am

STEPS FOR ASSIGNING A STATIC IP ADDRESS IN A COMPUTER RUNNING LINUX, HELP ME IS NOT EASY FOR MI HAVE TRIED.


gopal rathore - 20.10.10 11:21 am

How can i get static IP add......


bob - 29.10.10 3:01 pm

thankyou very muchsmiley for :lol:


Bipin Rohit - 31.10.10 3:50 am

Dear All,

I m working small company
Here is some network problem i face here users change ip address and add one or more ip address in there pc so so network down & conflit it so give me solution or any tools to find mac address to ip address they used




Bobby - 05.11.10 9:53 am

Hi,

Apparently, i bought a game auth, and whenever i log in, it will record my ip address. They have an anti auth selling system, which detects the ip when logged in. If the ip address that logs in all the time is the same, then you're safe, but if it's different, then you'll get ban. However, I've got ban, and when i asked them to give me an explanation, the game masters told me that I've logged in from different ip address, ip addresses that are from different parts of the world, how is that possible, i didn't tell anyone my game auth, and i don't think i got hacked as well. So i guess it's my ip constantly changing that caused me to get ban, mind if i know how to solve this issue or prevent it ? Reply me question please, by email or any methods, thanks


jacob - 06.11.10 8:30 pm

great


Buz - 10.11.10 12:44 am

I need to have secure access to a hosted Virtual Windows 2008 server. The existing security system will only communicate w/ IP addresses it has stored in its database. My ISP at my office only provides dynamic IPs. Therefore I cannot get access to the virtual Windows box.

I have access to several hosted virtual Linux servers which have static IPs. I access them thru SSH & PuTTy using my WinXP desktop.

Is there some software available that would give me command line access the Windows 2008 server thru the Linux server w/ the static IP? Like this: WinXP Desktop -> Linux server -> Win2008 server.

For extra credit, is it possible to do the same thing, but with Win Remote Desktop access?


Thx for any ideas...

The answer for these sorts of questions is always, "Probably, Yes". It just needs a little imagination; Nowadays we got Linux RDP clients, simple remote X-server implementations, SSH and myriad tunnels, not to mention cross-platform remote control protocols like VNC.

If there's an ssh server running on the Win2008 box, simply open another ssh session from inside the linux ssh session; only bandwidth and patience limits the number of links you can daisy-chain this way and that; more than once I've been inside a telnet session inside an ssh session inside a VNC session (or three) inside an RDP session; it can get quite confusing, especially over dial-up. ;o)



jerry - 10.11.10 3:14 am

can you please help to make ip address.... using hub... 3 units of computer :


jayysonn - 10.11.10 10:14 am

will this static IP address will this work if your making one for connecting you xbox??

bcoz i want a OPEN NAT not a strict and ive been browsing around websites and this gave me alot of good info


T - 10.11.10 5:40 pm

THANK YOU FOR SUCH A WONDERFUL WEB SITE !


giopa - 11.11.10 10:45 am

hi there,

i have just converted my computer in static, thanks to this web site. the reason for doing this is because i am moving from spain to china. in the latter u cannot surf internet as free as i do now in spain because of political issue in china ... can u pls let me know if now, with the static IP, i can surf internet also in china without having internet restriction???

thanks for this web site ....


; )

Google: Proxy Servers List ;o)



S - 11.11.10 1:55 pm

I am currenty running a cable internet connection and a dial up connection. We switched to cable a short time ago and just haven't cancelled the dial up. I am using it for a public wireless connection for visitors to use when in the building. These connections are thru two different internet providers. We run an internal online sales system. I would like to be able to switch seemlessly to the dial up connection if the cable goes down, which it has a couple times. In order to do this I would need a static ip that will work with both connections. Is this a possibility?

Even if the cable and dial-up connexions are with the same ISP, the chances of getting a static IP assignable to both is remote at best. You could ask them. Check you really do need a static IP address, though. ;o)



Don - 13.11.10 11:25 pm

Thanks alot for this article. I have windows. I did get a static IP for the computer, but could not get on the internet anymore. I was missing what to put in the Default Gateway and Preferred DNS Server sections, so i just emulated your line of reasoning and it worked great. to make the article even better, i would suggest talking about those fields as well as the Alternate DNS Server section (i left that one blank because i could'nt deduce your reasoning there). I really appreciate folks like you who put this free and invaluable advice on the web. Thanks!


Mar - 17.11.10 12:58 am

This is my setup:

(ISP)-->modem/routersmiley for :ehh:smiley for :ehh:(Prolink H9200AR)--->router/wireless(AP)(Loopcomm 8696)--->CCTV

I can see the modem router html page (using DYNDNS) but not the CCTV.The way I understand these CCTV uses router/wireless as gateway and the router/wireless uses the modem/router as gateway.I am at lost to what is the cause of not being directed to the CCTV.
Is this a port forwarding problem?
Do I have to port forward in both modem and router the CCTV port?

A modem only modulates and demodulates (mo-dem) data for use with telephone lines; it knows nothing of "ports". Perhaps check the router isn't allowing the web interface yet blocking the CCTV's port, whatever it is. ;o)



c - 23.11.10 1:20 am

Thanks! There was so much I didn't know! Good info. from start to finish! The "unknowns" were all covered for me! Thanks again!!! PS Added to my "favorites"! ;-)


fancyfrend - 24.11.10 9:44 am

its like a lecture. it goes step by step. that was really good. thank you.smiley for :lol:


Neil - 24.11.10 3:51 pm

Hi
I wonder of you can help me with a problem which seems to be the reverse of the one you cover here? We have given up trying to maintain our own domain server and now use a remote hosted server for everything from MS Exchange to MS SQL and file storage. The hosting company could provide much better access if I had a static external IP address but my ISP (NTL) wants to charge £10 per month and our Dutch and Swedish teams would have to pay much more. Is it possible to pay (but not too much) for a secure internet-based service who would let each of us connect by user name and password (or even VPN) and give us a static IP address for onward connection to our server?
If you could reply by email, I would be happy to donate via this site

Regards, Neil

It's possible that you can convince the hosting company to accept domain names from the clients; dyndns does user/pass authentication when supplying each new lease, is something you might like to remind the hosting company.

However, they may have technical limitations preventing this, for example, their authentication system requires dotted decimal IP addresses. At the end of the day, you may need to compare the cost of all these static IPs against hosting the server yourself.

Of course, you may find an ISP with more reasonable static IP charges. Good luck! ;o)



qebal - 28.11.10 9:45 am

i got a problem with my college internet connection..there is yellow exclaimation on the network icon..when i try to troubleshoot the problem, windows detect that the problem is "local area connection doesn't have a valid ip address"..
i dont know what to do,already googled about this and tried so many method from the net, but nothing's working..

hope that u can help me with this problem..

i'm using windows 7 32 bit..

There are too many variables and not enough information here for me to give great advice (the kind I prefer!). Also, the question has nothing to do with this article.

In this sort of situation, usually it's smart to go directly to your campus' IT support department. ;o)



statically screwed - 29.11.10 7:42 pm

Did have a quick note just to clear something up. I have a small group of computers, several in-house and several outside the LAN, i'm trying to simply host a server, not a website, only for PDF file sharing. We want an electronic bank of information because of it's sensitivity and this way none of us have a the hardfile on our actual computer it will be password protected. The IP address I would get from namecheap, is that static, would that work for what i'm trying to accomplish?

Thanks dude,
rock on. smiley for :cool:

You are confusing two issues. You don't need a static IP, nor a paid-for domain name. You can accomplish what you need with a regular dynamic DSL/cable/etc. connexion and a domain from dyndns.org, which is always static, regardless of the underlying server's ip address.

Having said all that, by the sounds of things some kind of VPN might suit your organisation's needs better. ;o)



Eson. - 30.11.10 5:43 pm

i am running a runescape private server and when i try to put it online , my no ip duc says ; Error connecting to server to check IP address. Will retry in 60 seconds.

i don't know how to fix it. any help?

Perhaps your firewall is eating the duc's packets. ;o)



eljackal - 03.12.10 10:07 pm

Thank you for the information. It's has been very helpful, and answered many of my questions.

Thank you once more.


Sandy Singh - 09.12.10 12:05 pm

Thanks for this useful information....great job




Zach - 24.12.10 8:20 pm

I am trying to make a private server for a game but it requires a static IP in order to run it off my computer. How do i change the ip or make it so it will always stay the same?


Eben - 27.12.10 10:05 am

Thanks for writing this. Now I don't have to look up my ip address when sharing files on my home computers.


Stupid - 28.12.10 10:38 pm

How do you find someone else's ip address, not mine!

Get them to contact you somehow, and see; even email is fine, if you know how to interpret the headers. Or you could setup a server somewhere and have them connect to it (a juicy web page or ftp stash is enticing); get them to setup a dyndns.org address, loads of ways. You could even ask them (if they don't know their external IP, have them visit this page). ;o)



fernando.apalo - 01.01.11 8:08 am

i hope you please.give for me (meisme)3000 credits thank you very much!smiley for :roll:


Andy - 03.01.11 5:36 pm

Thanks for the help, this was exactly what I was looking for. Now I have configured my network! Next thing I need to learn is how to run X servers across the network. But seriously, this was a pain in the ass, as I was writing host files, and it kept changing.

Thanks for the tutorial.


Liwalo - 08.01.11 8:36 pm

I have a training company for which I have to send out email regularly to few thousand recipients. 2 things are happening, 1. my ISP service provider blocks from sending bulk emails (althought i have a special software to do this. and 2. some coporate servers refuse to let my emails through due to a dynamic ip address, i think.

Can a static ip address solve at least 1 of the problems?

Possibly; check with spamhaus.org ;o)



Ian - 09.01.11 5:00 am

Thanks for the help!! Very helpful guide!


sublimedyl - 04.02.11 1:40 am

Good article, but you left out bringing up a command prompt using cmd and typing ipconfig /all to see your current settings along with your dns servers so you may configure those settings as well.

Well, people keep bring it up for me! I guess I should add a wee command line section; thanks for the reminder. ;o)



Dougalino - 06.02.11 9:23 pm

Great article!


Penguin - 14.02.11 3:25 pm

I'm running Windows 7, how would I do it?




JizzMaster - 16.02.11 12:48 pm

really great thanks so much i've been looking for an article such as this for sometime now and wow, thanks SO, SO MUCH!!!


leboy11 - 20.02.11 7:32 pm

how can I get around cable isp blocking access to peer to
peer connection.

Use some kind of proxy, Tor maybe. Personally, I would switch ISP immediately after a terse email to their customer support. ;o)



tweaver - 21.02.11 7:25 pm

i currently have a newtwork set up that uses free wireless from the bldg im based in. The server and each client has static ip addresses. My dilemna is that im moving and will be tranfering the entire network(server and all) to new location.. where i need to pay for internet. 1st question can i just unolug and replug the whole network without havuing to reconfigure the server n the clients? 2 Can i do so with dynamic ip from my ISP? 3 I already have my router configured to my current newtwork can i utilize what that and maintain what i currently have? please advise

You will need to reconfigure the WAN side of things, but the internal network should transplant effortlessly. ;o)



Daniel - 24.02.11 1:56 am

hi, than u very much for the info, there were so many things i dind't know about networking. Let me ask u how would u deal with the following:

u have a network with 25 pc's all connected to a dsl modem using switches, now here is the problem smiley for :eek:: my boss had the ISP provide us with 5 external static IP's, and the dsl modem is already set up for those 5 IP's, my question is how would u share the internet connection with the rest of the computers?

thanks again, good bye

I'd take one of those IP's and assign it to a gateway device (the "dsl modem" may have everything you need) and then feed that to a switch, and to that I would attach other switches/Wi-Fi AP's, etc. This would constitute the "internet connection" you speak of. Now you have four IP addresses free for other uses. There are lots of factors to consider about your setup, stuff I don't know; but that's the general picture.

I find Linux boxes make excellent Gateway devices, able to do pretty much any task you could dream up; if you know how to setup such a thing, that. And if you don't, IPCop (or similar) will happily fit on an old laptop (the sort of thing you could pick up at a garage sale for twenty five bucks, cheaper if it has a broken screen; you won't need it, anyway, IPCop is configured via the web) and provide all the usual services as well as many others, via its plugin architecture. ;o)



Right.In.Your.Face - 28.02.11 2:06 am

Mmkay. So, I've done the steps here, but when I go to set in a static IP for my computer it needs a Subnet Mask entered too. I'm not sure I completely understand how to provide a Subnet Mask. It's slightly discussed in the FAQ, but I tried that example (not word for word - or rather number for number) and it keeps telling me it's invalid. Should I try a different static IP? Or am I just not entering the Subnet Mask correctly??

PS: The OS is Windows 7, perhaps this makes a difference???


Thank You!

Possibly you should enter a different IP; you didn't say what IP you used, so I can't know. To find out your subnet mask, do "Start" >> Run >> cmd >> ipconfig ;o)



Rush Holden - 28.02.11 11:55 pm

I have a similar problem to the gentleman on FEB 24... MY ISP gave me 5 static IPs. I have 10 pc's a router with 4 ports and a 16 port hub.. how do I split up those 5 static ip's and still remain networked if my modem gateway doesn't have dhcp.

Set the IP's on the Peecees themselves and see what happens! ;o)



hihihi - 13.03.11 11:40 am

Alright so, I was looking through this, and pardon me, I'm really lousy at this..

Does this works for Wireless network connection? Apparently I'm using Wireless Network connection INSTEAD of Local Area Connection,

So there's this step that says
Control Panel >> Network Connections >> Local Area Connection >> Properties >> TCP/IP >> Properties.

Howver, In my computer, it's like:
Control Panel >> Network Connections >> Wireless Network Connection >> Properties >> TCP/IPv4 (AND TCP/IPv6) >> Properties.

I don't know whether I should be using TCP/IPv4 or v6. Please advise.

Thanks in advance

The chances are huge that you are using IPv4, and Yes, this works fine for wireless as well as wired networks, even all jumbled up in the same subnet. Oh, and if you are jumbling wired and wireless networks, remember it's at least a good idea to use a set range for only the Wi-Fi clients, e.g. 192.168.0.100 - 192.168.0.150, or whatever.

I'll add some notes about this in the main article ASAP; I've done quite a bit of wireless networking recently - now that Wi-Fi security is up to scratch, there's a lot of fun and functionality to be had "out there". ;o)



Rohan - 14.03.11 4:28 am

This information will be very useful. I will be setting up some IP cameras and I think this page is going to be helpful.


Marci - 14.03.11 5:33 pm

I believe I have finally found someone who can help me and understand what's happening..I currently purchased a Virginmobile broadband mifi...I hooked up one of my Vista computers as an FTP server I was able to set up an internal fixed IP so that I could port forward 20 on it..so far so good.. I can get e-mail etc..HOWEVER...when I am on this wireless broadband network via the MiFi 2200 device it will not let me PING MY EXTERNAL IP..which I found via whatsmyip.org...THEREFORE NO ONE CAN FIND MY FTP on this wireless LAN...please advise..I am desparate at this stage of the game!! I am aware of the external dynamic IP that I will get everytime I turn on or off this prepaid mifi LAN and I am using DYNDNS to follow the changing IP..but it doesn't matter..as no one can get to any external IP that I get....HELP!..I turned off my firewall, etc...IT'S ALMOST AS IF THIS MIFI 2200 IS BLOCKING MY EXTERNAL IP FROM BEING FOUND...

You seem to be confused. The only reason to forward port 20 is to allow outside access to your FTP server. Then you say no one can access it from inside your LAN.

Regardless, your FTP server, assuming it's setup correctly, IS accessible by at least two IP addresses, one local; for the clients inside your MiFi's LAN, and one external; as assigned by your ISP whenever you connect to their broadband service (the Vista box's FTP server should also be available via "localhost", or 127.0.0.1, from the Vista machine itself).

Simply put, FTP clients inside1 your MiFi's LAN should use the local/internal/LAN IP address, perhaps 192.168.0.3 or whatever, and cients outside your MiFi's LAN; e.g. folk on the internet, should connect with the external IP address, whatever it is; it probably changes each time you connect, though it looks to me like you don't need this functionality.

But if you do need outside access to your FTP server and your external IP keeps shifting on you, simply setup a dyndns.org address, as explained in the FAQ section; problem solved. ;o)


references:
1. "inside" means connected directly or indirectly to the MiFi on THIS side of the device; the other side being "the internet")



Marci - 15.03.11 12:15 am

Read my first comment again...the EXTERNAL IP CANNOT BE PINGED!!!!!!The whole purpose of the FTP for me is TO ALLOW OUTSIDE USERS IN...I am aware that those on the inside lan can access the FTP however, no one can ping the EXTERNAL IP WHICH CHANGES AND I ALREADY HAVE DYNDNS IN PLACE FOR THAT..MY CUSTOMERS USE THE FTP OUTSIDE OF THIS LOCAL AREA NETWORK AND BECAUSE THEY CANNOT PING THE external ip ADDRESS OR THE public IP THEY CAN NOT REACH MY FTP SERVER..

I just received another reason from another techie which makes more sense which is: If you are using something like the virgin mifi 2200 it is a 3g broadband modem. It isnt true wifi and does not even show under wifi or lan. The problem is (and I have it too) virgin uses a hub in kansas with a strange IP range.


Marci, enough with the CAPS already, it makes my site ugly and gives away things about yourself you probably don't want to. Okay, here goes..

Just because YOU cannot ping your "external IP", doesn't mean others can't ping it just fine, and get a nice reply, too..

Reply from 71.130.*.*: bytes=32 time=255ms TTL=240

And even if they could not ping your external IP (which remember, they can, just fine), ping is not required for FTP, so what difference does it make? You want to run a Ping server, or what?

You are stumbling over no more than your incorrect assumptions, brother. I'd wager real money that your external IP is not only Pingable, but that your FTP sever is working just fine; if only you had the wit to test it from outside, like I just did.

;o)





Nick - 15.03.11 12:55 am

I can't seem to find the "Network connections" part. I opened control panel, and I searched for "network connections". The response was no search results. Is there another way to do this, or is there a way to access the "network connections" folder? I need to set up a server for a game, and I need a static IP address. Please help! I use windows vista

P.S. If you want, you can email me, although I would prefer if you didn't, as I rarely check it.
smiley for :idea:

I rarely get my hands dirtied with Vista, and certainly not with its Control Panel search feature, but I do know that if you switch the Control Panel to "Classic" view, the pane you want should slide into view, probably called "Network and Sharing Centre", or something equally obscure. There are probably a few ways to access that configuration; maybe search for just "Network". Or maybe you have no network adaptors installed. ;o)



Kurtz - 17.03.11 9:32 am

I am searching about IP static and get this great article, thanks



Darln - 18.03.11 9:53 am

You are a godsend! My daughter is 9 months pregnant and has to work from home using Hughesnet 9000 and vpn. We are desperately trying to get this connexion to work and Hughesnet technical resource pool is very shallow. We are going to try your suggestions, but at least you have explained it in a cogent yet understandable way. Kudos smiley for :cool:

Shouldn't she be on maternity leave by now, taking it easy? She'll need all her energy and strength for the big day and beyond! At the very least, she should leave the networking to you! As mentioned before, vpn is mostly outside my ken; but if you think I can help more, get back here with questions. ;o)



Vinod Dave - 24.03.11 10:06 am

Thanks


kazbear - 29.03.11 7:51 pm

hi,this probaly a stupid question and already answered,but its all a bit over my head.

My question is.....i have home broadband with wireless router,myself and the fiance play a online game,thing is this game means no interaction between people on the same internet connection, but a few months ago we rang our service provider and he changed some settings that gave us several different ip addresses,,one for the router,one for the laptop and one for the other halfs laptop which allowed us to play the game,,we didnt have to get any extra modems,,pay extra or anything. We have rang our internet provider several times to try do this again(they disabed it,when we were trying to set something up with the xbox)but the guy who did it before has since left,,and no one else seems to know how to do it :-(

sorry if this has already been explained.......smiley for :roll:

thanks

Call them and ask to me moved to the static IP broadband plan, or rather, ask them why that plan is no longer working on your line. Not the technical staff, the sales/support staff; tell them your story. Most ISP's can do it, if you pay. ;o)



Jeff - 07.04.11 10:21 pm

Hi,

I own 5 computers and 1 switcher. I'm trying to change the router IP Dynamic address to Static address. I saw your explanation. Also it window 7 operation system.

Question.

"If I change the one IP address to Static do I have make all the computers to static. (Or it just the router that is changing?) Also do I have to check see if they're not having the same IP address.

No, you don't have to make them all static, only the ones you need to be. And again, no, you don't have to check; as soon as you attempt to assign a static IP, that will happen automatically - if the IP is taken, you will need to choose another, or else switch the IP of the offending other device.

This is why it is wise to assign a small range of IP addresses on your local network specifically for DHCP, then there's never any conflict, you know where everything is.

However, if you are attempting to change the router's external IP address, as assigned by your ISP, don't bother; you can't. ;o)



Moe Soar - 12.04.11 9:14 pm

Hello,
Question: Wan access to the PC (dynamic IP now). I searched the Internet and only found the changes to fixed IP in the Lan. I need fixed IP for Wan. I found that those who use dynamic DNS, logs in Dyndns window into the hardware. But my device does not have such access. I think I need a program (if any) Dynamic DNS reverse, which would use the IP updated and send the numbers to the PC (pure, just him). As an example, would need to appear on my hardware: admin-IP189.122.241.48. This program would have to send the IP updated already. Today it would be like this: admin hhatro.cht.ab, which does not work. Do you have suggestions?
Thanks.

I think, and really it's just a guess, that what you are looking for, is a
"DUC", aka. "Dynamic Update Client". However, there is a chance that I misunderstood the question. ;o)



pc - 15.04.11 12:38 am

Hey dude, great website and great explanation.
My doubt is same as Marci's. If i want to publish my webserver over the internet using something like a mifi i don't get to make it. i have both ways of connecting; at home I have a Dynamic IP that is public so everything works fine, but when I'm on the road with the mifi device my public IP (the one that whatismyip.com shows) is not the same as the mifi adapter shows. So here is the deal: how can you route something like that? is the some kind of NAT o a client server that can route you all the way down even if you are behind some networks that you cannot manage??
Hope ypu could give some light on that because it would really make my day.
Cheers!

I recommend you put it out of your mind; so long as your dynamic domain name corresponds to your physical server, you can let the internet's internodes worry about routing the actual traffic. ;o)



hockeyrick - 25.04.11 9:42 am

Im from calif. been in thailand for 7 years.
maybe this hhas been addressed, but if not hope u can help.
I have windows 7, i get all my programs with US based English
But after loading, sometimes I get different languages
For instance, just got new YM 11 beta, US version, but some of the stuff has Vietnamese/Thai
audibles! Why? How?
I go to some google sites and it switches to the thai version, and there is no window to change languages.

Is there some simple way I can correct this?
My internet is standard wireless, with the router in my house but TOT

Feel free to send me a private email to help explain if u can
Im not too savvy about changing stuff so talk to me like a 4 year old, although they are pretty smart now a days!
hockeyrick@hotmail.com

And thx for any help or links to help!!!!

Needless to say, I will not be mailing any time soon.. smiley for :roll: ;o)



rinku - 26.04.11 5:07 pm

not too much bcoz someone can easily find us through location


george - 28.04.11 10:35 pm

Please want to know how i can do the following:

configure a private (non-routable) address on a PC
• configure a computer name
• connect two or more computers to establish a workgroup
• use command prompt network tools e.g.ping, tracert, ipconfig, Net Use etc.
• set up local user accounts and passwords
• create a user group and add users to it
• share a file, folder, printer and another device (e.g.CD)

Thanks

The web has all the answers you need, search it. ;o)



Valerie - 03.05.11 8:56 pm

Ok, i read everything and still am not sure.
I am trying to get some webcams running at a vacation home. The dynamic IP thing has been a major pain for the past year, and I am giving up wanting to go to static IPs. My ISP has sent me all the info for the new static IPs, but I am confused that the internet connection is still working without me re-programing my modem (implying to me that the modem connection is still dynamic). After I configure the webcams with the new static addresses that i am paying the extra money for, two weeks from now (when the dynamic IP address changes) will I still be able to reach my webcams remotely?

A dyndns.org address is usually sufficient for webcams; did you try that? Anyway, you already paid, so stop worrying. Getting an IP address is part of your modem's handshake process; the only difference now is that each time you reconnect, you get the same IP address.

You can test this, from inside or outside the property, get the external IP address and then reconnect the internet (DSL, or whatever) and check the IP Address again. Do it a few times if it eases your mind; the IP should not change. If it does, contact your ISP, demand a refund, and then setup a dyndns.org address, for free. Or get them to fix that, be happy with the unchanging, though costly, IP and get back to life. ;o)



Abhiram Kumar - 10.05.11 1:52 pm

I Use Tata photon plus.
So How can I give static Ip in my local Computer.
PLZ Help me.

You don't have a "local" computer; it's connected directly to the internet via broadband dongle. Your computer does already have a local IP(s) though; I suspect it's not used.

However, if you attach your computer directly to a network switch, and then attach other network-enabled devices to that switch (or two devices connected by crossover cable, or two or more devices connected via WiFi AP, etc., etc.), you will have created a "Local Area Network", aka. "LAN", where a "Local IP" is now relevant. The other devices could ping your computer's "Local IP" locally, from anywhere inside the LAN. That's how it works.

If what you actually want is a static IP for your entire internet connexion, you will need to speak to Tata photon Customer Care. They will do it for a monthly fee. Or else use dyndns.org, as explained above. ;o)



david - 12.05.11 4:33 pm

Need a bit of help.
Everything was good, had power outage, oh well

Running cameras from their own hard drive (self contained unit) with built in network ability. Must use static IP. Of course mine always changes.

I use dyn dns, a cable modem and a linksys router. All settings were set up in the linksys.

What IP should I tell the camera box to use (that is, what IP is always on the linksys-or what should I make it), it asks for a gateway, and and ip.

Had a guy set it up 2 years ago, all was well, but alas.
I will be happy to pay for info rather than call the computer geek to come out to the country to do what took 10 minutes last time.

Just treat it like a computer, and follow the advice above (static local IP address, gateway address, etc.) Check your own PC to find out the range to use (e.g. 192.168.0.something). That's the settings on the WebCam device itself.

I assume the Linksys also had a Port Forwarding rule setup to route the webcam traffic to the local IP of the webcam. Check your router's instructions (the web) for how to do this.

;o)



Atiqullah afghan - 13.05.11 9:45 am

i bought a block size of 8 public ip address and i didnot know how to configure it on my diffrent branches that they can be able to communicate with one another from a very far disance is there any one how give me some information about this problem.

Google: VPN ;o)



Clive - 10.06.11 8:22 am

Hi, I have set up an internet radio station using NCH broadwave software which is a free download using port 88 to stream audio files. everything is set up and working and the software gives you the url to paste onto a site to make the connection which starts with the IP, 168.192 etc and then the broadwave bit. The problem is every day my IP provider AOL changes the IP and this makes the URL link change and the stream stops working. I have contacted AOL who do not provide a static IP. I am a real computer novice but understand the principle of the problem. Will carrying out what you explain about creating a static IP in windows solve my problem? Help! Clive in the UK

Assuming you are accessing this audio stream from the local network (192.168.etc.) then your internet connexion's IP address changing should make no difference at all. Only if you are accessing the stream from "outside" your own network would the dynamic IP address matter, and it certainly would not be 192.168.anything. ;o)



umer shafiq - 14.06.11 4:49 am

i want ip address for my pc

You got it! ;o)



blacktoe - 15.06.11 5:04 pm

Hi thanks for a fantastic site. I'm not sure whether I missed something, or whether you didn't actually cover this question. I want to work from home occasionally and access the things that I can access at work (by virtue of IP address recognition) from home. Trouble is, it's a fairly small company with virtually no onsite technical people and even more reluctant management. Is is possible to configure my home computer to 'project' my work IP address, so that I can access sites to which my work subscribes? I'm running Windows 7. I hope my question makes sense. Best wishes. Blacktoe.

Look into VPN ;o)



k2woo - 18.06.11 4:20 am

Hi. My problem is that I am trying to subscribe to a data vendor, but they require from me an IP address to link to my computer. My problem is that my ISP only provides dynamic IPs.

I've done a little research and thought dynDNS with their IP updater would be a good solution. The problem with that is that the data vendor can't use a URL, only an IP. However, don't all URLs have an associated IP address? ie Microsoft.com can be reached by typing it's IP 207.46.230.229. Therefore, can't I ping the hostname I set up with dynDNS to access my computer, and give them that IP? Then data should be forwarded to my IP via their IP updater?

Thanks for your help, and kudos to this site...must say it is quite cool how you replace techie jargon all over!


thanks, Keith

The BEST thing to do is demand they accept a proper domain "name". Then use your dyndns.org address. Then eventually, like IP Cameras, all devices/organisations/etc., will use them, and they will become the norm.

In the meantime, you can simply tell them your WAN (external) IP address. You can get that from a number of places; see the useful links section. But remember, if you have a dynamic internet connexion, you will need to tell them the new IP address if you reconnect your internet.

If only you had a dyndns.org address you could give them...

;o)



dha - 04.07.11 7:11 am

Hi,

I have a tcp packet transfre problem . i have a realtek router.when i tried to ping two computers one is connected to LAN and other to WAN pinging is happening.But not able to transfer data.server is sending LAST_ACK.How can i solve this problem?

Please help me to solve


It sounds like a bug in your software. Or perhaps your router is incorrectly configured. It's outside the bounds of this article, however. ;o)



ark - 04.07.11 11:09 am

i finish set upping my ip add. when i try to ping it it dint connect requesting time out.how will i resolve itsmiley for :roll:

With troubleshooting. ;o)



Ron - 11.07.11 4:15 pm

First, my congrats on a really good explanation of IP addressing, best I've seen on the web.

Here is my question. I recently purchased a Samsung security system consisting of 4 cameras and a dedicated DVR. Their instructions indicate in a dynamic IP environment I can use their web site along with the first six digits of my MAC address to access my DVR from anywhere. From what I can gather my DVR is supposed to communicate with their web site every 10 minutes or so to update its address. Well, that doesn't work. My question: Is this a viable scenario and, if so, are their other web sites that I might be able to use for this purpose? (Their tech told me I needed to get my ISP to provide a static IP address for which ATT charges $15 per month.)

So long as you can get packets to and from the device/PC running the DVR, then you can "access" it. The usual rules apply.. Port-forwarding rules in place, firewalls configured, DNS working, etc.. Test locally first, then do the port-forwarding, then test remotely. "Think like a packet of data..."

I'm curious, how do you access the DVR? Via a web browser or similar software? Does it accept proper addresses with names? I'm guessing yes. If so, then all you need is a dyndns.org address, as describes in the FAQ, above. My own IP camera even does its own DDNS login (dyndns.org and more), and I'll bet your kit is way more expensive than mine.

Finally, I would have little faith in any security system whose basic functionality relied on some remote web site being available. You can likely work directly with the unit, but without more information about your setup, I dunno.

;o)



nani - 18.07.11 1:16 pm

Hi i got a mail with very abusive language. I want to track that mail from where it comes from. I used to track from the websites but unable to track. Finally it show IP address is private so we are unable to track. Can you please help me in tracking. It will really helps me alot.. I am sending a IP address 10.229.*.*. This is an IP address...


May god bless u.....

This page does seem to attract of unrelated questions, and nutters...

nani, that mail seems to have been sent from somewhere inside your own network. If you are at home, perhaps it was from a sibling or spouse's computer. If you are at work, consider a work-mate, particularly one who seems overly friendly.

Have you pissed-off anyone lately? It's probably them. Try replying.

NOTE: I have edited out the details of the IP address, though as it's inside your own network somewhere, it probably wouldn't have mattered too much, no one outside your network can reach that computer at that IP.

Hopefully this will narrow down your search! smiley for :lol:

;o)

ps. Anyone reading my fine article (above the comments section) would have known what a "private" IP address was, and could have saved themselves the public embarrassment! Do you see a Karmic pattern evolving?



Miss Lippy - 23.07.11 3:55 pm

I run a small business with 4 computers, comprised of 3 workstations. I rely on a small office network, with a central computer acting as a drive, dedicated to central data storage & retrieval. Works alright. However, I need to be able to see the specific ip address (identify the computer) (identify the the employee who sits at that computer!) who accessed/worked/created/save the doc or image.

Is there as way to do this?

I'll assume you are using Windows. Google: ShareWatcher or NetShareMonitor. ;o)



Boomquisha - 24.07.11 9:10 pm

Just writing to say awesome website. Also, I got a kick from reading your responses to people's questions, lol.


ROED - 02.08.11 5:55 am

OHH. THANK YOU FOR THE INFO...SEEMS IT SO CLEAR TO UNDERSTAND ...IT HELPS A LOT FOR ME...KEEP IT UP..TY.


vinod - 10.08.11 3:26 pm

it's very good article !!!!!
i was very confuse about public ip & hosting before read the article

Thanks



johnborley@talktalk.net - 11.08.11 5:55 pm

Hi would it be possible to rent a static i p address thank you mr j borley

Probably, Yes. It depends on your ISP; most offer this, for a fee. ;o)



bob - 28.08.11 3:36 pm

Thank you.




sibgha - 07.09.11 5:48 pm

is my external ip, dat comes from mmm whatismyip.com, public???
i mean if i send a data from anywhere anywhere on the internet to my this external ip,,, wud it reach me???
actually i m using a DSL modem from PTCL,, is my external ip public????

If you have a server running and the data is of the same protocol on the same port, and your gateway (router) is configured to allow the communication, then yes. And Yes, as explained in the main article, your external IP is public; every web server you visit, for example, knows it. ;o)



Kico - 14.09.11 1:26 am

I got a problem how do it put dns server dunno how to put that in :S??


hamo - 18.09.11 11:07 am

Hi, Can I get static public IP

Probably, Yes. It depends on your ISP; most offer this, for a fee. ;o)



madalu - 19.09.11 3:16 pm

i have camera's in my house,how can i connect the to the internet so that i am able to see what is going on after i have travelled

Setup port-forwarding on your gateway (internet router) to allow the incoming connexion requests, and have your camera setup to accept them. ;o)



lamberto - 22.09.11 7:57 pm

Estoy contratando una IP fija con mi ISP (compañia de cable)pero para darmela pretenden una mac address de mi PC ....
Estan locos o es cierto ??
La quiero para ver mi camaras de seguridad desde el exterior
ademas si contrato una ip fija mis amigos se pueden conectar a un router wifi sin proporcionar cada vez su mac address ?

gracias

I do not understand this language. I do tech work in English. ;o)



A.Jesin - 01.10.11 8:19 am

I've seen certain IP addresses with a subnet mask of 255.255.255.255 how do such IP addresses communicate with others ?
My modem is being assigned such an IP address but how does it communicate with the ISP gateway ?

The subnet mask has no effect on the device's ability to communicate with other devices. ;o)



ch-abc - 01.10.11 2:01 pm

Very nicely written, at a basic level.
Was good for me, who supposedly knows a lot in this subject matter.smiley for :D


Jake - 03.10.11 11:25 am

Under what circumstances would you assign a static IP to a NIC in a peer-topeer workgroup network?

Under what circumstances would you not? ;o)



PeteTheMeat - 15.10.11 2:54 pm

Aaahaa, now i understand, lol
Brilliantly explained


ramesh - 15.10.11 6:16 pm

I would like to use my local database server from my home where in my office using adsl internet and i am using cdma modem to browse the net. where my server configuration is here :
type : dell 2000
o/s : red hat linux
network : local lan (star topology)
internet : adsl 392kbps with dlink router
database : oracle 10g
front : web base java using from brouser with following link http://192.168.0.100:9001/

therefore how can I use above link from my home ?

plz suggest/guide.
ramesh

The gateway device (the adsl router) at work will need to be configured to allow incoming connexions, and its firewall configured with a port-forwarding rule to route the traffic to the server at 192.168.0.100.

It may already be; try from home switching the IP address/domain name for your work's external IP, e.g. http://mycompany.com:9001

;o)



solomon - 16.10.11 9:33 pm

When I run netstat I can see an IP on the foreign address column called static-some number.
Can I use it as my static IP. I use a 3g Modem to connect to the internet. Can I fix a dynamic IP form myself.???

<reams of Netstat output snipped>

No, and No. ;o)



zerrr000 - 19.10.11 4:44 pm

I have a different problem and here it goes:
There is a verry good P2P torrent site called Zamunda.net.The problem is that it can be only opened from Bulgaria(it's native country),or by using a VPN client program.I've used almoast every last one of em' but none worked,until i found FVPN a Bulgarian VPN clien,witch routs me through a bulgarian IP so i can open Zamunda.problem is the damn thing only gives you 10 minutes of free usage,else i have to pay 15 euro witch i don't feel like paying for a piece of sh!t 600kb program.is there a way i can route my self through a bulgarian IP address?And can you tell me how to do it.My work demands me to travel all over the world and in some contries i can enjoy downloading what i want from zamunda or playing a good MMO eather.Right now i'm in Dubai.
P.S.Btw there are also some online games like cabal that need you to be in an europian country to play like Cabal or in US like 2Moons for instance.Cabal worked when i used FVPN.maybe if you find a way to route me through a US IP i'll be able to play 2 moons as well.Any way i need a free solution so please share one if you know any!

Google: Proxy Server. ;o)



prem kumar singh - 28.10.11 8:18 pm

MY USER ID IS 378655347620 I AM REQUEST FOR STATIC IP ADDRESS DT.04/10/2011 BUT TILL DATED RELIANCE DID NOT ALOT US STATIC IP ADDRESS

I think you meant to post that at your ISP's forum. ;o)



palojos - 06.11.11 11:41 am

waow, that's the article i was looking for. Very simply although very detailed and useful.
I have registred a domain name and paid for it, but I will check on namecheap.com to use the redirection of my private IP address.
Thanks for your effort. May the Force be with you.
Paul L.J.


Tyran - 10.11.11 2:07 pm

Hello sir,i have read all guide you post on this site, and just want to say thank you for doing this guide.

i have my own private game server,and i am running via hamachi client,my problem sir,if i dont use hamachi client ,outside ,friends,players or other are cannot connect to my game.last time i did applied to get my own static ip address and i got it.i tried to port forward and seems its really hard for me to work on it without hamachi client.

i really like to remove the hamachi thing,so i can run my game as non hamachi.

will able to give me a little guide sir?what is best i should do.

thank you in advance and more power!

I have no experience with Hamachi, but this might help you. ;o)



olajay - 16.11.11 11:33 pm

please i need help from you anyone here to help me out how to block hackers on my internet

It's your internet it is? Some might disagree. ;o)



ANTHONY - 20.11.11 6:36 pm

help me to teach othhers

No problem. Start at the top of the page. ;o)



Mofox - 04.12.11 8:44 pm

I need to learn more about this subject.

See my previous comment. ;o)



Diwakar - 07.12.11 2:45 pm

I will expalin the setup her :

taken a STATIC IP from Airtel, From AIRTEL router connected to a DLINK Switch from there it is connected SERVER Network card. There are other two nodes on the LAN, which are connected to the SWITCH.

Now PORT forwarding has been done for SQL (1433) and it works fine, there are OTHER TWO incoming trafic from a remote distant locations. Which are working fine.

The real problem here is at times suddenly the whole network LOCAL and also REMOTE systems slows down. I mean to say the applicatione we are running goes into a very very slow mode which is not at all aggreable. Oterwise when the system is good, the remote locations does not really find the differance of accessing the SERVER DATA at remote location.

Is there anything I am missing out here in settings ???, if so what it is.

IS THIS Infromation sufficint enough for answering my above question ?. If not pls send me mail so that i can provide all information you need.

Thanks in advance.

This sounds more like a problem with the machine running the server. You need to do some troubleshooting, log reading, etc., to locate the source of the trouble. ;o)



Chris B Fry - 09.12.11 10:58 am

I am very impressed with your communication level on techinial issues that you make very understandable for most anyone. It is interesting just to read even if it doesn't apply to me. ? If an office changes from a static IP router to a Dynamic (which has an IR router connected to it), why would the workstations lose their connectivity to the internet, ect? Would it be that each work station has there gateway set to the old Static IP? If so, then if each workstation was setup for Auto DNS, wouldn't that then theoretically complete the passage?

It's usually best to leave workstations (in fact, all network clients) set to automatically get their IP via DHCP and use your router/gateway to dole out the actual local IP addresses. Most routers can assign static IP addresses to clients that need them (to run servers, etc.). Same story for any DNS malarkeys.

In other words, the factory defaults should work great! (the idea behind this being that individuals shouldn't have to be messing with DNS, the admin controlling the network/router configuration takes care of it at the router/gateway)

;o)



lucky1791 - 11.12.11 5:30 am

Thanks a lot for sharing great ideas.

Can you please help me setting up my New Windows server 2008 R2 which I want to access from outsid e via Internet. Please tell me what all I need to setup and configuration of routers

Please help me

You need to setup "Port Forwarding" - check your router's documentation. ;o)



SkullMate - 14.12.11 6:16 pm

When i enter my standard gateway code it says that the gateway different connections. I didnt see something like that above!

Probably English isn't your first language. I wish I could help, but your post makes NO SENSE! ;o)



cane - 16.12.11 1:31 am

What is DUC?

Try hovering your mouse pointer over (the first instance of) any unusual technical words. ;o)



Surojit - 16.12.11 9:40 pm

hi-your article is really good .

I have wishnet internet connection

I have no router , they only give a normal ware which connect with my 1 computer =

ip-10.10.243.179
sun-255255255192
get-10.10.243.129

dns-172.16.0.1
a.dns-202.54.1.63

and i make proxy to other my 7 computer with -
192.168.1.5 - 192.168.1.11
255.255.255.0
192.168.1.254

---------------------------
now - when i search on google that what is my ip ,it's shows 113.21.*.* , as your article 113.21.*.* is static ip i think ....
-------------------------
i am make a 3D pc game like counter_strike1.6 and it's played in lan successfully .
-------------------------
please you say how others player who are not in my lan or others internet users can connect my game -- the dedicated server located on 192.168.1.3 pc

i don't want to use any virtual lan like hamanchi.because i make my own code ..

thanks in advance :-)


You need to setup "Port Forwarding" (to the machine at 192.168.1.3) - check your router's documentation. Also, a dyndns domain would probably be handy. ;o)



Surojit - 16.12.11 10:33 pm

I understand i need to port forr..

but i don't know how to do this ..

please give a details so that i can do .

thanks .

Apologies, I didn't notice that you don't have a router. It sounds more like a firewall issue. (A quick test with your firewall completely disabled would confirm this) Ensure your firewall is allowing incoming connections on the correct ports for your game from the ISP-assigned network. Check your firewall's documentation on how to do this.

Use the port probe to test your incoming connexions.

;o)



LOST - ***

I have a new IMAC for my medical office. It is connected with FIOS through a router with a static IP address. I also have an IMAC at home, and 2 other laptops (3) that I need to access my office computer. I have the IP address, but I cannot get the right answer to my questions....everyone has something else to say. I need to be able to access that IMAC located at work, like I share screen with other laptops on my network at same time. I want to actually use that machine while I am at other locations, outside the office. It is essentially a server, and I will have parallells program on it, so I can us windows for some medical applications only available on a Windows PC. I thought I could do this, but because it is with a FIOS router, I am getting different answers...Anyone know if this can be done, and how? I have tried remote desktop, to no avail...
thanks

Anyone with that many Macs can surely afford a decent local technician! smiley for :lol: At any rate, it is doable, so long as you port-forward the correct ports on the FiOS. There's a document telling you how do do that here.

I don't know much about Parallels, but this document appears to suggest that you will need to also setup a port-forward to the virtual machine. That's two now. Have fun! ;o)



andrew - 25.12.11 5:51 am

Very sorry, I still dont understand above info. I try to follow but still not working
I not going to use it as server but using as ip camera.

Currently my wireless modem is 192.168.1.1
my ip camera is 192.168.1.103
at my wireless modem, i had set my port foward is 5555
My wireless modem tempory gave me ip address 117.25.*.*
so if i want to view my ip camera by laptop or iphone
at anywhere i go, i just click in 117.25.130.157:5555

BUT the problem is that, when some one off the wireless modem, my ip address is re-create. How to fix my wirless modem IP?

Thank you

Server, IP Camera.. it's the exact same principle for both.. Packets of data come in the external IP address and we forward them to a device at some local IP address. If we want to be able to find our server from "outside" (or to find our own IP Camera from afar) we need to know its address, that is your EXTERNAL IP address (the one you will see from outside). If your external IP changes, you need to "fix it" with a NAME, i.e. a free domain name from dyndns.org. Go get one now.

Then you can forget about your external IP address, stop looking at it, it will always be cool-domain.ath.cx or whatever you choose (and your cam will be http://cool-domain.ath.cx:5555). To get the IP Camera to work "from outside", all you need to do is ensure that your port-forwarding rule is pointing to the correct INTERNAL IP Address, the IP address of your IP Camera..

To ensure the router is always sending the requests to the camera, set your IP Camera to a static local address (e.g. make it ALWAYS 192.168.1.103), preferably by setting up a "fixed lease" on your router, if possible. Most routers can do it, some simply have a "Make Static" button next to devices; click and you're done.

One last thing; running a DUC client on your desktop is lame. Fortunately, some cameras have built in DUCs so they can automatically keep your dyndns.org address current with any changes in your external IP address, many routers also have this capability (perhaps under "Dynamic DNS"), probably your does. Get to know the capabilities of your equipment; it can probably handle all this for you, and once properly setup, you can forget all about it.

;o)

p.s.. "My wireless modem tempory gave me ip address 117.25.*.*"

NO IT DID NOT! Your ISP gave that IP address to your modem!



Vanatix - 06.02.12 8:45 pm

Well i want to go on and play a Runescape private server and every time i try and run it it lags and says error connecting to server. can you please tell me how i can fix this and if it's a problem with my router or something? Thanks if you could help me. THe private server name is Deviouspk.

See here. ;o)



Christian S - 17.02.12 8:53 pm

I want to access at an unattended location a temperature monitor (mfg. is temperaturealert) that communicates wirelessly through a router to a broadband modem, from anywhere I have internet access via a pc. The vendor tells me at that location I must have a public ip address to be able do this, or use their proprietary 'cloud' service. I have read your posts and believe setting up the router to assign a static address within the network would be sufficient.
Questions: is that sufficient and reliable, or must I use dyndns or similar,and finally will assigning a static address cause problems for other devices that will need at some time to acces the internet at that location...
Best regards, and compliments on a great ifo site!
.../cws

Are you sure you read the main article? You seem confused about the difference between internal and external IP addresses. Please read the section entitled "What's the difference between a public and private IP Address?".

Yes, you will need dyndns (or similar - I recently discovered dyndns no longer offer a free service to new customers. Check out no-ip.com, instead) to make your external IP address "static" (in that it will always resolve to the exact same host name).

As for the temperature monitoring device, a local static IP is definitely preferable. Providing it's setup correctly (preferably by use of a "static lease" at your router, ensuring the assigned IP address doesn't overlap any dynamic IP (DHCP) blocks you have set), it should in no way interfere with anything.

You will also need to enable port-forwarding for the device. Again, do this at your router.

;o)



Raf - 20.02.12 12:31 pm

OK, so here is the deal: about 6 months ago I purchased a brand new laptop and connected it to my DLink router that has been working on our PC for about 3 years now. I also have 2 Playstations and 2 other laptops connected to the D Link (all of which are working fine and NEVER have any problems whatsoever). About 3 weeks ago, I turned my laptop on and tried going online, but much to my surprise, it couldnt connect. Its supposed to automatically connect, but this time it didnt. I figured I would manually connect it. I opened up the window that displays all the routers that the laptop is picking up and i saw my D Link so I try to connect. It attempts, then says "connected" and the after 3 seconds or so, it says "Limited Access". I thought it was a problem with the internet so I checked the other laptops in the house and the Playstation and they are all working fine. I figured it was my laptop so I shut it off and restarted it but it did not work. Next, I tried unplugging the router and waited for 2 minutes or so and plugged it back in. Yay! It worked! I solved the problem! I began surfing the internet for a couple hours when, BAM! It suddenly went out again. I figured I would unplug the router once again to see if it was just some kind of glitch and would work fine this time. I unplug it and repeat the process over again. after 2 hours, it goes out. Everything else in this house seems to be working just fine on the router with no problems whatsoever, except mine. I have not messed with any of the configurations because I have not idea where to even begin so I know it cant be with the configurations. My laptop is new with windows 7, I'm using xfinity as a provider.

Side note- I did a test and when I cant connect to the internet with my laptop it fails a "PING" test (no idea what that is), but when I unplug and plug up the router and the internet is fine on the laptop, it will pass the "PING" test.

I'm completely clueless about all this, I really hope you can help. If you have any questions, any at all that might help you diagnose the problem, please ask and I'll try to answer as quickly as possible, I really need this problem fixed. Its horrible having to reset the router every 2 to 4 hours.

Recap: New laptop with windows 7, all other laptops and PS3's work just fine even when MY laptop isnt, fails "PING" test when it cant connect to internet, passes "PING" test when it can connect to internet, unplugging the router and plugging it back in will give me internet for a few hours, when laptop cant connect it says "LIMITED ACCESS".

any ideas? Thanks for any help.

P.S. Like I have mentioned before, I'm a complete newb and dont really understand too much of the lingo, please break it down barney style for me. Thanks again.

Your issue has nothing to do this static ip addressing. It could be any number of things, maybe a conflicting IP address, maybe something else - I don't have enough info to tell. Try running the network troubleshooter. ;o)



11JRidding - 26.02.12 1:54 am

I can't seem to follow your instructions smiley for :blank:

Try reading more slowly, not skimming. ;o)



Elavarasu - 01.03.12 9:49 am

hi,
i have 16MBps Broadband connection and i apply static IP to ISP(bsnl), they told IP was alloted and the same was active.
How to check my Static IP.
Thanks in advncesmiley for :geek:

ISP bad not allow, do local okay works yeah, only inside is, unless paid for. ;o)



William james - 02.03.12 12:58 pm

It is a great way to explain.


tim - 15.03.12 10:31 am

Pain in the bum networking. I have a public ip address but cannot ping it from the web. It's ok on my internal network on my side of the router but not the other side. Router is Thomson TG585v7. All was ok until I replaced the computer recently. I have made the computer static (192.168.1.66) and set the router for VNC on that IP address but although I can use VNC on the public ip number from my local network, nothing works externally. It's simple but just eludes me at the moment. Any pointers would be appreciated..
Best Regards,
tim

Firstly, I assume you are trying to connect, from outside, to your external address (currently 217.207.*.*) and not your internal address (192.168.1.66). If not, that's your problem.

Secondly, I assume you don't mean an actual "ping", which most routers/firewalls will not allow on the external interface. If you are attempting an actual "ping", then that is your problem. If you really need to ping your external interface, you will need to enable ICMP connexions for that interface (which are on port 7).

Finally, I assume you have setup port-forwarding for whatever port your VNC server is using. If not, that is your problem.

;o)

ps. get a no-ip.com address.



tim - 15.03.12 11:14 am

Hi,

Firstly, I assume you are trying to connect, from outside, to your external address (currently 217.207.*.*) and not your internal address (192.168.1.66). If not, that's your problem.

The Computer and network in question is my home setup. I write this from my work location. Incidentally, we have 6 public ip addresses here and I have set them all for various tasks including the ability to sort out network problems while on holiday using VNC. All works 100%. I was trying to use my VNC connection from here to home. Something that I do quite often without any problems till the recent Computer change. The ip address always used to respond to a ping so I presume this has been allowed in the router setup.

Second dealt with in above..

Finally, I assume you have setup port-forwarding for whatever port your VNC server is using. If not, that is your problem.

The router setup allows (and has been set) to forward requests using typical VNC ports to the chosen computer name / ip address (192.168.1.66).
Stumped me so far. I have to remember to save the current router .ini file and reboot the router for any changes to take place.

Thanks for you help..
Regards,
Tim

If the only thing that has changed is your computer, it stands to reason that the problem is there, either in the firewall or VNC server setup. If you want to mail me the IP used for VNC, I could take a look for you (I'm having a quiet morning!)

By the way, if possible, setup your local static IP addresses from the router (with fixed DHCP leases), saves work and headaches later on.

;o)



tim - 15.03.12 11:50 am

Hi cor,
Thanks again, I like quiet mornings but they tend to end abruptly. The calm before the storm. I shut down the firewall and anything else I could find that might cause the problem. I have also used various sites to check the public ip address with no success. I would be better conversing with you from the home setup if only you get another quiet morning. I will try one or two more idea's including your suggestions and get back to you. I really don't want to spend too much time in front of computers at home unless it's 'relaxing'. I look after 30 + here at work and that's enough by the time I go home.
Thanks again for your help and advice, either way I will let you know the outcome.
I trust you and yours are well,
Regards,
Tim.


SUNNY KURUVILLA - 19.03.12 12:11 pm

smiley for :eek:


Len - 20.03.12 11:17 pm

I have an interesting question.
I have Charter for my ISP and all of their IPs they issue are on 2 Blacklist.
SORBS
Spamhaus

Charter told me in so many words that they do this because they consider "Residential" accounts as Entertainment and they recommend I upgrade to a Business account, and of course that could cost $100 or more a month.
So my question I have, is there anyway to obtain an IP address that is static and not on a Blacklist without having to upgrade to a business ISP or change ISP's?

I found this all out when I noticed a lot of my emails I send using Thunderbird where going into spam folders and my sites IPs are clean and no blacklist. But my ISP issued IP is blacklisted.
I did try and change IPs and after 25 different IPs with Charter they all were blacklisted.
So, What can a guy do?
Thanks

Use your web site's mail server, presumably hosted at a regular web host (sans blacklisting). Sending mails from a residential server is always problematic. ;o)



farhan - 28.03.12 5:28 pm

awesome

smiley for :roll:smiley for :geek:smiley for :geek:smiley for :eek:smiley for ;)smiley for :)smiley for :Dsmiley for :ken:smiley for :lol:smiley for :evil:smiley for :aargh:smiley for :ehh:smiley for :idea:smiley for :blank:smiley for :roll:




Stephen Alberten - 08.04.12 8:03 pm

Talking about getting a static IP for the whole internet, smiley for :), aka external IP, aka WAN IP.

Things like dyndns and no-ip.com only work if your provider gives you a public IP *and* they allow you to configure the public ip on one of your computers (or change the modem / router configuration to do NAT or forwarding).
Unfortunately, my provider does not allow that unless I upgrade to a business line.

I think you have been misinformed. ;o)


<ad snipped>


Tom - 28.04.12 11:57 pm

Hi Cor,

Thanks for the article, and its content is getting me closer to an answer but I don't think it applies to my question just yet (and the problem is I don't really know how to ask the right question - i.e. the right google keywords - to get the answers, so am left with the only option of writing to you, so please forgive..)

I would like to know a) if the following is possible, and b) What this is called so I can search for it...

I have an old PC tower under my desk, with Ubuntu on it (semi irrelevant coz I intend on putting various Linux distros on it). I have a keyboard or monitor for it, but I don't want them permanently (too much actual desktop real-estate when added to my further equipment below). It does have a plug-in USB wifi 'stick' - (antenna?)

On my desk I have a clunky laptop running Windows 7 (writing to you on it now), internal wifi. This is my 'main' computer.

I would like to use my main computer to connect to my old computer _without_ using a router (don't have one). I'm foggily gathering the notion that to do this, I need to set-up the 'old' computer as a "bridge", which I'm guessing involves static IPs to some degree (how I got here), but I _don't_ want to connect to the Internet. I want this as direct and private as possible... is that possible? Can the PC tower 'broadcast' an IP address that my laptop can connect to?

Thanks for any help you can provide, and thanks for your time...

Kind regards,

Tom

The best, most private way to connect your two computers is via a CAT-5 (even a "crossover") cable. You simply plug it into the CAT-5 ports (which each inevitably has) and put them into the same Windows/Samba (on Linux) network.

Failing that, using WiFi, you need to get a WiFi router. You can pick up an old V1.0 BT Home hub for 50p these days, and transforming it into a LAN-only WiFi router is a piece of cake (v1.5 has better WiFi, and can be had just as cheap). Most of the (FREE) broadband routers kicking around second hand shops, car-boot sales and skips can be transformed into a local Wi-Fi "Hot-Spot" with minimal effort. Some not - Google that.

Technically, you can connect two machines directly, but these sorrts of ad-hoc networks lack the security features required to keep things "private". Get a broadband router and WPA-2.

Then you setup a permanent lease for your Linux box, when it comes "online" (locally). it gets its same IP address and Network "name", other local computers can share with it easily, but nothing outside your LAN. Inside your Samba shares config [section] you can do..

hosts deny = 0.0.0.0/0
hosts allow = 192.168.0.


..to ensure only clients from the LAN have access to the shared resources. With a current samba setup, decent block lines (above), and WPA-2, you can share root resources locally, securely over WiFi.

;o)



Tom - 29.04.12 1:02 am

Thank you Cor!

I'm hoping you have moderator privileges to delete this after you've read it - no point taking up extra space, just wanted to thank you for your answer smiley for :)

Tom

btw, I came to the conclusions also: ad hoc for the time being, but eventually gonna buy a crossover cable I think... trying to avoid as much extra hw as possible (you should SEE the mess of equipment on/under my desk! sheesh!)

If you connecting machines with CAT-5, consider getting a network switch. A crossover can be unreliable when machines go on and offline. A switch takes all the hassle out of connecting computers via cables, and can be tiny in physical size, and you can use any old CAT-5 cable. eBay will get you for the price of a cup of coffee.

;o)



chris - 02.06.12 5:30 am

I have learned a lot in the last week enough to be dangerous but not quite enough to fix the "impossible" as I was told. I have a situation that probably needs a pro like yourself to come out and whip it into shape....... I recently installed a car wash in a little town called Giddings, Tx. and set them up using credit cards. A long story short is I am using a router to run multiple pieces of equipment. One piece of equipment was port forwarded to 2500 and works great, this is a data access network that stays constantly online to accept credit cards. This is a windows computer. This computer relays 6 bays all using cat 5 cables each one used for credit card swipes. All pieces of equipment including bill changers are connected and have an internal ip address that identifies each piece of equipment and names them for monitoring purposes. All this is done with one External IP address. There is one computer (program unknown) that is being left out of the fun. This odd ball piece of equipment is the automatic's computer that is plugged into the router and can go online or at least email fault codes, it also has its own special little internal ip address but its capabilities are limited and this is where the problem lies...... I would like to use a real vnc viewer to monitor and program this computer remotely. This device was port forwarded to 5900. My vnc viewer works with other sites but not this one. The factory that built the automatic car wash says that this computer has to have its own external ip address to achieve this vnc viewer thing but i believe that they are just lazy and do not want to work around the multitude of other devices on this external ip. I guess the real question is can something like this work while another device is on the internet? To me it seems possible because it would be like two home computers working at the same time. Its the incoming request or handshake of the real vnc viewer that is in question mostly. Any suggestions? If a pro like you available then how do I find one locally?


This device was port forwarded to 5900.

On what device is the "odd-ball" device port-forwarded? That's most likely where the trouble lies. Or else your VNC server is incorrectly setup.

Between the local devices and the internet connexion is some device doing NAT or similar. Is it the "odd-ball" device doing that? Or more likely, the "router" (whatever it is, you didn't say). Wherever the firewall is anyway, that is where the port-forwarding errors need to be addressed. Sadly, you didn't say what errors you are getting.

So long as some other device isn't set to use port 5900, and the router is correctly forwarding port 5900 to the odd-ball device, and the odd-ball device has VNC server running and listening on that same port, it should work fine. You can test port-forwarding here. VNC works great (though as usual, quite slowly) over NAT.

Your verdict of Lazy sounds about right - there are tens of thousands of ports available for traffic, you only have six bays, that leaves plenty room!

Lastly, I would not recommend VNC for Windows machines. RDC is not only superior, it's built-in!

;o)

ps. I also do remote work. Feel free to get in touch if you need more help.

pps. Try paragraphs!



Chris - 02.06.12 4:45 pm

Thanks for your advice. I also believe it to be a problem in the "odd ball" device or the Router. I am a rookie at this and went to real Vnc "how to port a router" and done this myself.

I do not use the VNC viewer for windows. I use Real Vnc viewer on a Belanger computer that uses a touch screen. Vnc was recommended by Belanger (the manufacture of the automatic wash).

The Vnc viewer was tested and works on a different machine. The router was port forwarded to only the one device at 5900 and another computer at 2500. The Belanger computer is limited on what I can program on it. It is kind of fill in the blank. It is my understanding that the vnc program is built into this odd ball.

Next time i am out there at the sight i will send you a line telling you so. If you can get me up and running I will pay you otherwise no harm no foul.

i like your snap. ttyl
chris




Jack handa - 11.06.12 6:40 pm

excellent very useful information


dee - 24.06.12 12:23 am

Hi Cor, when I read your article, I start to understand that I can get them by myself. In my case I use my Iphone and my laptop to view my Qsee cameras thr dynamic IP, it works well but I have to trace my IP all the time, sometime the IP change everyday. My problem is I don't understand much about the computer terms, and English is not my mother language. Qwest is my internet provider. the laptop use windows Vista. Would you please kindly to show me how to get static IP in easy way for person like me have no computer background. Thanks.smiley for :roll:


Monir Sidhom - 20.07.12 5:50 am

Thanks for the genuin ideas.


ALEX - 19.08.12 6:58 am

tHANKS FOR THE INFO! gREAT STUFF!


Bilal - 17.09.12 12:18 pm

Hello,

I have a virtual PBX server and would like to assign some of the extension to our remote agents. for this is need a Public IP. My ISP wont provide me one as i am on a residential package. And i cant change because there is a sometime left for the contract to finish. Could you please help me as to how i may do this? i have herd about Virtual IPs. would it work? and if not then any other way?? apart form getting the STATIC IP from my ISP.

Thank You

Can't you use a domain name from no-ip.com, or similar (see above)? ;o)



Nick - 26.09.12 12:34 am

Dyndns do still offer a free DNS redirection service. You just have to know how to access it!
Sign up for their Pro service with 14 day free trial. This will give you access to the full support and application function.
Do not pay for anything yet!
Set up your static address and get your system working.
Cancel the free trial before the 14 days are up.
You can only have one fixed forwarding address and you don't get any support but the system is still free and works!


Sabyasachi Paul - 26.09.12 3:19 am

thanks it will help me a lot


keith - 12.10.12 3:37 pm

hi do i need a dyndns account if i have a static i.p and is a static i.p free

No, and No, not usually. ;o)



Cam - 15.10.12 4:45 am

I had a little web server at home, configured with DynDNS. My provider (Xfinity smiley for :evil:) sent me a letter saying that they will block my connection if I continue to do this, as it is against the terms of their license agreement. I called and asked them what it would take to get a static IP block and they told me it would cost an extra $15 a month for one, or $25 for a /30 block. That's a little ridiculous, I think. I can, however, switch to a business connection and use my own static IPs for the same price I pay now. ARIN only provides blocks of /20 or higher, so I was wondering if there are any intermediaries that will sell access to a smaller block of provider-independent addresses.

I did plenty of Googling and found a service like that for RIPE addresses. I'm not sure that would work, or if it did, maybe it would mean tons of hops to route to my server.

I would just get a new ISP. ;o)



Andy - 01.11.12 5:00 pm

WOW!! Not only is your article thorough and explanatory, but your comments are even better! I laughed almost the entire time I read these questions and answers. Keep it up man!smiley for :lol:

You should check out my .htaccess pages, they are a scream! ;o)



Kladde - 21.11.12 8:30 am

I just found this post. And I have problems with my router. When trying to access my router over the internet it does not work. This I get:
The wireless router currently uses a private WAN IP address (192.168.x.x, 10,x,x,x, or 172.16.x.x). This router may be in the multiple-NAT environment and DDNS service cannot work in this environment.

I know this worked before. Can it be that my router is first connected to a IP phone box? And not straight to the WAN?

So where do I change to a public IP? Sorry you may got this questions before, but I am a beginner and have tired to make it work for over 5 days without success.

You cannot change the public IP (see above). ;o)



nold17 - 22.11.12 7:04 pm

tnx for that article sir/mam..


andrew prasad - 24.11.12 4:18 pm

i am getting the internet from a usb wifi dongle can i still follow this how to i am on osx

thankyou
andrewsmiley for :ken:

Probably. Try it. ;o)



Brendon - 27.11.12 4:34 pm

I just have a preliminary question before I can start this process. I rent (university student) and the landlord JUST started letting us have access to the main wifi network instead of a crappy guest account. What I need to know is if this will &^%$ with the router and screw it all up. I just want to setup a static ip so I can seed torrents and not get in trouble by leeching all the time. Can you tell me if this will screw up the router/network or if its just for my laptop that this will be in effect for. There are 4 other people with computers so I need to make sure this will only affect me. Thanks a lot

If you do it correctly (create a range for dynamic addresses away from your static addresses) then it will work fine. Otherwise, it will mess up everything, and you roomies will want blood. Before you start, make a backup of your router settings. ;o)



robenkk - 29.12.12 6:52 pm

Greetings!

Firstly, thank you ever so much for the effort in putting together this wonderful tutorial. I had followed many versions of the same advice about port forwarding and creating a static IP, and whilst they are straight forward enough to do, my external IP kept changing, as I have now learnt is down to my ISP.

The main reason I was trying to set all that up was to run my own minecraft server, which would be impossible without a static external IP for people to connect to. Also, for whatever reason, port forwarding just would not work.

Once I signed up to no-ip.org, got my domain name and started running the DUC, suddenly the port was now open! Although I cannot even begin to decipher as to why. And if I have it right, I can use my domain name in place of my external IP, for other people to connect to my server, since the no-ip.org service will redirect the necessary traffic to my internal IP, bypassing the dynamic external IP, so long as people connect to my domain name. Is that correct?

I think I have also realised that I don't really need the DUC since my internal IP now doesn't change.

Thanks again. You're awesome! smiley for :D


Emma - 07.01.13 1:37 pm

Dear Corz,
I found your articles very informative. I have used your
info. on Statical IP's.I have also been reading your article on Voyager 205. I have Voyager 220.Spent ages trying to connect it after it dropped. Wish I had known about your site then.Keep up the good work.Many thanks.

Best Wishes For the New Year
Yours Sincerely,
Emmasmiley for :ken:


tech - 12.01.13 6:12 pm

here is my problem if your still there. i want to use open d.n.s for there web filter. however i c'ant register or add my ip address (external)for my network on there site so i can customize the internet filter. My public ip address i believe is sheared and it is dynamic although it rarley changes. since its not my personal address how can i use it to represent my network out side of using s domain name


As far as I know, you don't even need an account, simply use their DNS servers instead of your own..

http://use.opendns.com/

;o)



Mary - 22.01.13 1:24 pm

I don't know why your screen showed on this computer this morning but I really like the way you explain this in simple terms. I've been dabbling in this for a few years. I am a 59 year old female and not computer savy. At one time, however, back in the windows xp days I was able to download a terminal server hack and get my server computer info from my laptop anywhere I was. I was pretty proud of that. Now I have vista home (64) bit and I have not been able to do that. In addition I "upgraded" my router at comcast's request to a "fancy" one with 10.0.1 addresses. I have to configure the router through the comcast website or whatever. Anyhow, I have only one computer with a static ip but I still cannot remote connect from my laptop so I have given up. It would be great fun if I had more time to work on this. But, alas, I must make a living instead! smiley for :lol:

I know that feeling!

Configure the router from their web site?!? That sounds dubious! Are you sure you can't just login at 10.0.0.1, or wherever it's at? (Angry IP Scanner is your friend!).

And if you really do need to configure your router from their web site, screw that, mail them and demand they immediately forward port 3389 to your desktop machine!

;o)

ps. are you SURE your router can't be got to at http://10.0.0.1 ???



Oz - 29.01.13 5:43 am

In simple steps, could you explain me and probably the two other netflix users out there, how to appear from a french canadian ISP so we can get films, subtitles and closed caption in French out of the Netflix server?

Thanks indeed

Simply, use a Proxy Server. Google/Wiki that. Then install a Firefox plug-in (aka. "Add-On") like Proxy Tool, and away you go.

Of course you will want to select a proxy that resides in the same country that you want to appear to be from. The more obscure the better, less likely to be recognised as a proxy.

;o)



Vincent - 09.02.13 3:30 pm

Hi thanks for a very very useful site. Except for one thing. I live in a country which does NOT have wire connections in many areas (ie Cable ADSL etc) so we use a wireless USB modem which connects first to the ISP provider and of course its all dynamic IP's. Is it possible to set up a static IP WITHOUT the ISP admin doing it through the USB WIRELESS MODEM ie HUAWEI. Apparently www.mystaticipaddress.com seem to claim that it is possible but I have not seen this anywhere else. Apparently they use an encrypted program that the USB device cannot "see" Thanks for your help.smiley for :lol:

I have no idea about your setup, but if you are assigned your IP directly from your ISP, the answer is probably no, you need to pay for these things. Unless you need an actual dotted octal IP address, just use no-ip.com or similar and get a static domain name, instead. ;o)



Apathea - 19.02.13 5:50 am

someone has been threatening me that he have detected my Ip address and location when i tried to log in a social networking account. and he also said that it was also detected when i purchased something in an online shop using my credit card. Is it possible that my IP address be detected even when I am using a mobile broadband stick when connecting in the internet?how can i hide my IP?

Just like it was "detected" when you posted here (currently 64.104.*.*), even visited the page. This is perfectly normal and nothing to be alarmed about, unless you have some reason to hide your identity.

You may well have such a reason. If so, there are levels of hiding, starting with using a proxy for your web traffic, all the way up to Tor, multiple/VPN tunnels and such.

I wouldn't imagine that another user on a social networking site would have access to your IP data, but then, those things are riddled with security vulnerabilities so I wouldn't discount it, either. I don't know if you can do Facebook from inside Tor, I imagine Tor exit nodes get blacklisted quickly.

There's no pressing need to hide you IP online unless you are doing something illegal, or doing something within the realm of an illegal government, which is, sadly, most of them.

And remember, even with your actual IP address, they don't know your precise physical location, they would need to ask your ISP (via a court order) to supply that data. They could probably get the country correct, but after that, without seriously advanced tools it's mostly uncertainty.

;o)



gifty - 27.02.13 2:30 pm

HI there i am here for someone to give me ip


Antonio - 23.03.13 9:44 pm

Very comprehensive. Thanks a lot. I will remember your site.


Bendy - 24.03.13 11:13 pm

This is an extremely informative page.

I fear this may be a silly question but here goes: is it possible to map multiple internal nodes in your network (assuming you only have 1 IP-address to the outside world) to domain-names using a service like no-ip.com?

Please indicate in your response if you'd prefer me to purchase a consult (rather than simply delete smiley for :erm: ), I'm aware that you provide consultation on technical problems such as this one.

Thanks in advance!

Yes and No. Yes, you can get the effect you want, but probably not in the way you imagine..

You need to do two things. 1. "map" all domain names to your external IP address (with your router/DUC/etc.) and then 2. forward whatever ports a particular domain name will need to that particular machine.

If more than one domain needs the same port (e.g. port 80, for web traffic), you should host those domains on the same physical box. Then it is trivial to use Apache's virtual host capabilities to route each domain's traffic to the correct content.

If that isn't possible, setup Apache on one machine and use it's Proxying capabilities to route web traffic to the other machines.

Donations welcome!

;o)



ray - 19.04.13 2:10 am

great stuff very helpful


Souleymane - 25.04.13 11:20 am

Thanks for the article! I was wondering if a static IP will allow me to access my Netflix account from overseas (currently forbidden)

Google: Proxy

;o)



a.shiribwa@yahoo.com - 13.05.13 7:27 pm

Halo there? First and foremost thank you very much for enlightening me on how to get a static IP.
I have been experiencing a problem of not being able to share my internet to my other laptops. I have connected my LAN and it works perfectly. I am using windows vista, When i tried your static IP address, after a few seconds there was no internet access. I went back and choose "choose ip address automatically"then the network access came back.
Recently i upgraded to windows 8 then installed connectify hotspot. It never worked yet on my previous version of Vista it worked perfectly. I formated back the comp to original factory settings then I have tried connectify.me hotspot but still it cannot share internet.
I have tried to manually create an adhoc but it tells me waiting for other users to connect. Once i try use the other laptop to connect. It connects but without internet.

Help me please. Concerned user.

Arnold Ndanyi, from Nairobi, Kenya

A simple network switch saves a lot of headaches. If you want to setup a hotspot, the best way is with a dedicated wifi router, even the sort of thing you get free from your ISP would do the job (my "public" WiFi network runs off an old D-Link router I got for nothing).

If you can get hold of a router that can take OpenWRT/DD-WRT (free router firmware), even better. You could run a proper WiFi Hotspot, even have paying customers! ;o)



parallel - 19.06.13 4:27 pm

Thank God for someone who gets down to the ISSUE of why everyone is frustrated with technology. It's not rocket science, it's simply a matter of privacy and having it
explained in a cohesive and ethical manner. Bravo.


Saree Abu Haya - 27.06.13 5:16 pm

Thanks a lot for your help !
I am glad i found this site


Richards - 01.07.13 10:57 am

thanks for great info, i am having problems finding my ip address in cmd-ipconfig/all it shows 00 as physical id. i am using win 7 and wanted to connect tp-link 3020 router but getting nowhere fast as i do not seem to get the ip address etc. many thanks

The physical ID has nothing to do with the IP address (in this scenario), the one you want is "IPv4 Address".

Better use DHCP to begin with.

;o)



NILESH - 09.07.13 9:40 pm

Thanx for the great informationsmiley for :Dsmiley for :Dsmiley for :D


yogo - 12.07.13 9:20 pm

this is very explanatory and informative,thank you but pls how can i get free ip adress?smiley for :D


yogo - 12.07.13 10:01 pm

it keeps saying network address is invalid

Please read the notice above these comments! ;o)



AK - 22.07.13 7:19 pm

A fantastic service you are providing. I stumbled upon it when I was looking for static IP address. I have gotten to the part where I can go to the TCP/IP window and chose the IP and default addresses in the 'Use the Following Ip address' window. But I am stuck on the DNS server and Alternate server selection and I wonder what to use for the DNS and the Alternate DNS.

Also, I have checked the IP address by using IPconfig command and I have placed in the IP address box. I wonder if I have to use the last digit as 3 or use the same one that I obtained from the command prompt.

I will highly appreciate if you can support me in setting up an IP camera so i can port forward and be able to view the camera remotely. Although I have port forwarded by following directions from the web sites, but still dont know if I must use services of NO-IP etc. and pay to open an account for an address that I should use, as you can see form my writeup, i am not IT savy, but since I have bought this camera, I would like to remotely monitor.

Appreciate your kind assistance. Regards,

All the information you need is here (as well as IP-Cam specifics in the replies). If you want personal service, get in touch! ;o)



Mike Griffen - 14.09.13 12:08 am

This is a great site for a lot of things I never knew. But:
I found it looking for a simple way to help out a friend and while you can do it on your site, I can't help her that way. She has a Home Internet account and they will not sell her a static IP. I figured the easy way out would be a utility to check the current public ip against a stored variable (which would be the IP that worked before). If different, I could use Blat to send a short message with the new Dynamic IP. She uses it to monitor a home security system.
I usually think of the hardest way first smiley for :) but even if there is an easy way, I have tried all day to figure a way to write a short script to perform those tasks. I tried typing in corz.org/ip and sure enough, there it was.
So how can I do that from a command line and save to output so I can write a batch file or some5thing to do it for her. She has computers at the hose that are always on. Easy to setup a run every hour, if change detected, save new ip in the CheckVariable and send a copy to her with simple mailer program.

The simple answer is, forget the IP address, use ddns. In other words, get her to sign up to no-ip.com, grab a free dynamic host name, setup a ddns client (most routers can do it, or a DUC running on any computer at the home) and use the host name to connect home.

If setup correctly, the host name will always point to the correct address.

;o)



GGCHARY - 26.09.13 8:48 pm

i want to access my ip cam from remote browser .but i have router with usb dongle .but usb dongle don't have static ip .how can i get static ip .where can i get this one ......please help me


newreddragon - 17.10.13 12:47 pm

hi great site !!!! will try to connect my ip cameras again with all this usfull info .... thank you ..


lee - 22.02.14 9:27 pm

still smiley for :ehh:smiley for :ehh:cant get static ip for my dvr


Robert - 07.03.14 4:17 am

I'm running a security system (basic) and video survailence thru a DVR. My ISP insists I need to pay for a static IP is this true? Or can I use the set up described?


A static IP is not required. A no-ip.com address is fine. ;o)



John - 04.04.14 5:37 pm

Hi, great info! One more free handy ip scanning tool - www.advanced-ip-scanner.com. It allows to scan huge networks promptly and find all the devises and gather info about them: IP, Mac - addresses etc.


Chris - 14.06.14 11:17 am

Extraordinarily useful article. Huge number of links that will keep me exploring for a long time.
Much appreciated.


Albert - 18.06.14 10:09 am


Great I just learn t so much..smiley for ;)


Debabrata Deka - 26.06.14 3:44 pm

Hi,

I have a dynamic ip set up.
My ISP won't allow port forwarding with dynamic ips.
I tried all possible ways to configure port forwarding but without any success.
They say that only if I sign up for static ip they will support port forwarding.
Is there any way of bypassing that.

Thanks.

Port forwarding is not something your ISP has any control over. It's something you do at your router/gateway.

If you are saying they don't allow incoming connexions AT ALL, then I would switch ISP. Your Torrent speed must suck, for starters! ;o)



Debabrata Deka - 26.06.14 7:56 pm

Thanks for the reply.
Yes they won't allow any incoming connections at all with dynamic ips.
They say for that I have to opt for the static ip which is about $83 a year.


Switch ISPs! ;o)



KARTHIK - 03.10.14 4:25 pm

I have set up a internet radio from my house using NCH broadwave software. wherein i need to update my external ip everyday into my website for the other listeners. now i want to either have a static external ip or i want to use my domain as my ip. Which would you suggest? How do i make my external ip as static? Or how do i make my URL as my ip?


All the answers are in the article above! ;o)



Gerard Lally - 14.10.14 6:21 am

if assign one pc an ip address of 192.168.0.1 and another pc with ip address of 192.168.1.2 can ping each other? if answer is no pls say why?

It depends on your network. The short answer is no - devices need to be on the same subnet, in other words, the first three octets of the address need to be the same, e.g. 192.168.0.*something*.

But some network configurations will allow these devices to ping each other, if a route exists.

At any rate, this is outside the scope of this article - for more details, Google!

;o)



Michael Grissom - 02.12.14 3:20 am

EXCELLENT! This article leaves me compelled to find and read everything you've ever written about
anything I don't know. THANK YOU for all the time it took to explain all this in a very interesting
to read way. That's a gift. When I'm finished reading your entire site, I'll try to find a way, as
a retired cartoonist, to get even (give back). smiley for :)

Well that's your next few weeks spoken for! Thanks! ;o)



oligo simon - 05.12.14 12:00 am

i have a network of analogue cameras but i need to view the pictures remotely from any part of the world. what do i need to install to help me achieve this?

I don't know what you mean by Analogue cameras, nor what you do or do not currently have installed, so I can't answer that. But if you read the article (above), you will probably find what you need.

Note, with multiple cameras, you will need to give each its own unique port number.

;o)



GoodolJoe - 09.12.14 8:57 am

This was a real waste of time. If say you're going show where a real static ip can be purchased then you should do it but instead you use that ploy to bait and switch your readers just for clicks. You're an ass buddy. Bet you won't publish that!


smiley for :eek:

And I bet your shrink send his kids to the best schools! ;o)



Roman Groblicki - 14.12.14 2:36 am

Great site, might even send you some bitcoin or real money....

Ahhh.. If I had a buck for every time someone said they were going to send a buck... ;o)



e.g. - 17.12.14 6:02 am

I enjoyed the article. I liked the sarcasm. Well done tech dude!

F*ck you, man!    smiley for :ken:

;o)



Brian - 02.01.15 3:12 pm

I really appreciated this article. I'm trying to learn about developing multiplayer games and I was so confused about these concepts and no other article was able to explain it so easily and thoroughly. Really solid explanation of static public IP versus Dynamic DNS. Thank you so much, this article made my goal seem a lot less impossible.

"no other article was able to explain it so easily and thoroughly". That's the sort of thing that goes straight into my funky dynamic front-page quotations! ;o)



Dale - 18.01.15 12:27 am

I liked reading how you address each specific about the difference between "Internal Static IP" versus "External Static IP". I currently have NO-IP so my website will be available for public viewing. If I want to do a second website, I plan on using No-IP again. I am still new but you have a wealth of information for newbies and web-savey alike and hope you continue your information page. And, if no one else says it, THANKS!

Thank you. It's good when folk notice the pioneering work I do here!

If you are setting up websites, don't forget to check out the server part of the site.

;o)



Gerry - 31.01.15 6:38 am

MANY years ago, when things were quite different, I was assigned my own class C (255 address) range, which I have not used. I am wondering how might I use it now for giving my computers their own static IP addresses? Using my own, rather than renting from an ISP would allow me certain additional flexibility. And yes, I was on the predecessors of the internet: Arpanet & Bitnet.


This is outside the scope of the article, and not simple to answer. It depends on who assigned you that IP block, and how much of the leg-work they are willing to do on the BGP side of things. This isn't generally something for mere mortals, who would simply be given an IP (or range) from their ISP.

;o)



waleed bin arshad - 17.03.15 5:38 pm

Dear sir,
i have read your article about static ip but when i did that then it gives me errors. i want to give static ip to both my windows machine and my linux server which is installed on my windows machine. i gave these settings to my windows machice
ipv4 address 192.168.1.68
ipv4 subnet 255.255.255.0
ipv4 default gateway 192.168.1.1

and these settings to my linux server

device=etho
bootproto=static
ipadd=192.168.1.128
netmask=255.255.255.0
gateway=192.168.1.1

but when i ping my gateway in linux then it shows destination host unreachable and also when i ping google.com then it shows host unknown. how can i solve this problem.???

thanks..... :-)


There are SO many things that could be wrong!

You might want to check the network settings for your VM. When I want the VM on the same subnet, as you do, I use "Bridged Adaptor". This puts the VM directly into your LAN.

;o)



Satyendra - 26.03.15 2:35 am

Hi,

when I check global IP from any system connected to router, all shows the same global ip. How is it possible and how can I get separate global IP for all my system.


When you say "Global IP", what do you mean? I realize that terminology can be confusing, but it enables us to be precise in both questions and answers. I simply cannot answer your question, only guide you, I hope.

Do you mean your external IP? The outside IP? And if so, which part of your system do you want to have a different external IP?

Or do you mean something else?

Feel free to ask again, though please try and explain your goals and situation better. Believe it or not, there is such a thing as a stupid question!

If you want to be able to ask really smart questions, see here.

;o)



Kerry Coates - 25.04.15 2:00 pm

Hi, I have being driving me self-crazy trying to figure out my problem. I have an external STatic IP address 184.68.*.*. Im currently running IIS 8.5 on windows 8.1 with some websites "Abbys garage" and another one yet to be shown. The following are my issues:

My router is a trendnet tew-812DRU and have had no issues with it. My website has being running with no problems also. Now, I wanted to hook my playstation 3 upstairs (on the network). The PS3 needs to have internet access.Trying wired or wireless makes no difference.

The following are what my ISP provided for my external ip info:
Static IP 184.68.*.*
Gateway 184.68.*.*
Subnet 255.255.255.252
Primary Hostname : nsc1.nr.wp.shawcable.net 64.59.176.13
Secondary Hostname:nsc1.nr.wp.shawcable.net 64.59.177.226


Could you please help me on how I can make this work and the best way I guess for speed when games
are being played on the PS3.

Thank so much,

Kerry


There are loads of ways to make this setup work. In your router, you might want to create a "DMZ" (Router "Advanced" settings >> Firewall >> DMZ), and put the Playstation's IP address into it (after you have given the PS3 a static Local IP address on your home network).

There is also the "perfect stealth" technique, where you have a port-forwarding rule sending all (other, non-web) incoming connexions to the PS3. When it's switched off, it acts like a black hole.

However, I suspect that the trouble may be elsewhere. I noticed that the IP address you quoted here (which I anonymised) was wrong. The 74 should be a 75.

;o)



Kerry Coates - 26.04.15 2:27 pm

Hi Cor
Thanks for getting back so quickly. Well, I tried the following scenario.

OPPS! yes you were correct about the ip 74 should be 75. ( was a typo)

1) There are loads of ways to make this setup work. In your router, you might want to create a "DMZ" (Router "Advanced" settings >> Firewall >> DMZ), and put the Playstation's IP address into it (after you have given the PS3 a static Local IP address on your home network).

STATIc IP : 192.168.10.127 (PS3)

Went into the gaming area in router and entered all the ports that Portforward website stated.

It didnt work for me so I messed up, lol. I gave the PS3 a internal static ip, should I be given other computers on the network also a static IP. Should i be setting the DHCP to "disabled". If i dont turn it off would it not give one of the other computers the same IP as the static IP i made for PS3.

I also should mention that i port forward (Virtual Server) my web Server Port 80 - 192.168.10.100

On this internal network are the following:

1) Web Server - no static but the computer keeps giving it 192.168.10.100
2) The other half, lol - she has a Laptop (win 7)
3) Me - Laptop (win 8.1)
4) work computer - Desktop (win 7)
5) Pivo - media server (android)


Thanks again Cor


Forget the Gaming area! (which looks like a renamed port-forwarding section) Put the PS3 in the DMZ!

As for IPs, you should set your router to always lease the same IPs to your local machines. At least the ones that need it (like the web server) or else one day they won't be where you expect and your rules and server will fail.

The DHCP can be set to have a range. Put that away from the static IPs. e.g. Dynamics from 100-200. Statics from 1 - 100, or whatever is convenient and sensible.

;o)



Kerry Coates - 27.04.15 1:54 am

Hi Cor

Aas for Gaming area, i have turned it off. The gaming area is its own area and port forwarding has its own area. When I received my external IP from my ISP i had to use the port forwarding. I had to port forward the address of my webserver to port 80. So i need to give my webserver a static and use the port forwarding to that static address?

Yes, precisely!


The DCHP server settings is giving out IP's for
internal network: 192.168.10.100 - 192.168.10.150
& Guest network 192.168.20.100 - 192.168.20.100

So it would be safe to give my webserver 192.168.10.??? The webserver currently on ip 192.168.10.100 but when I tried it this morning it wasn't finding anything so I guess thats why.

Safe I cannot comment upon. That depends on many other factors in your setup.

It doesn't matter what IP you use for the server, so long as it exactly matches the port-forwarding rule.

When I go to your site right now I get the IIs default page.

The gaming machine should go in the DMZ, or else create port-forwarding rules for ALL ports to go to that machine. Some routers let you simply add a rule for ALL ports at the end of your rules, and it acts as a "catch-all". On some routers you may have to create two rules, one for ports 1-79 and another for 81-65535. A DMZ is easier, though.




Kerry - 27.04.15 5:04 am

The Ip for my webserver changed so this is why you were IIS default page. I had to change the ip in the binding and also at the portforward rule. I better create a static Ip soon or this will become a pain.
You mentioned safe? Starting to scare me, lol Are I leaving myself open?


Yup, unless specifically told not to (static IP), IPs always change. Give that server a static IP NOW!

And hey, you mentioned safety first! Your setup is probably fine, so long as you keep it up to date and don't do anything stupid!

Opening up your gateway to incoming traffic always carries a certain risk as well as certain responsibilities. I'm sure you are on top of things! If not, start here..

http://hosts-file.net/default.asp (scroll down for LOTS of links you can click)
http://resources.infosecinstitute.com/14-popular-web-application-vulnerability-scanners/

;o)



Randy Campbell - 02.05.15 5:49 am

OK, this is an issue I have had for as long as I can remember and have found no way around it as yet. On my Webserver, my firewall blocks attempts to break in as normal. But when I try to log in with the root username/password, if it does not recognize my IP, it blocks me. I travel in an RV full time, so every month I am in a new location and have to get my Server company to whitelist my IP, plus the IP that I use for my AT&T Ipad when I am not near my computer. This is nuts in my opinion, but nobody has come up with a way around it. My server wants to see an IP that is whitelisted as well as having the root user/password before it grants access.

Is there a way to get a static IP that I can use to log in with and whitelist any IP I need for access.

Thanks to anyone who might have some answers

Randy


Ask them (admins) to provide another method of authentication. Perhaps a shared key. Otherwise, pay an ISP for a static IP. ;o)



Cool dude - 10.05.15 12:55 am

Shit,you know a lot. Did you just copy and paste this?

Nah man. Look around the web, tech articles, code and more. I do originating, leave the copying and pasting to others! ;o)



Bob. R. - 28.05.15 12:36 pm

You have written a beautiful article. Thanks.


Drew - 05.06.15 3:59 am


Hi Cor,

thank you for this info. smiley for :)


Wouter - 10.06.15 9:28 pm

Nice article, thanks!

I was actually experiencing with the similar problem. The most of Dutch ISPs are providing only with private IP addresses hidden behind NAT. It is ok till you decide to connect your CCTV (Camera System or DVR) and set it to being able to access it remotely smiley for :roll:

Thanks to your post I was able to set a static IP to my system, but question was where to find one. There were generally two options:
===
1) ISP -> Too expensive solution
2) Other Static IP provider -> I found Staticvpnip.com, specially this guide: https://staticvpnip.com/tutorials/7-asus-rt-n12-manual-vpn-configuration-pptp
===

Unfortunately I spent hours on solving the problem why the CCTV doesn't work. Then I read again all steps in the guide .... YES, port forwarding smiley for :eek: smiley for :roll: smiley for :D. So do not forget on this thing as I did. It will save you a lot of time smiley for :lol:


Max - 22.06.15 5:17 pm

Hey, Great Article - Thank you.

I am attempting to set up a server without a static IP from the ISP and using zoneedit instead as you said above, but i'm unsure how to redirect the domain name i have through zone edit to the 'static' iP.

Do you know how to?

Thanks

See here..

https://www.zoneedit.com/faq.html

Specifically, the section entitled, "What clients are available for Dynamic DNS?".

;o)



Rizwan - 22.07.15 8:33 am

Hi Cor, it was really a great article. I have a question... what if there are more than 254 computers on network? Will it make two classes of IPs? like:

192.168.0.x
192.168.1.x


and assign each computer any of them? Please explain.


** The reason why I'm asking **

This is going a bit off-topic but, I am running my Raspberry Pi on a wifi network and also used this article to connect my android phone via USB tethering (for ssh connection):

http://elinux.org/How_to_use_an_Android_tablet_as_a_Raspberry_Pi_console_terminal_and_internet_router

Now the problem is, the wifi router has ip class 192.168.0.x but the USB tethering have class 192.168.42.x

And I can't see a way to connect both at the same time. If I connect my phone then internet is gone :(

Do I have to make some setting or what?

Thanks a lot!


I don't know much about the Raspberry Pi, nor about exactly what you are trying to do (the article, at least in my quick skim over it, seems to be for attempting the opposite of what you describe - i.e. the Android device connects to the internet and uses its tethering function to connect the Pi).

What you are trying to do may work. I would guess you need to setup a static route in the Pi.

;o)



Darren - 28.07.15 12:32 am

Hi,

Really interesting article.

I've been told that I need a static IP address for my system administrator to allow through the firewall for me to access the company network from home.

Given your link to no-ip I was wondering if this would work? It seems to be for accessing your own computer from an outside source, when what I need to do is access the outside source from my computer. Does this type of service work both ways?

Am I barking up the wrong tree?

No, it should work fine. So long as their system allows (and resolves) host "names" as well as raw IP addresses. If it doesn't, politely suggest they enter the 21st century (or perhaps, better yet, use a VPN). ;o)


Enter the 21st century...could be a problem there lol. I believe they were still using typewriters into the mid-nineties.

I have a VPN account through privateinternetaccess.com, but I don't know if they use fixed servers or if they route the traffic around.

I'll find out if they can allow hostnames through. Thanks for your speedy reply!


ahmad - 28.07.15 7:05 pm

Hi,
I read article (great article btw) and google it, but not able to find a solution.
I am trying to connect a device to my local computer which need static ip (not a DNS, for which I can do with no-ip). I cannot get service from my local ISP. Any good (and free) suggestions?

I would first contact the makers of the device and ask that they add support for hosts names.

Then, in the meantime, setup some kind of notification when your local IP changes, e.g. send an email. If you Google: send email when IP address changes, you should get lots of results. Of course, you will need a local device capable of performing this sort of trick.

OpenWRT or similar would be ideal, but there are lots of ways to achieve the same effect. I've seen PowerShell scripts that can do it.

;o)



Jelena Todorovic Clemente - 12.09.15 12:11 am

Hi,
I would like to set up my free to air TV and internet, by pointing my own satellite dish to Galaxy19 orbiting satellite. Obviously I will need a static IP to resolve a name over Internet. The entire idea is to ditch local monopolistic internet service providers that keep on piling up bills for providing their DNS servers that are more down than up and running.
My understanding is that the Internet should be free for everybody and not monopolized by 2 major ISP (TV) companies that operate in the area of Clinton Township, NJ.
I read your text in full. Please correct me if I am wrong: you are providing what would you call it "external" router for those who have border (or internal routers). How would that work with the device such as JynxBox V6 (which is satellite receiver for Internet?
Regards
Jelena


You misunderstand.

Firstly, I do not provide any router or DNS services, period (aside from my ever-popular "what is my IP" page). I do reference no-ip.com (above), which provides a static host name for your dynamic IP connexion. But only an ISP (or some other entity which owns and controls an address block) can provide you with a valid Internet IP Address.

As for the free internet, there's no such thing as truly free internet. Someone always has to pay for it. However, there are better ways (see below).

Satellites internet usually requires a phone line and definitely requires an ISP. Also, Satellite internet is slow. The lag is dreadful (forget gaming) and the top speed is nowhere near what terrestrial fibre services can provide. Unless you live out in the sticks, don't bother with Satellite.

Besides, even with a full-on (expensive) transmitter/receiver system, unlesss you have skills way beyond the scope of this article, you still need someone to provide access to the internet backbone. You are always going to need an ISP somewhere down the line.

The only way around this, at any level, is to use Mesh Nets. Google it. You might also want to check out https://thefnf.org/

If all you want is better DNS service, why not use Google's DNS servers (8.8.8.8 & 8.8.4.4 - IP's every tech knows off-by-heart!)? Millions do. There are thousands of good DNS servers out there, including Google's. And they are all free to use. Try 'em!


;o)

ps. If you want something like the internet for free, and on your satellite dish, check out https://outernet.is/



Clairese - 13.09.15 5:42 am

I sure hope I'm asking the right question and in the right way...

My ISP is Verizon DSL. They have been constantly changing my external IP - like 3 times today already. This wreaks havoc on my system, not to mention that I have a personal blog to keep updated. I am on disability so my blog is very important.

I understand that unless I can pay my ISP big bucks, I cannot get a static external IP. I'm reading your page here and trying to put pieces together since I'm not a guru at this sort of thing - far from it. I've taught myself WP (org) - everything has been trial-and-error and extensive research.

I do not have a formal business (sure wish I was making some $$ though). I'm linking to some of your suggestions and hope to get straight to the right source for getting a static external IP.

Can you point me in the right direction for my specific situation? All I need is a static external IP. I am not running a server and I have a TP Link dual band modem/router. It is beyond ridiculous that my IP address changes so much. Also, I do not turn my modem/router off. This said, I do turn my computer off at night. They backed off for a while after I complained (and there was a physical issue with the DSL cabling), but now they are back at it.

I hope my inquiry doesn't get deleted. If it does, I guess I'll know I did not ask the right question.

Thanks for your time and consideration. /Clairese


Firstly, if you aren't running a server or similar, your changing external IP should make NO difference to your system, your blogging, anything.

Unless you have specific needs, your external IP is not something you should even be thinking about.

What, exactly, is the trouble?

;o)



GSJR - 02.11.15 11:03 pm

In the details pane of the dial up connection status - when I'm connected to the internet - Compression is listed as (none). The General tab 'Activity' always shows Compression - both sent and received data - as 0%. The Details tab of the connection status also lists the 'Server IPv4' address as 192.168.254.1 which I believe is the address given to an external modem which I use. This never use to be the case. A public IP address used to be listed as the 'Server IPv4' addresss and I would then have compression of data both sent and received.
Because the modem is not really a server, could this 'mistaken' server - with the private ip address - result in my not getting compression even though all known settings are set to allow compression? How can I set a server address which will complete compression of data sent and received?

This has nothing to do with static IPs!

It sounds like you switched from bridged to routing mode on the "modem", but I haven't looked at a dial-up connexion dialog for over a decade, so I would advise you ask someone else!

;o)



Michael Gower - 21.01.16 6:12 am

I understand how to establish a fixed IP address within my local area network, but how do I establish a fixed external IP address? My organization uses Comcast cable for the Internet and they want $250/mo. to establish a fixed IP. Do I have to go through them for this or is there another vendor that can be used with a fixed IP that can then find its way through Comcast to the router of my LAN?

You can use whichever ISP offers the most competitive rate.

Your "organisation" will have also have an IP address, ergo, you can connect to them, the same way I just connected to your WAN-facing Apache server smiley for :ken:

It sounds like they want you in a VPN. Before you go hunting for a fixed IP deal, check that you REALLY do need it. Possibly their VPN implementation works with host names, which can be achieved with any old internet connexion.

;o)



Terry - 30.04.16 1:21 am

Hi I own an ASUS router and I have set up a static IP (192.168.1.100) for a machine that I use as a server. Everything works fine when it is first set up. However, once I reboot the router, the server no longer gets the static IP address that I have assigned, unless I reboot the server as well.

My question is - is the router supposed to assign the static IP address to the server automatically after a reboot?

Yes. Once this is setup at the router, you should never need to consider it again.

Without knowing exactly which router, running which firmware we are referring to, and what your other network devices and settings are, it's difficult to say exactly what the trouble might be.

The most likely reason is that there is a button/control to make the DHCP leases permanent, which you haven't clicked.

IMHO; in even the smallest internet-connected network, it's smart to run two routers. One at the gateway, which may frequently change (to match the latest internet connexion technology, etc.) and a second router to handle the internal network.

As well as the many other benefits of this setup, it enables you to put something like OpenWRT on the internal (cheap) router, where setting up this sort of thing, reliably, is a doddle.

;o)




CrazyFrogT - 04.05.16 8:34 pm

smiley for :lol:


sunil - 18.05.16 8:30 pm

Hi, First of all, thanks for nice article.
Secondly, I wish to host my website at my Server.
I have Airtel broadband connection, and run several devices on wifi.
I have taken Static IP from my ISP. But I don't have a network engineer to do the rest, i.e. connect this Static IP to my Server.
can you please guide to relevant info.
Thanks,
Sunil Arora


That is well outside the scope of this article. If you click the "server" link (at the left of this page), you will find lots of useful related information. ;o)



David Haywod Young - 20.06.16 3:19 am

Just an FYI/comment sort of thing.

You mentioned external static IPs, and said they couldn't be achieved from our end of the router...which is technically true, but it's entirely possible to pay a small monthly fee to host a private VPN server in the cloud. I've done this to host mail and web servers that exist in my home over a residential-type ISP account. The price differential compared to a "business class" account with an ISP is rather sweet. It's also cheaper than hosting multiple virtual machines in the cloud. Slight performance hit, maybe, on the network front when compared to a normally-obtained static IP. OTOH, the memory/storage side of things is cheaper with my own hardware.


Joselito Cerico - 20.07.16 12:33 am

hi, thanks for this article though i may not fully understand it cause i am a newbie here with regards to understanding a dynamic and static ip address.. i recently set up an ip cameras inside our house so i can monitor it remotely when i am outside of our home. so after 36 hours of research on how to configure my ip cameras with our router i finally made it work, then i recently read that setting up a static ip address is not free at all, does that mean my internet provider will charge me on my next billing about these static ip addresses i made in the configuration? Currently i have an active account with my.noip.com website for a year. Do i have to use the dynamic address instead? i hope what i am asking makes sense as i do not fully understand these things, i just followed a set of instructions in the internet on how to configure my ip cameras, currently i managed to set up 4 ip cameras with their own different corresponding static ip addresses. please enlighten me about this, thanks!

Whoever said..
setting up a static ip address is not free at all
is misinformed. Or else you misunderstood and misquoted.

Obtaining a static IP from your ISP is not free.
"setting up" static IP's within your own network, is completely free, aside from the cost of the time involved.

You would have been quicker coming straight here.

;o)



dkwagner - 27.07.16 5:53 am

I am also a newbie at this. I currently have an external static IP address through my satellite ISP.(yes we live in the sticks, satellite is the only option.) I need a static IP to monitor a camera system remotely. because we are on satellite we cannot have the faster service if we have a static IP. If I set up the static IP internally instead of externally will this work to remote view the cameras? Is it as secure as the external static IP address? It would certainly make my life better if we could get the faster service but giving up the remote viewing is not an option. I have a Linksys router if that makes a difference.

Thank you for your article and any help you can provide.


I honestly think you would be best served reading the article again, except more slowly! Especially this part.

;o)



John - 17.08.16 11:35 pm

Hello, i need a static ip address for my business but don't want to get it with my ISP because they require i rent their equipment, do you know of any low cost static ip providers i can get an ip address with but still keep my ISP and use my own router?


Nick - 06.09.16 2:26 pm

Hi there, lovely article Cor.

I have the same problem as a previous questioner "Clairese - 13.09.15 5:42 am".

I have a project to create a website on Wordpress.org and I have Siteground as my hosting provider. Due to the problem of being constantly logged out of my account with Siteground their tech assistance stated that I was being logged out because my IP address was dynamic and that I should see my ISP for a static IP.

Being poor I began looking for alternative solutions.

I have changed my local dynamic IP to a static IP outside the "pool" in the dynamic section. But, by using "Whatsmyipaddress" I see that my external IP is constantly changing. I tried to override this by using Avast vpn and logging in from a different IP. Unfortunately no luck.

"No IP" seems a solution but as I'm not remotely connecting to cameras or the such I'm not sure if it's the answer.

My external IP is bouncing back and forth between Vietnam and Cambodia, I'm based in Cambodia, at a rate of a new external IP every minute or so. I am not exaggerating. Even whilst writing this I see my vpn disconnecting and reconnecting and using the internet is a frustrating exercise nowadays.

Is this normal?
Is there another solution other than contacting my ISP and paying for a static IP, which if I've understood your reply to Clairese, isn't the problem?

I've re-read Clairese's question and curiously I also have TP-Link.


You didn't say who your ISP was, but even with a dynamic IP, your external IP should only change when you reconnect your internet. In other words, unless you reconnect, or have a problem with disconnecting, or the router isn't setup correctly, your external IP should remain the same.

What does your router log say? Is there something causing it to reconnect every few minutes?

Many routers, by default, will "connect on demand" (i.e. when you ask visit a web site) and then time-out the connexion after a few minutes. Have you checked that your router is instead set to STAY connected? If not, do that. Mine is a dynamic connexion but I often have the same IP address for weeks.

Setting a local static IP for your machine has no effect here. Only the external IP address matters to your hosts. The one your router gets from the ISP.

A VPN isn't so useful here, unless you know the IP address at the other end won't change; for example, a direct VPN to a home or company (i.e. in the UK) that does have a static IP address (or more reliably dynamic IP) would probably work much better.

Check your router first - there may be something obvious there causing you to keep reconnecting.

;o)



gideon - 22.09.16 6:20 pm

Sir

From Which Number Static ip starts
and From which number Dynamic ip starts

That's entirely up to you, or whoever setup your router.

I recommend you create logical "blocks" for your various devices, and another block for dynamic addresses. Most people only need a small block.

;o)



thanks in advance - 22.09.16 6:22 pm

Question: is a static IP required to run abridged "private" network over the "web"

context: I worked for an organization where you could leave office "A" and enter office "B" in different city and by rejoining the office wifi were RElinked to every other office as if still at desk in office "A" all network drives and peripheral devices work, no log in required. Just join the wifi in "organizations" office.

Reason for question:
ISP for "MY" now new business says I require static IP for every office I have in order to do this same thing. Over four locations this is a big bump in cost from my ISP to make this seamless transition for staff? But I'm no computer guru and don't want to pay for what I don't have to.... Not that I want to pay what my ISP wants for this added convenience! I think there just trying to get me to "pay" for my future free tech-support...


I assume that you were logged in to some sort of VPN. And it sounds like the VPN in your new company is not so modern or sophisticated as the one in the old company. Or perhaps your new employer sees this as a security "feature".

To my mind, however, the very essence of VPN is that you can run a private network over whatever network and requiring static IP addresses is arcane, limiting and shows lack of skill and/or imagination on the part of the IT staff.

Your secure VPN login should be enough (if it is secure). I would ask them if there is a way to get their system "upgraded".

;o)



Peter Vella - 10.12.16 5:05 pm

I thanks for this and other articles. I have a large hard drive which I access from a remote server. I use at the moment FileZilla. My ISP is orange as I live in France. When the IP changes then of course FileZilla stops functioning.

I need a fixed IP. Can you advise. I am willing to make a payment for a solution.



Peter Vella

No need to pay (though donations are always welcome!) the answer is right here on this page.

;o)



jim has - 06.01.17 9:54 pm

Dear Tech,

Thanks for your time

When I do a whatsmyipaddress.com, is this the ip that I would put in my router as the internet
connection IP?

I'm trying to set up a older cisco 881 router and not sure what to put on the interface.

And what about the gateway for the route? How can I find that?

The address that comes up when I do the whatsmyipaddress.com is 173.173.*.*.

Not sure what the subnet mask would be - maybe 255.255.255.252?

My ISP does not seem to know or want give it out.

So to summarize
1. which IP to use on the interface the ip address or the gateway
2. how to get the gateway address for 173.173.*.*
3. How to know what the Subnet mask is for 173.173.*.* ( 255.255.255.252 ) guessing

Any input you might have will be greatly appreciated.

Thanks you!!

Jim


Your WAN IP is usually set to automatic/DHCP, unless you are paying for a static external IP address, in which case your ISP should have supplied the details already. If it's your LAN you are referring to, see the guide above. I don't know your router so I can't be more specific. ;o)



Charliemike - 18.01.17 3:46 am

Sherlock? Is that you?


niranjan - 27.12.19 7:57 pm

Thanks for this poetic explanation of highly technical topic.


First, confirm that you are human by entering the code you see..

(if you find the code difficult to decipher, click it for a new one!)


Enter the 5-digit code this text sounds like :

lower-case arrgh, Upper-Case Gee, thuree, lower-case dee, Upper-Case Why


 

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!