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:00 PM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  366
stevech  156
KGB7  124
Kel-L  100
sfx2000  98
sinshiva  93
azazel1024  93
john9527  81
fistv  71
hggomes  68
RMerlin  5597
stevech  329
ryzhov_al  266
TeHashX  217
L&LD  192
RogerSC  190
sinshiva  143
joegreat  127
jlake  122
sfx2000  121
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  78022
Old Asuswrt-Merli...  46380
Old [Fork]...  19881
Old Asus locking...  10331
Old ASUS...  8273
Old Incoming...  8023
Old Share What...  3880
Old Asuswrt-Merli...  3353
Old Asuswrt-Merli...  3020
Old Thinking of...  2153
Old Asuswrt-Merli...  393
Old Asuswrt-Merli...  212
Old [Fork]...  136
Old Asus locking...  125
Old Connection...  54
Old [HOW TO]...  50
Old ASUS...  49
Old Incoming...  44
Old 376.44 -...  40
Old Use the same...  35


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