Sign in with
Sign up | Sign in
Your question

Setting up a secondary router to allow connection to only one host on different subnet

July 18, 2013 2:20:16 AM

Hi there folks,

Basicly where i need help with is this:
I have a secondary router with wireless. I want to set that router up on a different subnet with mac filter and not communicate with the main router, not giving access on all pc's and the internet, but do on only one ip on that main subnet.

I've tried allot but as something should work i'm not getting results.

Main router: 192.168.1.254 with dns to the outside world
NAS to access from another subnet is configured with the main router: 192.168.1.101
The secondary router is 192.168.224.254 BUT should not have access / setup to use the 192.168.1.254 (gateway, dhcp, dns), because if it does, the client get's an ip from the Main router because that's a gigabit network and the dhcp response time is faster the secondary router, which results in enabeling internet access, which I don't want.

If access by my neighbour is established, i want to let hem execute a bat file, that's converted to .exe with a route add in it (must keep it open) opens up the explorer location with username and password and upon close deletes that route add.

The subnet of the secondary routers LAN IP is 255.255.0.0 by the way.
The main router is 255.255.255.0

I know it's not waterproof, but this is what I need. If there are any remarks for how to do this different, comments are welcome.

Note that all configurations i've tried (8 hours puzzling) did not result in success.
The greatest problem is most likely that the route add does not work, when dhcp / router does not have information about the other network (read gateway/ip/dns main router).

e.g. this did not work at all ROUTE ADD 192.168.0.0 MASK 255.255.0.0 192.168.224.254 nor
ROUTE ADD 192.168.1.101 MASK 255.255.255.255 192.168.224.254

Please be of help if you have the time

Kind regards

Martijn
!