Having both static and dynamic IP address on one connection

iamborgs

Honorable
Jun 17, 2013
2
0
10,510
Hello,

I was wondering if it were possible to have both a static IP address on one computer and then a dynamic IP on my other computer over one DSL connection. I was told this is not possible. I heard about /30 subnets before but I found out the IP range of those would only change the last two numbers which isn't good enough for me as my current provider currently gives me large ranges of IP addresses which I like.

Anyway, so a tech guy said it is possible to do this with a Router. I have no idea if he's correct or HOW I would do this with a router. Can someone please explain to me if

a) it IS possible to have the setup I mentioned above with a router and ...
b) How to do it.

Thanks in advance!
 
May I ask what you are planning to do with such a setup?

It's possible for your DHCP server (router) to set a static IP to a certain computer within your LAN (typically 192.168.x.x), but not your WAN.

If you're looking for a stable WAN IP, the best thing I could suggest is either to contact your ISP or trying a dynamic DNS service such as DynDNS (some routers have a free DynDNS account built-in).
 
With a single DSL connection there is no way to have both a dynamic IP address and a static IP address. You don't need a dynamic if you have a single static IP.

As Quicksand stated, it might be best if you try and explain a little about what you are wanting to achieve and that will help us with determining the best option. A static IP address is going to usually be a monthly fee, but there are several free dynamic DNS clients out there, such as No-IP.org. A static IP address is more effective, though, in some situations that don't tend to work as well with just a dynamic DNS configuration in place.
 


Actually, it is very possible to have both a static and a dynamic IP address on a single DSL connection. You require a firewall/router that has the ability to set what is called an 'alias' under OpenBSD on the network interface between the firewall/router and the dsl device. I had been doing it for about four years on my DSL connection with my firewall/router running OpenBSD. DD-WRT can do this. Firewalls running PFSense most likely would be able to do it also.

My use for having both a static IP address and a dynamic IP address is a business connection (with servers) running on a static IP address that can have a domain name attached to it with out using a service like DynDNS and a private personal connection running on the dynamic IP address.
 

TRENDING THREADS