How to static routes - help needed.

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 15:24    Post subject: How to static routes - help needed. Reply with quote
I have a Modem (192.168.1.1) and an Asus router (192.168.2.1)

All I need to do for the love of god is to have them both connected, able to connect to each others, able to browse the internet from both router/modem

The thing is, I have a static IP of 196.28.x.28 that I need to configure on the Asus router.

Can someone please mind my ignorance and help me with a guide/tutorial—step by step how to achieve this?

Thank you
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Jul 19, 2022 16:30    Post subject: Reply with quote
Ive taken the liberty of changing your topic title to something informative (other than I need help Im going nuts), this isn't a mental health help community, we are all already quite insane thx. Wink

Will also move your topic to the advanced networking sub-forum.

In the meanwhile.

Static routes is what you are looking for for instance

https://wiki.dd-wrt.com/wiki/index.php/Linking_Subnets_with_Static_Routes

But I think there's a easier way to handle this, assuming you can configure your modem into bridge mode or to act just as a modem and not a DHCP server, then you plug the modem into the routers WAN port and should all just work when router is set to Gateway and Automatic DHCP.

Your modem doesn't need to be a DHCP server with a LAN subnet, the only job it needs to do is to provide your router a WAN IP, nothing else.

I have no idea what your topology looks like or what cable from modem is connected to your router.

A screenshot of your routers Setup/Basic setup tab would help.

Also your router type/brand and version and DD-WRT version you have installed (saying it's an Asus is too vague), else its all for nothing.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 17:41    Post subject: Thank you for your response Reply with quote
Hi,

My router is AC5300, and this router should be configured as a static IP which is 196.28.x.28 (Not Automatic DHCP.

The modem is VDSL ZTE.

That WAN IP should be configured on the router.

At the same time my AC5300 router is configured as 192.168.2.1

The modem is 192.168.1.1

Pardon me if im asking for a tutorial/guide as I think its a complex setup.
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jul 19, 2022 17:56    Post subject: Reply with quote
The only thing complex here is not having the entire picture with screenshots and amplifying text. Is the VDSL modem in bridge mode? Is the normal VDSL modem WAN IP 196.28.x.28? Is the WAN of the VDSL modem PPPoE? We can't offer a quick answer or solution without all the details given. Please give us ALL applicable details to the topology and configuration, thanks.

EDIT: Does this still apply to your current ISP/Modem?

ADSL Modem need to link/access it to/from another Router

_________________
"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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Jul 19, 2022 18:35    Post subject: Reply with quote
In addition to whats been said and information/screenshots asked for still not provided, I dont believe this is complex, it will be complex if you cannot change modem settings or you arent connecting things properly.

And I already asked for but what version dd-wrt are you running.

The faster you help us help you better, the faster we can try and get your issues sorted in the best simplest way possible. In order to know where to start we need more information.

Thanks in advance.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 18:53    Post subject: I apologize.. Reply with quote
Please forgive me for not providing all what's needed, i'll do my best to give you all the info:

Please find all my settings on both modem & router...


With the current setup, the internet is working, and DHCP provides IPs from the the correct router (192.168.2.1) - however:

1. Some websites don't open reporting DNS issues, if i change the DNS to 8.8.8.8 on the device itself, all works, really not sure where is the problem here.

2. The correct setting should be on the Setup/Basic page I should set the WAN IP to be 196.28.x.28

The ISP gave me only 1 dedicated/static IP, and should be configured on a device (even a router) with the following settings:

196.219.x.28 <- REAL CORRECT WAN IP
255.255.255.0
196.219.98.1 <- Gateway

163.121.128.134 <- DNS 1
163.121.128.135 <- DNS 2

Currently the WAN IP is something totally different, (regardless of the VPN that is currently on, but its NOT 196.219.x.28 - im really unsure how is that? - maybe its using the modems IP since i'm using Automatic Configuration.

On Asus Merlin, I used to set it as a Static IP, and input the above mention data and it works correctly with the IP: 196.219.x.28

I hope i've covered everything.
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 19:00    Post subject: Reply with quote
Another attachments
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 19:02    Post subject: Reply with quote
the rest...
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 19:05    Post subject: Reply with quote
the remaining
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Tue Jul 19, 2022 19:06    Post subject: Reply with quote
The final
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Tue Jul 19, 2022 19:41    Post subject: Reply with quote
Your ISP router seems performing ono-to-one NAT to give you your own router a public IP.

You have already got all the information (255.255.255.0 = /24)

On DDWRT setup page choose Static IP and fill in the details.

Before you do that reset your own router to defaults and after setting username and password change the local IP address from 192.168.1.1 to 192.168.2.1

Do *not* change anything else like gateway, local DNS etc

Save and Apply and after that fill in your details under Static IP

196.219.x.28 <- REAL CORRECT WAN IP
255.255.255.0 = /24
196.219.98.1 <- Gateway

163.121.128.134 <- DNS 1
163.121.128.135 <- DNS 2

Hopefully that does the trick

_________________
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
fearz
DD-WRT Novice


Joined: 28 Sep 2015
Posts: 10

PostPosted: Wed Jul 20, 2022 0:11    Post subject: THANK YOU Reply with quote
That did the trick...

All I needed was time...it worked after like 3 mins.

Now to the next issues...

1st, the WIFI speeds suck...is that how is it supposed to be ?

Please check the screenshots

Are these normal speeds?

Also what are all these errors?
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1952

PostPosted: Wed Jul 20, 2022 1:13    Post subject: Reply with quote
Maybe this post with screenshots may help you make some adjustments that will yield better results, even though the OP was adamant that I couldn't help him <eyeroll>

ASUS RT-3200 doesn't use 2nd 5Ghz band

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Wed Jul 20, 2022 8:39    Post subject: Reply with quote
I think its a terrible idea, to have this ISP router handle anything security wise. Looking at the Firewall screenshots, everything is disabled. Just insane.

Im not a tin foil hat kinda guy, but I wouldnt trust any equipment that's running unknown firmware, assuming the ISP device is Linux based this would be already on EOL kernels/libraries and other components.

Then the ISP router shows everything and their mothers to the ISP, they will know everything that's going on on the network and they dont even need your device credentials.

It seems that the ISP router is configurable enough and I would just set it up as a modem if at all possible so that its only function is to provide a WAN connection to the DD-WRT router and nothing else. Everything else I would ask the DD-WRT router to provide.

But, here we are, its up to the OP to choose the poison he prefers.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum