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 09:53 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  465
stevech  192
sm00thpapa  181
azazel1024  180
KGB7  156
philmiami  92
microchip  88
jim769  83
htismaqe  74
AcostaJA  74
RMerlin  5194
stevech  315
ryzhov_al  259
TeHashX  212
RogerSC  187
L&LD  186
joegreat  123
jlake  122
sinshiva  118
sfx2000  112
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  35164
Old Switched...  9178
Old NEW RT-AC68R...  8547
Old ASUS...  7866
Old ASUS...  7759
Old 3.0.0.4.376.1...  7161
Old ASUS RT-AC87...  5363
Old ASUS RTAC68U...  4123
Old ASUS...  4034
Old Netgear...  3889
Old Asuswrt-Merli...  300
Old ASUS...  92
Old Overclock...  75
Old [Q] How to...  73
Old Switched...  66
Old NEW RT-AC68R...  57
Old N66U daily...  47
Old How many of...  45
Old ASUS...  45
Old ASUS...  44


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