Wireless Networks Thread, How to assign a Public IP address to a home pc on a home network in Technical; Hi All,
I'm slightly embarrased by this post, but in my defence it is 2.30am and I should really be ...
How to assign a Public IP address to a home pc on a home network
I'm slightly embarrased by this post, but in my defence it is 2.30am and I should really be in bed!
Essentially, what I am trying to do is assign a public IP address to a PC which is currently on my home network, which currently has a private range.
Here is what I currently have:
Home Network: 192.x.x.x Subnet 255.255.255.0
Router WAN: 82.x.x.x Subnet 255.255.255.255
Public IP's 217.x.x.x Subnet 255.255.255.248
Ideally, I would have all normal "home" devices remain on my private 192.x.x.x range using my router as the gateway which also currently has a private address of 192.x.x.1. The router isn't the highest quality router in the word - it is a Tenda.
Now, I know that the easy way around would be to just throw away the idea of my private range and give the router a 217.x.x.x and set all of my devices to pick up 217 addresses via DHCP from the router, but ideally what I want is for all of my current home devices to not have to be reconfigured.
While there is a fair chance that I might wake up refreshed and know exactly what to do, I would be interested to know how others would/do go about this?
If there is no feature in the modem to do this directly then the easiest way may be to use an extra wireless router and move the NAT to that device. Set up the modem to give out public IPs and plug the Wireless router and DMZ host into that then plug all other home pcs into the wireless router setup to NAT the internal range as teh modem was doing beforehand.
How the IPs are handled is dependant on how the router and the ISP are setup. The router can be setup in bridged mode allowing the router to act as a layer 2 device and allow the ISPs DHCP server to service internal clients. Some routers will let the router use one for NAT and allocate the others. The WAN alias method above works (i think) by assigning all of the IP addresses to the routers external interface then using an IP un-numbered tye tunnel to pass this on transparently to the internal client. You can also get routed PPPoE where you get handed a whole subnet for the router to play with as it sees fit.
It depends on the router as to whether it supports bridged mode with no NAT, here in NZ our DSL is PPPoA and so almost no routers support bridging of this protocol but we only get one IP anyway so this does not really matter.
I just signed up for a free account with dyndns.com, put the login details in my wireless router / modem, then just access it with a dyndns hostname. The IP address will change but the hostname will always work.
I have Be Broadbands IPs and the way they assign them is wierd. It isnt its own netblock, its like .2 .4 .6 .8 .10 .12 and .14 and someone else will have .3 .5 .7 .9 etc
Im looking at doing it in software rather than having to buy a new bit of hardware. At the moment I have a netgear DG834GT which I can put in just modem mode and pass everthing through to something else, its just that something else that still eludes me.