Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Tue Jul 14, 2020 12:41 Post subject: Static IP and gateway noob questions
Hello. I have been at this a while, but am absolutely a noob. I understand a lot of pieces to this puzzle, but I am missing something vital.
Router assigned static IP vs Windows static IP.
I am currently using DD Wrt to assign a static IP to my computer. (and have been for a long time)
But I am unable figure out how to assign a static IP in windows. I have googled and just can't grasp /figure it out.
-First, you could advise the best choice and why between those.
-Next, on to static IP in windows. I think gateway is my problem. In dd wrt, my gateway field is blank. I looked up my internet ISP and have that. But I am just not sure what to put in windows to get it to work.
Let's say my router is 192.168.1.5
Let's say my dhcp range is 192.168.1.1 + 50.
Lets say I currently have static IP in dd wrt set to 192.168.1.151.
What do I need to figure this out?
Sorry, I have googled and tried and just can't figure it. _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Thu Jul 16, 2020 2:14 Post subject:
kernel-panic69 wrote:
First Google result:
P.S. Your gateway IP is your router's LAN IP (192.168.1.5)
Thank you for your response. Typing can come off wrong sometimes but I felt "first Google result" was a bit snarky.
However, your advice about my gateway was good as I was unsure about that, I had tried a few things there. As well as "preferred dns server" I think i tried 192.168.1.1 in one or the other or both, I tried my ISP ip... Quite a few things. I guess I never set them both to 192.168.1.5 (in the example) to get it right. So I thank you, mission accomplished. Up and running now. _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Thu Jul 16, 2020 2:16 Post subject:
Is there a preferred method?
Setting in router vs in windows? Does it matter? _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Thu Jul 16, 2020 2:42 Post subject:
Only time you'd need to set gateway address in the router is when it is configured as a switch or wired AP in router mode, OR, when your upstream gateway is not in the same subnet as your wan IP and causes connectivity issues... _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Thu Jul 16, 2020 11:14 Post subject:
Let me rephrase.
What is preferred or recommended concerning static IP:
-setting router to assign the static IP
(services, services in the dd-wrt router)
-or-
-using windows (process above) to set the static IP
***and should you do both, or not? _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!
Joined: 08 May 2018 Posts: 14246 Location: Texas, USA
Posted: Thu Jul 16, 2020 12:59 Post subject:
You set "static leases" on the router, and "static IP" on the Windows client. Static leases are in the DHCP range of served IP addresses. Static IPs, not so much. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 01 Oct 2016 Posts: 172 Location: St.louis, MO USA
Posted: Thu Jul 16, 2020 17:30 Post subject:
kernel-panic69 wrote:
You set "static leases" on the router, and "static IP" on the Windows client. Static leases are in the DHCP range of served IP addresses. Static IPs, not so much.
I did not "love" my Google results, but let me tell you what I found. Thank you for giving me the correct verbiage to use in my search. And just to clarify, they were calling it "static reservation" and only clarifing to be sure I was reading the right thing.
In short, set a static IP on my server, NAT etc. and use the reservation for everything else, therefore it's easier to controll from one hub, the router.
Thanks again for your help. You have aided me greatly on my journey. I also like your bike shed link in your signature. _________________ [MAIN GATEWAY] Netgear R7000 – DD-WRT v3.0-r43324 std (06/02/20)
[AP1-wired] Asus RT-AC68U - D-WRT v3.0-r44467 std (09/24/20)
[AP2-wired] Asus RT-AC68R – D-WRT v3.0-r44467 std (09/24/20)
(switch) 1 AP WRT160N v3 - DD-WRT v3.0-r30731 mini (10/06/16)
==
YOU CAN'T STOP THE COLETRAIN BABY!