Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Aaroona

3196 posts

Uber Geek


#138142 21-Dec-2013 16:39
Send private message

So in anticipation for my VDSL install on Christmas Eve, I went out and bought a Vigor DV130. So far the modem syncs 2-3mbps faster and does bridge mode perfectly.

My problem however, is while using bridge mode, I have lost connectively to my modem via HTTP for administration.

so my Modem is on 192.168.1.1/255.255.255.0

My router (DD-WRT) is on 192.168.2.1/255.255.255.0

How can I assign a static route to allow me to make changes to my modems settings (or check my WAN connection speed) going via my LAN?








Filter this topic showing only the reply marked as answer Create new topic
Ragnor
8219 posts

Uber Geek

Trusted

  #956035 22-Dec-2013 02:17
Send private message

Not sure about DD-WRT but in Tomato you can add commands to the init and firewall scripts via the GUI so you give the WAN interface a local ip address in the modem's range and add some iptables magic for routing

init: ip addr add 192.168.1.3/24 dev $(nvram get wan_ifname) brd +

firewall: iptables -I POSTROUTING -t nat -o $(nvram get wan_ifname) -d 192.168.1.2/24 -j MASQUERADE



Ragnor
8219 posts

Uber Geek

Trusted

  #956036 22-Dec-2013 02:19
Send private message

Actually here's the DD-WRT wiki page for what you want to do, looks pretty similar

http://www.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration

Aaroona

3196 posts

Uber Geek


  #956083 22-Dec-2013 10:32
Send private message

Thanks for you reply - I must be being daft.

I can't seem to get either instructions to work, which in all likelyhood, means I'm doing something wrong.

So, based on the commands for DDWRT, I ran:

 

ifconfig `nvram get wan_ifname`:0 192.168.1.2 netmask 255.255.255.0

 

 

Then:

 

iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE

 

 

 

 

tried to access 192.168.1.2 and it just pointed to DDWRT.
Tried 192.168.1.1, no go there either..



Aaroona

3196 posts

Uber Geek


  #956089 22-Dec-2013 10:53
Send private message

I have no idea why, but for some reason its just jumped back into life.

These are the commands that ended up working for me: 

ifconfig `nvram get wan_ifname`:0 192.168.1.10 netmask 255.255.255.0

iptables -t nat -I POSTROUTING -o `nvram get wan_ifname` -j MASQUERADE



Which now, makes sense. I believe the vigor DV130 has a a virtual interface by default that is allocated the 192.168.1.2 address... the only reason I can think of why it didn't work.


Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.