Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » O Canada! » Canadian » TekSavvy » Access Modem on WAN
Search Topic:
Uniqs:
762
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
2wire 2700HG-B bridge mode simple tutorial »
« Peering to Chicago  
AuthorAll Replies

45578933

join:2008-10-13
canada
Access Modem on WAN

Modem has an IP of 10.0.0.11
LAN = 192.168.150.x

How can i configure Tomato to allow me to access the modem on the WAN port from the LAN so I can use DMT.

mactalla

join:2008-02-19
Try this: »ST516 - DMT - WRT54G - Tomato/MLPP

45578933

join:2008-10-13
canada

reply to 45578933
Ok so my Modem is on 10.0.0.11 (changed it from the default becase I have two modems running, one .11 one .12)
Lan is 192.168.150.x

I put in WAN up
addr add 10.0.0.1/24 dev br1 brd +
/usr/sbin/iptables -I POSTROUTING -t nat -o br1 -d 10.0.0.0/24 -j MASQUERADE

And then put another IP on my workstation of 10.0.0.20.

I rebooted the router but I am still unable to access the modem on 10.0.0.11 .....

mactalla

join:2008-02-19
·TekSavvy Solutions..

said by 45578933 See Profile :

And then put another IP on my workstation of 10.0.0.20.
No. No computer plugged into the router needs to be changed. Your computer will only know "default route" ie. no special rules, so any traffic should go towards the router. The router will have three routes. The first which is your 192.168.150.x subnet that you setup on your router (I assume you connect to your router with 192.168.150.something). Another route is the default route which is anything not specified should go out the PPPoE interface to TekSavvy. You're inserting a 3rd option so that the router knows anything in 10.0.0.x should go out ... a different interface.

Now, because I don't have two modems and my network-fu is at its limit, I don't know for sure if it works having two modems on the same subnet but plugged into different ports (WAN vs LAN). In fact I don't know for sure what the interface is when Tomato turns one of your LAN ports into a WAN port.

I suggest looking at the interface names (br1, eth1, vlan1, etc) and see whether your modems are on different interfaces or not. If they're the same, ensure that interface is on one of the subnets that the modem uses (192.168.1.x or 10.0.0.x) and that iptables line should do the trick. If they're not, then use non-overlapping subnets (192.168.1.x vs 10.0.0.x or shrink them) and put each interface on an address in the same subnet as the connected modem. Then you need two iptables commands. Again, no change to the clients.

Let me know if that wasn't clear.

Hopefully someone else can chime in here in case I'm off base.

45578933

join:2008-10-13
canada
SOrry I ment to say my workstation is assigned both a 150.x and a 0.x IP

I guess I just need to remove the 0.x IP from the workstation.

mactalla

join:2008-02-19
·TekSavvy Solutions..

Yes, your workstation should only have a single IP address in the 192.168.150.x range. No others.

Then try running the script Guspaz posted here: »Need some testing for Tomato/MLPPP

That should show which interfaces the modems are connected to. Post that information here and I can help you with the script you need to access both modems.

mactalla

join:2008-02-19
reply to 45578933
Check out »ST516 - DMT - WRT54G - Tomato/MLPP for a script that should do it.
-
Forums » O Canada! » Canadian » TekSavvy2wire 2700HG-B bridge mode simple tutorial »
« Peering to Chicago  


Tuesday, 24-Nov 02:09:28 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [84] New AT&T Ad Campaign Hits Back At Verizon
· [51] New Bill Takes Aim At Higher Verizon ETFs
· [30] AT&T Offers New Prepaid Wireless plans
· [29] Earthlink Suffers From Major E-mail Outage
· [26] Frontier Increases Modem Rental Fee
· [12] Vivendi In Way Of Comcast's NBC Desires
· [11] Charter Still Fighting With Creditors
· [7] Monday Morning Links
Most people now reading
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Big Bank Alternative to Bank of America? [General Questions]
· Windows 7 boot manager editing questions [Microsoft Help]
· What to use while demonoid is down? [Filesharing Software]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· RG Firmware update to VDSL2 this morning [AT&T U-verse]
· Firearms: Ammo question. [General Questions]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]
· Bell's Network Management practices page [TekSavvy]