DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Address Mapping and Static Routes

  • alibear
  • Topic Author
  • Offline
  • New Member
  • New Member
More
27 Mar 2014 11:31 #79476 by alibear
Address Mapping and Static Routes was created by alibear
Hi All,
I have a 2830 as primary ADSL modem and router with a static IP range from my ISP.
I have some of these static IPs address mapped to internal NATed 192.168.10.x computers/devices.
This all worked nicely when I used the 2830 as the only router in the system, and the only private network was the 192.168.10.x directly served by the 2830 NAT.
However, I have now inserted a Linksys WRT54G in between the 2830 and the private network because it gives me the facility to do timed internet access based on MAC addresses for the purpose of controlling my children's access to the internet (it goes off after 10pm - that sort of thing).
So 2830 now NATs to 192.168.3.x, the WRT is on 192.168.3.2 and I have set up a static route on the 2830 - D:192.168.10.0 S:255.255.255.0 G:192.168.3.2 (on port LAN2). The WRT is configured for gateway mode and NATs 192.168.3.2 to 192.168.10.x.
Problem is, I can't now get to the address mapped devices from outside. I get a ping response from the external static IP, but I suspect that it's just from the 2830, not from the internal device. All internal devices can access the internet just fine, including streaming, XBOX although Vuze is reporting a 'firewall' issue.
I'm plugging away at resolving this, but any pointers would be much appreciated. eg Are the static routes and address mappings VLAN-sensitive? (LAN1 is serving 192.168.1.x, LAN2 is serving the 192.168.3.x subnet that the WRT is on)
Alternatively - and this would make life much easier - is there any (hidden?) feature to control internet access by MAC and time directly on the 2830? Is there any Draytek device that can do this?

Many thanks IA

Please Log in or Create an account to join the conversation.

More
01 Apr 2014 17:03 #79533 by sicon
Replied by sicon on topic Re: Address Mapping and Static Routes
I think I have grasped what you are trying to do..

If that was me I would run the 2 subnets off the 2830
enable VLAN (its not really enabling it as were aren't going to use dot1Q in the instance its just port based) and assign 192.168.3.1 to say port 2 on the 2830 and plug the WRT in to it with its static 192.168.3.2 address.
vlan0 will be LAN1 - your main network
vlan1 will be LAN2 - the children's network
Make sure VLAN0 is not ticked on port 2 in the VLAN page.
Mapp one of your spare WAN addresses to the WRT and then set up from there.
You can use the WRT as the DHCP or the 2830 its up to you
The 2830 will do schedules as well.
Are you using a switch anywhere or is it all Wifi?
If its all Wifi then it makes it allot easier
If you do it right with the ports interface's then you don't need static routes as the router is aware of the networks purely because they are directly connected.

Please Log in or Create an account to join the conversation.

Moderators: Sami