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.




181 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
2283 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



181 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.

 
 
 
 


2283 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

2484 posts

Uber Geek
+1 received by user: 915

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



181 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



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 »

UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28


Vodafone says Internet of Things (IoT) crucial for digital transformation
Posted 10-Nov-2017 10:06


Police and Facebook launch AMBER Alerts system in NZ
Posted 9-Nov-2017 10:49


Amazon debuts Fire TV Stick Basic Edition in over 100 new countries
Posted 8-Nov-2017 05:34


Vodafone VoIP transition to start this month
Posted 7-Nov-2017 12:33


Spark enhances IoT network capability
Posted 7-Nov-2017 11:33


Vocus NZ sale and broadband competition
Posted 6-Nov-2017 14:36


Hawaiki reaches key milestone in landmark deep-sea fibre project
Posted 4-Nov-2017 13:53


Countdown launches new proximity online shopping app
Posted 4-Nov-2017 13:50


Nokia 3310 to be available through Spark New Zealand
Posted 4-Nov-2017 13:31


Nest launches in New Zealand
Posted 4-Nov-2017 12:31


Active wholesale as Chorus tackles wireless challenge
Posted 3-Nov-2017 10:55



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.