What's new

Static Routes

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Elmer

Senior Member
So, I have a cable modem with a web page at 192.168.0.1. My router is set for 192.168.1.1. Just entering 192.168.0.1 gives nothing, and a little research says that I need to set a static route to 192.168.0.1. I did just that and received a massive crash for my efforts. After a few factory resets I'm a bit more cautious. Is using a static route the correct procedure? Is the proper syntax:

192.168.0.0 255.255.255.0 192.168.1.1 and then is it WAN or LAN or MAN (whatever that is)? Tried both LAN and WAN (two crashes).

The page is there, and I was able to get to it using a laptop with a static address of 192.168.0.2 hooked directly to the modem.
 
A static route won't help you. If you only need to access the modem occasionally you can temporarily change the WAN IP address as explained here. If you need a permanent solution you'll need to use a script.
 
Are you configured in a double NAT or are you running 2 subnets? I
 
Are you configured in a double NAT or are you running 2 subnets? I
Not that I know of... I see a 24.x.x.x on the router network status page. It's a UBEE modem (isp install).
 
If you aren't running double NAT then why not consolidate on one subnet.
 
If you aren't running double NAT then why not consolidate on one subnet.
I'm lazy and I have devices with static ips. That said, I can't believe there isn't a way for a 192.168.1.0 network to talk to a 192.168.0.0 network. Of course the kicker here, I suppose, is that the modem is in a quasi-network space between the router LAN and the ISP WAN.
 
Presumably you're not running a double NAT setup because you can't, as your cable modem is just a cable modem and not a modem+router?
 
Presumably you're not running a double NAT setup because you can't, as your cable modem is just a cable modem and not a modem+router?
Correct.
 
Have you tried my suggestion in post #2? If only as a proof of concept.
That's really no different than what I've already done:
"The page is there, and I was able to get to it using a laptop with a static address of 192.168.0.2 hooked directly to the modem."
But, thanks.
 
That's really no different than what I've already done:
"The page is there, and I was able to get to it using a laptop with a static address of 192.168.0.2 hooked directly to the modem."
Yes I know. I was asking you to confirm that it works when using your router instead of the laptop. In theory there should be no difference but it's worth double-checking.

But my original comment still stands: "If you only need to access the modem occasionally you can temporarily change the WAN IP address as explained here. If you need a permanent solution you'll need to use a script."
 
Unfortunately, it is not.

What about giving your router IP 192.168.0.2 and set DHCP range 192.168.0.10-192.168.0.100, for example?

What exact model your modem is? It’s very strange to expect someone to see that setup page with no DHCP running there. Every device connected to the modem won’t see the page unless static IP is given. Doesn’t sound right, nor user friendly. What is this setup page there for?
 
Well, i didn't want to upset the apple cart, but I will try setting the router to 192.168.0.2 and see what happens. Thought there might be some routing magic instead. Deep breathe, here goes...
 
So I set the router to 192.168.0.2 and tried to access the modem at 192.168.0.1 - failed. Tried setting static route again with WAN - crash!

Thanks for all the help guys. I'll just hook up a laptop to the modem when I need stats. Oh, someone asked if the page is at 192.168.100.1, and the answer is no. Someone else asked for the modem model - it's a UBEE e31u2v1.
 
You need to use a nat-start script to do this properly:
Script should look something like this (How I do mine)
Code:
#!/bin/sh
#
# to restore this configuration, it needs to be saved to /jffs/scripts/nat-start
# on the router.
# Wan - Draytek Config Page
ifconfig eth0:0 192.168.2.2 netmask 255.255.255.0
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top