SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > ASUS N Routers & Adapters

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-09-2013, 09:29 AM
ilium007 ilium007 is offline
Member
 
Join Date: Dec 2012
Posts: 50
Thanks: 0
Thanked 2 Times in 2 Posts
ilium007 is just starting out
Default Losing access to ADSL modem status page

I have an ADSL modem in bridge mode between the RT-N66U and the internet, it has a mangement IP of 1.1.1.1. The RT-N66U has both the public IP and 1.1.1.254 address on the WAN interface so I can get to the modems status page. I have a NAT rule set up on outbound connections to the 1.1.1.0 network. When the internet is down it is like I lose this NAT rule as I can no longer get to the ADSL modem. When internet comes back up I can again get to 1.1.1.1. I have the following in the nat-start script:
Quote:
admin@(none):/tmp/home/root# cat /jffs/scripts/nat-start
#!/bin/sh

/usr/sbin/iptables -I POSTROUTING -t nat -o $(nvram get wan0_ifname) -d 1.1.1.0/24 -j MASQUERADE
sleep 10
ntpclient -h au.pool.ntp.org -s
admin@(none):/tmp/home/root#
Should I have the NAT rule in a different script ?
Any ideas ?



Sent from my iPad using Tapatalk HD

Last edited by ilium007; 01-09-2013 at 09:35 AM.
Reply With Quote
  #2  
Old 01-10-2013, 11:22 AM
smlunatick smlunatick is offline
New Member
 
Join Date: Apr 2012
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
smlunatick is just starting out
Default

I have a successful ADSL access with my N66. My ADSL modem is also a router which assigns 192.168.2.xxx series of IP address, I created my N66 LAN with the 10.0.1.xxx series addresses and let my N66 control the PPPoE connections. So I have access the the WAN IP and my ADSL IP address of 192.168.2.1. No rule needed.

I would check the ADSL bridging IP addresses.
Reply With Quote
  #3  
Old 01-10-2013, 04:29 PM
ilium007 ilium007 is offline
Member
 
Join Date: Dec 2012
Posts: 50
Thanks: 0
Thanked 2 Times in 2 Posts
ilium007 is just starting out
Default

Quote:
Originally Posted by smlunatick View Post
I have a successful ADSL access with my N66. My ADSL modem is also a router which assigns 192.168.2.xxx series of IP address, I created my N66 LAN with the 10.0.1.xxx series addresses and let my N66 control the PPPoE connections. So I have access the the WAN IP and my ADSL IP address of 192.168.2.1. No rule needed.

I would check the ADSL bridging IP addresses.
Actually there is a NAT rule needed if you want to run the modem in a 'layer 2' mode but I found the issue. For some reason the modem had reenabled its DHCP server. All sorted now.


Sent from my iPad using Tapatalk HD
Reply With Quote
  #4  
Old 01-10-2013, 04:40 PM
smlunatick smlunatick is offline
New Member
 
Join Date: Apr 2012
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
smlunatick is just starting out
Default

That's good.

I found out on my modem access by accident. I upgraded the N66 firmware to 254 and two IP addresses were shown on the WAN port. Never expected the 192.168.2.xxx series of IP because, in general, when "external" routers issue the PPPoE request, the modem tend to be converted to bridging mode.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:46 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  365
john9527  136
stevech  132
azazel1024  127
hggomes  92
noric  83
sfx2000  75
L&LD  73
TonyH  62
F5ing  59
RMerlin  5779
stevech  337
john9527  282
ryzhov_al  272
TeHashX  228
L&LD  207
RogerSC  195
sinshiva  146
joegreat  127
sfx2000  124
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  12677
Old Asuswrt-Merli...  12432
Old My...  5422
Old Most stable...  4609
Old Thinking of...  3957
Old RT-AC87R (U)...  3929
Old Connection...  3250
Old [HOW TO]...  2988
Old Can't trust...  2519
Old RT-N66U...  2335
Old Asuswrt-Merli...  122
Old Asuswrt-Merli...  66
Old Connection...  59
Old My...  56
Old [HOW TO]...  50
Old RT-AC87R (U)...  39
Old USB N...  37
Old Most stable...  30
Old New...  28
Old Second new...  27


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.