Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




182 posts

Master Geek


#147082 8-Jun-2014 17:28
Send private message

Hi everyone,

I'm having a bit of a dumb moment here, where I'm struggling to deploy the following set up in my house:


1. I have a primary router, an Asus RT-AC66U (running modified Merlin FW), connected to a Vodafone (old TCL) Cable box, with Vodafone DNS settings.

2. I now want to connect a secondary router, a Cisco E4200 (running modified Tomato FW) to the AC66U, so that I can plug in my Roku 3 and Chromecast to UnoTelly but:

 


a. I want all devices connected within the second router to be on the same subnet as the first router (192.168.1.x), rather than two subnets (192.168.1.x for the first and 192.168.5.x for the second)
b. I want all devices connecting through the second router to have different DNS settings than the first router

 

I want this set up because I want to the Roku 3 and Chromecast to be discoverable under the same network. Otherwise, I have to switch networks with my mobile devices/computers in order to be able to stream through the Roku or (especially) the Chromecast.


Is there a way to do this? When I switch off DHCP in the second router and turn it to router mode, I'm able to have all devices connecting through the same subnet (192.168.1.x), but the devices don't seem to pick up the DNS settings I stick into the Cisco. So while I can get the second device operating like a switch, I cannot seem to force devices connecting to the second router to use the DNS server I want them to.


I realise that there is another easier alternative: using IPTABLES in the first router to just force DNS settings on particular devices, and sticking to just one router. But somehow, ever since the Netflix problem started up, I cannot use Netflix on the Roku when I do this, even though I can all other services like Hulu+, and Amazon. Netflix on the Roku *only* works when the whole router's DNS settings are configured to UnoTelly... suggesting that there's some leakage that I am unable to catch.


Any ideas / help would be welcome :)



Cheers
V

Create new topic
2768 posts

Uber Geek

Trusted
Lifetime subscriber

  #1061391 8-Jun-2014 18:16
Send private message

Is the second router really necessary?  Can you not give these devices static IP addresses and/or fixed DNS settings?




"4 wheels move the body.  2 wheels move the soul."

“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams



182 posts

Master Geek


  #1061397 8-Jun-2014 18:29
Send private message

Hi,

No, the Roku doesn't allow static DNS - it just uses a router assigned DNS. When I use IPTABLES to force the Roku to use a certain DNS, netflix doesn't work, so the second router seems to be the only way to do it.

 
 
 
 


2768 posts

Uber Geek

Trusted
Lifetime subscriber

  #1061415 8-Jun-2014 19:04
Send private message

Hmmm... to have both sets of gear on the one logical network with 2 routers would require one router to be in bridge mode which would stop your ability to have separate DHCP.

You might have to set your main DHCP to give out the necessary DNS settings for these appliances and manually configure the general use gear like PCs/tablets to use your ISP's DNS settings or Google's DNS servers in the case of wireless laptops that move to other networks.  PITA but not the end of the world.




"4 wheels move the body.  2 wheels move the soul."

“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams

2564 posts

Uber Geek


  #1061420 8-Jun-2014 19:17
Send private message

The DNS settings are distributed by DHCP, not simply by which router they are physically connected to. You can only, realistically, run one DHCP server on a subnet with consumer gear, so you're going to have to either manually assign the 'normal' DNS devices, or use two different subnets.



182 posts

Master Geek


  #1061459 8-Jun-2014 20:30
Send private message

The ideal solution is an IPTABLES entry like this:

iptables -t nat -A PREROUTING -i br0 -s 192.168.1.105 -p udp --dport 53 -j DNAT --to-destination 103.6.212.24
iptables -t nat -A PREROUTING -i br0 -s 192.168.1.105 -p tcp --dport 53 -j DNAT --to-destination 103.6.212.24
iptables -t nat -A PREROUTING -p udp -d 8.8.4.4 -j DNAT --to-destination 54.252.112.136
iptables -t nat -A PREROUTING -p udp -d 8.8.8.8 -j DNAT --to-destination 103.6.212.24
iptables -t nat -A PREROUTING -p udp -d 208.67.222.222 -j DNAT --to-destination 54.252.112.136
iptables -t nat -A PREROUTING -p udp -d 208.67.220.220 -j DNAT --to-destination 103.6.212.24
iptables -t nat -A PREROUTING -p tcp -d 8.8.4.4 -j DNAT --to-destination 54.252.112.136
iptables -t nat -A PREROUTING -p tcp -d 8.8.8.8 -j DNAT --to-destination 103.6.212.24
iptables -t nat -A PREROUTING -p tcp -d 208.67.222.222 -j DNAT --to-destination 54.252.112.136
iptables -t nat -A PREROUTING -p tcp -d 208.67.220.220 -j DNAT --to-destination 103.6.212.24


But, for some reason, Netflix just doesn't work when you set it up this way (although everything else works like a wonder!).

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Samsung Announces 2020 QLED TV Range
Posted 20-May-2020 16:29


D-Link A/NZ launches AI-Powered body temperature measuring system
Posted 20-May-2020 16:22


NortonLifeLock Online Banking Protection now available for New Zealand banks
Posted 20-May-2020 16:14


SD Express delivers new gigabyte speeds for SD memory cards
Posted 20-May-2020 15:00


D-Link A/NZ launches Nuclias cloud managed network solution hosted in Australia
Posted 11-May-2020 17:53


Logitech introduces new video streaming solution for home studios
Posted 11-May-2020 17:48


Next generation Volvo cars to be powered by Luminar LiDAR technology
Posted 7-May-2020 13:56


D-Link A/NZ launches Wi-Fi Certified EasyMesh system
Posted 7-May-2020 13:51


Spark teams up with Microsoft to bring Xbox All Access to New Zealand
Posted 7-May-2020 13:01


Microsoft plans to establish its first datacenter region in New Zealand
Posted 6-May-2020 11:35


Genesis School-gen has joined forces with Mind Lab Kids
Posted 1-May-2020 12:53


Malwarebytes expands into privacy with fast, frictionless VPN
Posted 30-Apr-2020 16:06


Kordia to donate TV airtime on Channel 200 to community groups
Posted 30-Apr-2020 16:00


OPPO A91 is a high specs mid-range smartphone
Posted 23-Apr-2020 16:44


NordVPN rolling out NordLynx new generation VPN protocol based on WireGuard
Posted 23-Apr-2020 16:37



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.