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
+1 received by user: 13

Subscriber

Topic # 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
2499 posts

Uber Geek
+1 received by user: 748

Trusted
Lifetime subscriber

  Reply # 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
+1 received by user: 13

Subscriber

  Reply # 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.

 
 
 
 


2499 posts

Uber Geek
+1 received by user: 748

Trusted
Lifetime subscriber

  Reply # 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

2532 posts

Uber Geek
+1 received by user: 940

Subscriber

  Reply # 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
+1 received by user: 13

Subscriber

  Reply # 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


Donate via Givealittle


Twitter »

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 »

Amazon introduces new Kindle with adjustable front light
Posted 21-Mar-2019 20:14


A call from the companies providing internet access for the great majority of New Zealanders, to the companies with the greatest influence over social media content
Posted 19-Mar-2019 15:21


Two e-scooter companies selected for Wellington trial
Posted 15-Mar-2019 17:33


GeForce GTX 1660 available now
Posted 15-Mar-2019 08:47


Artificial Intelligence to double the rate of innovation in New Zealand by 2021
Posted 13-Mar-2019 14:47


LG demonstrates smart home concepts at LG InnoFest
Posted 13-Mar-2019 14:45


New Zealanders buying more expensive smartphones
Posted 11-Mar-2019 09:52


2degrees Offers Amazon Prime Video to Broadband Customers
Posted 8-Mar-2019 14:10


D-Link ANZ launches D-Fend AC2600 Wi-Fi Router Protected by McAfee
Posted 7-Mar-2019 11:09


Slingshot commissions celebrities to design new modems
Posted 5-Mar-2019 08:58


Symantec Annual Threat Report reveals more ambitious, destructive and stealthy attacks
Posted 28-Feb-2019 10:14


FUJIFILM launches high performing X-T30
Posted 28-Feb-2019 09:40


Netflix is killing content piracy says research
Posted 28-Feb-2019 09:33


Trend Micro finds shifting threats require kiwis to rethink security priorities
Posted 28-Feb-2019 09:27


Mainfreight uses Spark IoT Asset Tracking service
Posted 28-Feb-2019 09:25



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.