Posted: Thu Jan 27, 2022 8:22 Post subject: Assigning multiple Static WAN IP's to Specific Devices :?:
I'd like to use dd wrt to assign 5 static IP's from my ISP. I'm able to assign one and know I have successfully used IP tables in the past to assign more than one.
My research is painfully slow because I keep finding info on LAN static IP's instead of WAN/Public ones.
I also have some other questions and would like to pay someone for helping answer questions or coaching me through some network specific things but don't want to spam the forum a day after registering the account.
Joined: 18 Mar 2014 Posts: 9573 Location: Netherlands
Posted: Thu Jan 27, 2022 8:47 Post subject:
Welcome to the forum
Please let us know what router and build you are using as that can be useful to give optimal support.
For some general information (perhaps you already know as you are posting in the right forum) see the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Joined: 15 Aug 2016 Posts: 67 Location: Melbourne, Australia
Posted: Thu Jan 27, 2022 10:36 Post subject: Re: Assigning multiple Static WAN IP's to Specific Devices
w1z3 wrote:
I'd like to use dd wrt to assign 5 static IP's from my ISP. I'm able to assign one and know I have successfully used IP tables in the past to assign more than one.
......
While egc was so kind to respond to your query and I don't mean to short circuit your reply in turn, but your query is very intriguing to me.
At the very basic, a static IP acts like a fixed address. It's designed so intended traffic (i.e. packets) will get to its desired destination such as a router behind that public IP. After all, that is what TCP/IP is all about.
Take for example, a university where I used to work. It has ONE Post Office Box for all incoming snail mails. But it has its OWN internal post office to further distribute mails to various faculties/departments across the university.
The IT equivalent functions of the university's PO example above are handled by its router's NAT. The use of 10.0.0.0/8 gives the Uni 16,777,216 unique IP addresses internally.
In theory, it only needs one static (public) IP address.
Do you still really need five static public IP addresses for your home? _________________ Life is a journey, travel alone makes it less enjoyable and lonely.
Last edited by DWCruiser on Thu Jan 27, 2022 12:12; edited 1 time in total
Posted: Thu Jan 27, 2022 13:50 Post subject: Re: Assigning multiple Static WAN IP's to Specific Devices
DWCruiser wrote:
w1z3 wrote:
I'd like to use dd wrt to assign 5 static IP's from my ISP. I'm able to assign one and know I have successfully used IP tables in the past to assign more than one.
......
While egc was so kind to respond to your query and I don't mean to short circuit your reply in turn, but your query is very intriguing to me.
At the very basic, a static IP acts like a fixed address. It's designed so intended traffic (i.e. packets) will get to its desired destination such as a router behind that public IP. After all, that is what TCP/IP is all about.
Take for example, a university where I used to work. It has ONE Post Office Box for all incoming snail mails. But it has its OWN internal post office to further distribute mails to various faculties/departments across the university.
The IT equivalent functions of the university's PO example above are handled by its router's NAT. The use of 10.0.0.0/8 gives the Uni 16,777,216 unique IP addresses internally.
In theory, it only needs one static (public) IP address.
Do you still really need five static public IP addresses for your home?
Honestly these responses where the person asks you about your motivation for posting a question instead of giving advice usually drives me nuts. But your response is an exception. (Clearly trying to help me out and taking time to respond <3 )
You guys responded way faster than expected btw, ty!
Yes, I for sure need 5 static IP's. I would actually take 100+ static IP's if I could avoid having them be in the same block.
My issue is that I have these IP's at my friends house and I dont want to sit there for 2 days trying things out slowly as I learn to properly use IP tables or get stuck on some silly thing I missed. Otherwise I would be doing that until stuff started working.
Please let us know what router and build you are using as that can be useful to give optimal support.
For some general information (perhaps you already know as you are posting in the right forum) see the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
You are welcome to post all your questions, if you are satisfied you can always support by donating
You tell me what router and build you want me to have and I'll get it
I have like 5+ routers capable of dd-wrt with plenty of ram. As well as the WRT54GL but I feel like continuing to use that router is a gamble and I kind of think its earned its retirement haha
I also have 5 raspberry Pi zero 2's, 3 pi400's, and 3-4 Pi 4's.
Maybe you guys know if its easier / possible / logical to have the Pi's (debian) request the static IP? I do a decent amount of coding and can figure this stuff out but I havent found a reliable way to replicate this situation at my house. I'm going to need to set this up at my friends who was nice enough to let me install the 2nd internet at his place and keep a bunch of old windows machines at his place. (Switching over to the Pi's mostly so he can have his closet back )
I really don't want to go there and fail. Hence why I was hoping to pay for help if I am stuck. and I am trying to do as much general research as possible. (I have other things I need to set up so don't mind learning but waiting hours between responses is painful.)
Ill check out the links about NAT and multiwan, thanks!
AT&T set me up with a BGW210-700 Residential Gateway. This RG is great for use with a static IP block because it has a feature called Public Subnet Mode. In Public Subnet Mode the RG acts as a edge router, this is similar to Cascaded Router mode but it actually works for all the IP addresses in your static IP block. The BGW210 takes one of the public ip addresses, and then it will serve the rest of the static IP block via DHCP to your secondary routers or servers. DHCP MAC address reservations can be made under the "IP Allocation" tab.
Please just assume I have a dd-wrt router that is on the recommended list.
(I can respond with the exact info if needed but for now, just believe me that I have installed dd-wrt many times and have access to a solid $100 router with the standard features.)
Can you point me in the right direction now?
(I will make sure to post when its working for me with all my settings. Really appreciate the friendly forum.)