Problem with wan connection static IP vs DHCP IP addr cfg

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
mheieis
DD-WRT Novice


Joined: 02 May 2022
Posts: 5

PostPosted: Mon May 02, 2022 2:05    Post subject: Problem with wan connection static IP vs DHCP IP addr cfg Reply with quote
When we configure our dd-wrt router to use a static connection for the WAN, any wired, static IP configured device becomes unable to resolve any addresses. However, extra-net IP addresses can be pinged, including the service provider's gateway and dns servers (such as 8.8.8.8). Any other device with a DCHP served IP works as one would expect.

When the WAN connection type is configured to DHCP. All devices work properly, except for the fact our servers can no longer be reached from outside.

We've had the WAN connection type configuration with static IP address running for some time. A few days ago, we had some service issues. In trying to solve the service issues, we probably toggled something. We are at a loss as to where the configuration problem is.

Note: When we switch the WAN connection between static and dhcp and back again, no other configuration change is made.

Any guidance would be appreciated.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Mon May 02, 2022 10:20    Post subject: Reply with quote
Start with telling us what router and what build and the network setup

Include a screenshot of setup page

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
mheieis
DD-WRT Novice


Joined: 02 May 2022
Posts: 5

PostPosted: Mon May 02, 2022 19:36    Post subject: Reply with quote
egc wrote:
Start with telling us what router and what build and the network setup

Include a screenshot of setup page


Router ModelAsus RT-AC68U
Firmware VersionDD-WRT v3.0-r38159 std (01/02/19)
Kernel VersionLinux 4.4.169 #4419 SMP Mon Dec 31 09:50:12 CET 2018 armv7l



Screenshot_20220502_123159.png
 Description:
 Filesize:  70.33 KB
 Viewed:  1032 Time(s)

Screenshot_20220502_123159.png


egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Mon May 02, 2022 20:05    Post subject: Reply with quote
I will transfer this thread to the appropriate forum.
See the forum guidelines with many helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Under Network setup the Gateway and Local DNS should be kept at default 0.0.0.0!

If this is a router connected to the internet usually automatic dhcp should work.
Perhaps you have a fixed address but what you now have set is wrong.
It could be something like:
50.68.192.148

But you should ask your vpn provider.
Normally you cannot freely choose your own wan address.

Furthermore you are running a very old and no longer supported build.

Upgrading is highly recommended.

Coming from such an ancient build resetting to defaults *after* upgrade is necessary and you have to put in settings manually, never restore from a backup (to a different build) so make screenshots first.

Current build is 48741

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14219
Location: Texas, USA

PostPosted: Mon May 02, 2022 20:36    Post subject: Reply with quote
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/04-26-2022-r48741/asus-rt-ac68u/
_________________
"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
mheieis
DD-WRT Novice


Joined: 02 May 2022
Posts: 5

PostPosted: Mon May 02, 2022 23:19    Post subject: Reply with quote
WAN fixed IP address was zero'd for post.

Yes, flipping local DNS back to 0.0.0.0 was problem. I just became "blind" to it.

Yes, will be upgrading now that it's all working properly again.

Question: can a nvram dump be used to restore the configuration for an upgraded version of dd-wrt (from/to same device)

Thanks for your help. Much appreciated.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14219
Location: Texas, USA

PostPosted: Tue May 03, 2022 1:22    Post subject: Reply with quote
mheieis wrote:
Question: can a nvram dump be used to restore the configuration for an upgraded version of dd-wrt (from/to same device)

Not advisable coming from such an old build; I suggest you do a reset after you have flashed your router because of all of the nvram changes and addition of swconfig support.

_________________
"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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum