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


Top 10 Stats
Top Posters* Top Thanked
RMerlin  363
john9527  155
azazel1024  108
stevech  98
htismaqe  96
sfx2000  81
L&LD  66
TonyH  59
AndreyPopov  53
ColinTaylor  53
RMerlin  6033
john9527  378
stevech  350
ryzhov_al  279
TeHashX  236
L&LD  232
RogerSC  199
sinshiva  147
sfx2000  133
joegreat  126
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  16855
Old Brainstorming...  2377
Old RT-AC68P  2309
Old Advice on...  2173
Old Looking for...  2152
Old RT-AC68U...  1566
Old Asus...  1547
Old Issues...  1472
Old AC-68...  1395
Old Does Auto...  1262
Old Asuswrt-Merli...  127
Old Advice on...  49
Old Brainstorming...  47
Old Looking for...  35
Old Issues...  25
Old Stable...  25
Old WiFi Rates  23
Old RT-AC68U...  22
Old Belkin Pre-N...  21
Old Network...  18


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