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.




173 posts

Master Geek
+1 received by user: 12

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
2278 posts

Uber Geek
+1 received by user: 650

Trusted
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



173 posts

Master Geek
+1 received by user: 12

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.

 
 
 
 


2278 posts

Uber Geek
+1 received by user: 650

Trusted
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

2474 posts

Uber Geek
+1 received by user: 912

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.




Windows 7 x64 // i5-3570K // 16GB DDR3-1600 // GTX660Ti 2GB // Samsung 830 120GB SSD // OCZ Agility4 120GB SSD // Samsung U28D590D @ 3840x2160 & Asus PB278Q @ 2560x1440
Samsung Galaxy S5 SM-G900I w/Spark



173 posts

Master Geek
+1 received by user: 12

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



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 »

Vodafone TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



Geekzone Live »

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



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.