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 03:29 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  477
azazel1024  155
stevech  138
KGB7  129
sinshiva  113
Kel-L  91
hggomes  90
fistv  85
sm00thpapa  81
sfx2000  78
RMerlin  5526
stevech  322
ryzhov_al  265
TeHashX  215
RogerSC  188
L&LD  188
sinshiva  140
joegreat  123
jlake  122
sfx2000  118
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  74142
Old Asuswrt-Merli...  58709
Old Asuswrt-Merli...  24184
Old Asus locking...  9144
Old [Fork]...  9048
Old ASUS...  6967
Old Incoming...  6083
Old Asus...  5332
Old Share What...  3057
Old Download...  2899
Old Asuswrt-Merli...  392
Old Asuswrt-Merli...  389
Old Asuswrt-Merli...  133
Old Asus locking...  125
Old [Fork]...  88
Old Asus...  52
Old ASUS...  49
Old Inherited PC...  45
Old 376.44 -...  40
Old Connection...  39


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