Question:
Setting an external IP?
Me
2009-11-13 12:22:01 UTC
I'm fairly in over my head so bare with me.

How do i set one of my computers to have a seperate external ip (non-192.168.x.x) from the rest of my system. I'm sure there is a term for this but i cannot for the life of my think of it. I already have a ip i can use, i just dont know how to have my computer point to that ip as it's ip
Six answers:
RA
2009-11-13 14:05:49 UTC
First some basics:



There are IP address ranges designated for public and private use. Private IP address ranges begin with 192.168.x.x, 172.16.x.x or 10.x.x.x. These private network address ranges can be used by anyone for internal use and have no direct representation on the Internet, whereas public IP addresses are assigned to network providers such as ISPs who in turn assign IP addresses to their customers either dynamically on a temporary basis or on a fixed and longer term basis.



IP networks are divided into subnets. The devices within a subnet can talk to each other directly. If they need to talk to a device that is outside their subnet, they need to send the traffic to a gateway that participates in more than one network and relays the traffic back and forth between the networks. There can be more than one gateway in a network (for connecting to more than public or private network).



Routers are a special type of gateway. A router is typically connected to more than two subnets (yes, more than TWO, that's three or more) and maintains a routing table, that is, a list of neighboring nodes, and forwards traffic according to the appropriate neighboring node depending on where the traffic needs to go, the availability of other nodes, and the weight (or cost) assigned to various routes.



Home security routers do not maintain a routing table because they connect only two subnets: The internal network using a private address range and an external one maintained by the ISP which happens to have a public IP address so that traffic can be exchanged with the Internet. For this purpose, home security routers perform an important function called Network Address Translation (NAT) which allows multiple computers on a subnet to appear behind a single, public IP address.



So, now to your problem:



You can give a computer more than one IP address (either on the same or on a different subnet) on the same network interfaceby means of an "alias". In most cases, these IP addresses have to be manually assigned and become static IP addresses for that device (as opposed to IP addresses dynamically assigned via the Dynamic Host Configuration Protocol DHCP). The trouble is, if what you call an "external" address is assigned to a computer, there is no other device acting as gateway and, as a result, this system has nobody to talk to and cannot be reached by other devices.



I'm guessing (because you don't explicitly state so in your question) that what you might be trying to do is getting one device on your private network to respond to requests from the Internet. This can be achieved by means of port forwarding on the home security router. Port forwarding can be selective for specific traffic only, or generic (all incoming traffic from the external subnet that is not return-traffic for NAT from other devices gets forwarded to the device designated to handle such traffic, which otherwise gets blocked by the router).



You should be aware that there is a security risk with port forwarding: The device to which the ports are forwarded to becomes vulnerable to network intrusion attacks. So, make sure to protect that system with appropriate security measures (firewall and up-to-date security patches).
Psychic Computer Repair® PEBKAC?
2009-11-13 12:31:41 UTC
You only get one EXTERNAL IP from your ISP unless you pay for 2 services and they run a separate line and you have 2 modems.

~

Each of your computers will have different INTERNAL IP addresses in the 192.168.x.x range.
Patricia
2016-04-03 12:45:25 UTC
How did you set the internal IP and have it still change? you must have done something wrong. If these server are on the internet you need to have your actual IP address (the one your ISP gives you) be static. usually you can pay ~$4 a month for them to do it. there are other services that will accomplish this but i dont know them too well.
lercio
2009-11-13 12:39:44 UTC
Assuming you ISP has assigned you this public IP address, you should set up a DMZ on your firewall/router. This is a bit beyond a single question and it depends on your equipment.
Jacob Spindel
2009-11-13 12:31:12 UTC
Your IP address is assigned to you by your ISP. Normally you would need two accounts (usually with two different ISPs) to get two different IP addresses. It's possible that some ISPs offer special plans that can act as more than one connection.
anonymous
2009-11-13 13:25:54 UTC
if you are looking to be able to access your pc services like remote desktop there is away of doing in this you can set up a service called dynamic DNS that will let you access services on your pc http://www.dyndns.com/ is the place you want you with this you can set a name you want to pinpoint your computer as long as its running the software that they provide or you can set this service up on most routers

i use this my self as my IP address is dynamic and changes so no need to pay out an extra £5 - £10 for a fixed ip address


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...