Static IP address - Google Chromecast

I'm thinking about buying a Chromecast since I bought a nexus 6 and I need to mirror my smartphone screen.
I have dchp disabled on my router and every network device has a static IP address.
Is it possible to assign a static IP address to Chromecast?
{Nexus 6 - Tapatalk}

I use Fing app it shows all addresses on network. I don't thing mine have ever changed. Maybe lock ip to mac address in router?

I don't know as I have never tried but usually manually adding a network will allow you to set a static IP.
Not sure if the CCast has manual setup and I'm not home to check.
I am going to assume you shut off DHCP as a security measure which isn't really effective since you can just manually set IP for most devices if you already have the password.
Better is to use MAC Address filtering and only allow approved MAC Addresses on the WiFi.
To keep IPs static to identify devices it is better to set DHCP reservations instead and if you want extra security via DHCP to limit the IP range to just enough to account for every reservation you have set.
The MAC Filter will stop any other devices from connecting and getting any IP of a unit that might be disconnected at the time of connection.

I just set static IPs for my devices at the router. Maybe you can try that too cause as far as I've seen, you can't mess with the CCast networking settings.
Sent from my Nexus 5 using XDA Free mobile app

My router hasn't the setting to set a static IP address through a Mac address. Do you think there is no way to connect my phone to a Chromecast?
{Nexus 6 - Tapatalk}

mouse100 said:
My router hasn't the setting to set a static IP address through a Mac address. Do you think there is no way to connect my phone to a Chromecast?
{Nexus 6 - Tapatalk}
Click to expand...
Click to collapse
It's called DHCP reservation on most routers. Static IP is nothing more than making sure the device (Mac Address) gets the same IP each time it connects which is essentially the same as a static IP.
Only difference is that the Router determines what IP you don't set it on the device itself.
But you do have to have the DHCP server running for it to work.
And until it is turned on you might not see any setting for DHCP reservation or IP assignment since you told the router not to assign any IPs by shutting off the DHCP server built into the router.

Unfortunately I haven't the option you are speaking about in my modem/router. So today Chromecast arrived but I wasn't able to connect it. I'm doing an RMA to Amazon I don't understand why Google didn't introduce this function.
{Nexus 6 - Tapatalk}

Why don't you just enable DHCP? If you are worried about leaving it on you could turn it off after. You would just need to turn it on when you rebooted the Chromecast. Or you could see if another device on your network supports up allocation by Mac address. Another idea would be to setup a dhcp range with only one address? Just some ideas, seems silly to RMA for no reason.

Worst to worse you could just run a DHCP server on your PC or something (assuming you have one) and have your chromecast get an IP from that?

mouse100 said:
Unfortunately I haven't the option you are speaking about in my modem/router. So today Chromecast arrived but I wasn't able to connect it. I'm doing an RMA to Amazon I don't understand why Google didn't introduce this function.
{Nexus 6 - Tapatalk}
Click to expand...
Click to collapse
Mouse what I'm saying is if you don't enable DHCP then the options to configure them will not appear..
It's possible that if you have one of those ISP provided Modem/Routers that you do not have access to the settings you need but more likely is it is labeled something obscure or has a Security level setting that doesn't suggest what level you need without looking in the Manual.
If neither is true then what you really should do is go out and get yourself a proper wireless router and put the modem into Bridge mode.
But there is no need or excuse to have DHCP turned off on a router it doesn't add any security protection as anyone can figure out what IP to use to get connected and it only complicates connecting new devices to the network.

It's not a security motivation. I have too many devices and I need to assign each of them a particular "IP" also because I need to reach them outside my intranet through a ddns service. For instance I have 2 IP cams, a NAS and other 2 routers connected to the main router and no one give me the ability to set a particular IP through a Mac address since they are the same brand (belkin).
{Nexus 6 - Tapatalk}

mouse100 said:
It's not a security motivation. I have too many devices and I need to assign each of them a particular "IP" also because I need to reach them outside my intranet through a ddns service. For instance I have 2 IP cams, a NAS and other 2 routers connected to the main router and no one give me the ability to set a particular IP through a Mac address since they are the same brand (belkin).
{Nexus 6 - Tapatalk}
Click to expand...
Click to collapse
Well you can have up to 253 devices attached to a router with DHCP.
What model Router do you have?

Also, you can use one part of the subnet for the dhcp range, and one part for manually configured devices. That would allow you to have dhcp available and keep all the devices that need static addresses configured how they already are.

Asphyx said:
Well you can have up to 253 devices attached to a router with DHCP.
What model Router do you have?
Click to expand...
Click to collapse
You can have closer to 16,777,213 devices attached to a router with DHCP (assuming you're happy to use the class A private space) - although this would be highly impractical obviously

Asphyx said:
Well you can have up to 253 devices attached to a router with DHCP.
What model Router do you have?
Click to expand...
Click to collapse
Belkin F7D2401.
@narse how can I do?
{Nexus 6 - Tapatalk}

On broadband routers the default DHCP setting is often to allocate IP addresses from the whole internal range (e.g. all of 192.168.0.0/24, from 192.168.0.1 through to 192.168.0.254). However you should be able to change the settings and set the scope yourself by setting a beginning and end address to use for DHCP. For example, if your existing devices that already have static addresses are 192.168.0.1 through to 192.168.0.10; then you could define a small range (e.g. 192.168.0.100 - 192.168.0.110) which will be used for DHCP. This will mean that they will all work and be able to speak to each other.
Let us know how you get on.

Kyonz said:
You can have closer to 16,777,213 devices attached to a router with DHCP (assuming you're happy to use the class A private space) - although this would be highly impractical obviously
Click to expand...
Click to collapse
LOL I figure lets get DHCP working first before we move onto the special sauce!
mouse100 said:
Belkin F7D2401.
@narse how can I do?
{Nexus 6 - Tapatalk}
Click to expand...
Click to collapse
I think I believe I know what is going on here...
(First let me say Belkin makes what could be the most useless manuals I have ever seen!)
I believe you may have DHCP on but....
1 - it is "Bridging" giving out external IPs not a private local subnet. or
2 - It is on but you have bypassed the DHCP server on everything else and maybe have too many wireless devices for the unit (cheap routers like this have this problem I have noticed despite with the 802.11 spec says should be possible)
If you log into the router config page using your browser "http://router/" you should see a DHCP client list selection. It may display no clients since you set everything for static. If you do not see that then DHCP is probably disabled. This is normally where the option to set DHCP reservations exists.
Under LAN settings should be where DHCP is turned on or off also where you would set the range of IP addresses it will give out.
If it is not there or the DHCP is turned on then the issue is likely too many wireless devices connected to the router...The issue being the router.
In that case you really want to put that modem into Bridge mode and get a good robust Wireless router that has much better controls to set your network properly.
---------- Post added at 03:37 PM ---------- Previous post was at 03:33 PM ----------
narse said:
On broadband routers the default DHCP setting is often to allocate IP addresses from the whole internal range (e.g. all of 192.168.0.0/24, from 192.168.0.1 through to 192.168.0.254). However you should be able to change the settings and set the scope yourself by setting a beginning and end address to use for DHCP. For example, if your existing devices that already have static addresses are 192.168.0.1 through to 192.168.0.10; then you could define a small range (e.g. 192.168.0.100 - 192.168.0.110) which will be used for DHCP. This will mean that they will all work and be able to speak to each other.
Let us know how you get on.
Click to expand...
Click to collapse
And this setting should be found in the Lan Settings section of the router!
What @narse is saying is perhaps the issue is DHCP server is causing a conflict with one of your static IP units because that IP is in it's DHCP lease range.
Good Catch @narse I hadn't thought of that!

Asphyx said:
LOL I figure lets get DHCP working first before we move onto the special sauce!
I think I believe I know what is going on here...
(First let me say Belkin makes what could be the most useless manuals I have ever seen!)
I believe you may have DHCP on but....
1 - it is "Bridging" giving out external IPs not a private local subnet. or
2 - It is on but you have bypassed the DHCP server on everything else and maybe have too many wireless devices for the unit (cheap routers like this have this problem I have noticed despite with the 802.11 spec says should be possible)
If you log into the router config page using your browser "http://router/" you should see a DHCP client list selection. It may display no clients since you set everything for static. If you do not see that then DHCP is probably disabled. This is normally where the option to set DHCP reservations exists.
Under LAN settings should be where DHCP is turned on or off also where you would set the range of IP addresses it will give out.
If it is not there or the DHCP is turned on then the issue is likely too many wireless devices connected to the router...The issue being the router.
In that case you really want to put that modem into Bridge mode and get a good robust Wireless router that has much better controls to set your network properly.
---------- Post added at 03:37 PM ---------- Previous post was at 03:33 PM ----------
And this setting should be found in the Lan Settings section of the router!
What @narse is saying is perhaps the issue is DHCP server is causing a conflict with one of your static IP units because that IP is in it's DHCP lease range.
Good Catch @narse I hadn't thought of that!
Click to expand...
Click to collapse
Yes you understood my situation. I have dhcp disabled and so no devices in list. The list is empty.
I could set a small IP range as @narse is suggesting but in this way it could be the problem that the device that is turned on firstly could take the first IP available (192.168.0.2, if the router has 192.168.0.1), and I could have a conflict of IP in my net. So if a particular PC, with IP 192.168.0.2, has emule and his ports opened and it's connected later, his IP could be taken by another computer/device. The solution could be reserve IP by Mac address as you're are saying if the option is present when I enable dchp. So I can try to enable dchp with small IP range and see
{Nexus 6 - Tapatalk}

mouse100 said:
Yes you understood my situation. I have dhcp disabled and so no devices in list. The list is empty.
I could set a small IP range as @narse is suggesting but in this way it could be the problem that the device that is turned on firstly could take the first IP available (192.168.0.2, if the router has 192.168.0.1), and I could have a conflict of IP in my net. So if a particular PC, with IP 192.168.0.2, has emule and his ports opened and it's connected later, his IP could be taken by another computer/device. The solution could be reserve IP by Mac address as you're are saying if the option is present when I enable dchp. So I can try to enable dchp with small IP range and see
{Nexus 6 - Tapatalk}
Click to expand...
Click to collapse
Not if the other devices are set to static IP already....
And I'm willing to bet that once you do turn on DHCP server you will get more options INCLUDING the ability to set DHCP reservations to set static IP for all devices on your network if your router does support that.
But you won't see those options until you turn DHCP on.
So just turn it on and set the DHCP range to be outside of any of the IP addresses you are currently using and see if the option shows up.
If it does then you can continue to use Static IP for things like Cameras and NAS if you want to just set the DHCP range accordingly.
I reserve the first 50 IPs for static use (Servers and NAS) and leave the rest assignable by DHCP.
For each type of device I use a different range of IPs (Cameras 80-89, Printers 90-99, CCast 200-210, Tablets 150-160, Phones 130-140 and Computers 100-129)
And I do all that via DHCP Reservation as it makes things easy to setup and add because I don't have to enter in all the IP and Subnet info just plug it in, turn it on and do everything else as far as network management from the router.
I even do the DynDNS from the router and use port forwarding to get whatever device I need.

Unfortunately I haven't that settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So no way to assign a static IP to chromecast through a MAC address. I need a better modem/router

Related

problem connecting to the house internet

Hi this is my first time on a site and I just wonder if anybody can solve my problem!
I,ve read a few posts and set my xda llI so that in connections my network card connects to work!Also have done all the rest and set it to internet just in case as well
My Isp in connections window is on the advanced tab and select networks on the network Management is set to My Isp.
my Wirles Lan Manager is status connected to network
My ssid is the one that all the house computors are set to,my mode is Infratructure and Tx is Auto.My channel is 6
my bssid is 00-18-2D etc etc.
My Mac is 00-09- etc ,etc.
My IP.169.254.168.73
signal quality is good
I,ve been onto the 192.168.0.1 website and added the mac address of the xda lli but when I try to get the internet on the xdalli to connect it justs says default page. I cannot seem to connect. is this normal or do I have to go through O2 to pay for another internet connection besides my home address one.Have I missed something out!Help would be greatly appreciated! thanks
Nilocsss
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
clearing the way so that I understand correctly!
kevcal said:
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
Click to expand...
Click to collapse
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
thanks for your response!
voxshots said:
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
Click to expand...
Click to collapse
thanks for replying ,my router is a netgear and the security is a wep key which I have disabled and i also tried the drop down menu "the internet" but still nothing! how would I find out on the phone what ethernet card it is running so that I can connect to that .
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
kevcal said:
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
Click to expand...
Click to collapse
Thanks kev for replying.
I have a hard wired lead to the router for one computor and 3 laptops connected by wifi and another computor connected by wifi.
the range or should I say the ip addresses are 192.168.0.3,192.168.0.4
upto 192.168.07.I,m at work at the moment but as soon as I get home tonight I'll set the wep key to disabled is there any other thing on the router that I need to do?
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
The dg834GT is pretty much the one that Virgin use, like I said in my earlier post.
I have found these particular routers to be a problem (sometimes) with my Alpine.
You should try to update the firmware.
kevcal said:
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
Click to expand...
Click to collapse
Well Done Kev!
It was the "open"on the phone and putting "open" on the router.I had to intiallely disable the wep key.then when I got connected,I reactivated the WEP key and I could not connect.So on the phone I unticked the automatically connect to my name of my router name and reput in my encryption key again and I was in and On line.Thanks to both of you(Kevcal and Voxshots) for helping me.Definately could not have done it without you Pair.I like the idea of using the screenshots so I,ll post a screenshot of all the settings on the phone and computor so that anybody else will be able to resolve there problems with all credits going to you people on the bottom!
Very happy to have helped and glad you sorted it out

Kies Air access from outside network issue

My desktop LAN and wifi are different network. My office network is 192.168.1.x and wifi router WAN IP is 192.168.1.254 and wifi router LAN network is 192.168.15.x
My Note connects to wifi router and gets 192.168.15.2. I got wifi router configured to give static DHCP IP to my phone and it always gets 192.168.15.2. I then added port mapping to forward TCP port 8080 to this IP.
So when I run Kies Air, it displays URL http://192.168.15.2:8080
and from my desktop I type http://192.168.1.254:8080 and IT DOES NOT WORK. As soon as I hit go, URL gets forwarded to http://192.168.1.254:8080/www/index.html (blank screen) which means browser did reach Kies Air service but then nothing goes further.
I had done similar port mapping with other similar kind of apps (AirDroid, LazyDroid App Desktop, Motorola's similar app) and it always used to work.
Laptops in the same n/w (i.e., 15.x) are able to connect to Kies Air without any issue. My wifi router is DLink DIR 655. Any clues?
disable DHCP from your wifi router and let all devices get their IP from your original router. that way, you will be in the same IP range.
Thanks for the reply. Yes that is one solution to set wifi router in AP mode. But problem is we don't have master dhcp server leasing out 198.168.1.x IPs. All desktop are given static IP and there is firewall deciding who is given access to where and to do what.
Sent from GNote.

[Q] Connecting to WiFi with static IP

Work WiFi... Our company uses a static IP. Well I can not get my phone to connect to the internet. The phone will connect to the router. It will obtain an IP but it will not connect to the internet. I've gone in changed settings in the phone to static IP.. used the DNS in the router as well as Google DNS and still no luck.. ios devices hook up to this router just fine after changing their static IP settings.. Any thoughts??
Whether you get an internet connection or not - assuming you're using the right password, encryption, mask, etc., is up to the settings in he router. Ask the network admin to set your phone's IP address and MAC address to get a full connection.

Chromecast behind 2 routers Losing it's DNS lock

Hi there. I am having trouble diverting the Chromecast's hardcoded DNS to Tunlr's DNS.
DD-WRT Router - 192.168.3.1
Main D-Link Router - 192.168.1.1
I read the FAQ and set up a DD-WRT router between my internet modem and my regular router.
I applied the IP tables rules from the forum and connected Chromecast to the DD-WRT's wifi. It worked!
I then turned off the DD-WRT system's wifi, and connected the router to the main D-Link system that runs my entire house.
I connected the chromecast to my main network, and tried to repeat the test. It did not work.
The ip tables command in DD-WRT appears to be ineffective when there is a router behind the DD-WRT system that everyone else is connected to.
Any ideas what could be causeing this and what i could do to fix it? I prefer not to run DD-WRT on my main network as it's kind of flaky on my hardware. I prefer to use it as a pass-through on my internet pipe and provide my wireless using a different router.
aaronk123 said:
The ip tables command in DD-WRT appears to be ineffective when there is a router behind the DD-WRT system that everyone else is connected to.
Any ideas what could be causeing this and what i could do to fix it? I prefer not to run DD-WRT on my main network as it's kind of flaky on my hardware. I prefer to use it as a pass-through on my internet pipe and provide my wireless using a different router.
Click to expand...
Click to collapse
Need to know how you have the two routers connected, but most likely it's because the DD-WRT can't "see" your Chromecast's IP address because they're being NAT-ed behind the D-Link router and therefore the iptables rules don't get applied.
Either change the DD-WRT iptables rules to use the D-Link router's WAN-side address instead of the Chromecast's LAN address, or try the static route to bogus gateway method on your main wireless router and take DD-WRT out of the equation.
I was thinking he's double NATing initially. Could still be an issue.
lovekeiiy said:
I was thinking he's double NATing initially. Could still be an issue.
Click to expand...
Click to collapse
Yeah. In that case the D-Link router knows 3rd Chromecast's IP but it's all a single IP to the DD-WRT router and that's going to be an address the DD-WRT router is giving to the D-Link router's WAN port.
I have a double NAT setup with different routers.
Sent from a device with no keyboard. Please forgive typos, they may not be my own.
bhiga said:
Yeah. In that case the D-Link router knows 3rd Chromecast's IP but it's all a single IP to the DD-WRT router and that's going to be an address the DD-WRT router is giving to the D-Link router's WAN port.
I have a double NAT setup with different routers.
Sent from a device with no keyboard. Please forgive typos, they may not be my own.
Click to expand...
Click to collapse
Doubling NATing is always a bad thing. It may not rear it's ugly head all the time, but when it does, it's quite frustrating. You really should only have one device routing traffic to your devices. Sound like you may need to bridge your WRT and DLink and setup traffic rules. I'm not familiar with WRT, so I don't know what's possible or not. Sounds to me your want to split your traffic between two private networks. I use personally use Smoothwall, which turns an old PC into a router, with added NICs. I have my home network split into three different networks independent from each other. So, if there is a breach, only a portion is breached. Entangled is another similar system, but it's done through setting up traffic rules, so I'm thinking you may be able to do so with WRT.
I use somewhat of a Double-NAT at my house. I have the Verizon FiOS router then have a DD-WRT. The FiOS router is plugged into the DD-WRT but then goes straight to a ISA server which does most of the routing.
I use a class-c for the "Edge" which is 192.168.x.x/255.255.255.0 and, a class-a for anything from the gateway to the inside of my network, which is 10.0.0.x/255.0.0.0.
I've never had a problem with DNS or DHCP. But I also have domain controllers and DNS/DHCP servers to handle this as well.
I don't suggest starting an enterprise level network in your house, but try at least to at least use the same ideas I've used here.
A much simpler solution:
http://forum.xda-developers.com/showpost.php?p=47609732&postcount=103
lovekeiiy said:
Doubling NATing is always a bad thing. It may not rear it's ugly head all the time, but when it does, it's quite frustrating. You really should only have one device routing traffic to your devices. Sound like you may need to bridge your WRT and DLink and setup traffic rules. I'm not familiar with WRT, so I don't know what's possible or not. Sounds to me your want to split your traffic between two private networks. I use personally use Smoothwall, which turns an old PC into a router, with added NICs. I have my home network split into three different networks independent from each other. So, if there is a breach, only a portion is breached. Entangled is another similar system, but it's done through setting up traffic rules, so I'm thinking you may be able to do so with WRT.
Click to expand...
Click to collapse
Thanks, yes, I know. My situation is peculiar, but it works.
 @aaronk123 should pay heed though.
Unfortunately double NATing is more common nowadays since ISPs like to provide combination modem/router devices nowadays. :\
Regardless, I agree with @zaqh - the DD-WRT router is probably unnecessary and should be avoided, especially if it's flakey.
bhiga said:
Thanks, yes, I know. My situation is peculiar, but it works.
@aaronk123 should pay heed though.
Unfortunately double NATing is more common nowadays since ISPs like to provide combination modem/router devices nowadays. :\
Regardless, I agree with @zaqh - the DD-WRT router is probably unnecessary and should be avoided, especially if it's flakey.
Click to expand...
Click to collapse
You can disable the NAT and wifi on the combo router to use your own on a lot of those modems.
bhiga said:
Unfortunately double NATing is more common nowadays since ISPs like to provide combination modem/router devices nowadays. :\
Click to expand...
Click to collapse
???
Just disable DHCP on your 2nd router, set 2nd router IP to 192.168.1.2 (not required, as long as both routers don't have the same IP, doesn't even need to be in the same range), plug ethernet cable from 1st router into 2nd routers LAN port, not WAN port.
Done. No double nat, no problems.
-Jamie M.
toysareforboys said:
Just disable DHCP on your 2nd router, set 2nd router IP to 192.168.1.2 (not required, as long as both routers don't have the same IP, doesn't even need to be in the same range), plug ethernet cable from 1st router into 2nd routers LAN port, not WAN port.
Click to expand...
Click to collapse
Been there, done that. Problem in this case is that the iptables filtering rules on the DD-WRT side won't apply to the OP's wireless traffic since it'll bypass the DD-WRT entirely, unless wireless clients can be given a gateway other than the router serving wireless.
bhiga said:
Been there, done that. Problem in this case is that the iptables filtering rules on the DD-WRT side won't apply to the OP's wireless traffic since it'll bypass the DD-WRT entirely, unless wireless clients can be given a gateway other than the router serving wireless.
Click to expand...
Click to collapse
Ahhh, I didn't understand why he was using the iptables in dd-wrt. Thanks for the info.
-Jamie M.

Can't connect Chromecast to Netflix

I took delivery if a Chromecast today and the setup is a breeze. As I'm in Europe I have changed some settings in order to access the American version of Netflix because if the extended selection of films and series. It runs fine on my Galaxy Note 8, iMac, and Xperia Z1. But it can't run on my TV. Every time I try to cast a film on it I get this error: "Whoops, something went wrong...Device Messaging Error. There was an unrecoverable error on your computer. Please reload the page to resume controlling your device."
I have done some searches and found various possible solutions, but none worked. This is what I've tried:
- Signed out of all devices in Netflix.
- Reset the Chromecast.
- Disabled WWM on the router.
I doubt it's an issue with Netflix as it works fine on all devices except on the TV. Sometimes I do see there is an error on my iMac saying that Microsoft Silverlight has crashed but that doesn't seem to affect anything. Is there anything else I could do to troubleshoot?
slonn said:
I took delivery if a Chromecast today and the setup is a breeze. As I'm in Europe I have changed some settings in order to access the American version of Netflix because if the extended selection of films and series. It runs fine on my Galaxy Note 8, iMac, and Xperia Z1. But it can't run on my TV. Every time I try to cast a film on it I get this error: "Whoops, something went wrong...Device Messaging Error. There was an unrecoverable error on your computer. Please reload the page to resume controlling your device."
Click to expand...
Click to collapse
Please tell us...
What make/model router do you have?
Can you describe how you "changed some settings" to access US Netflix?
Do YouTube and other services work?
If you use your normal DNS settings and access your local Netflix, does it work okay?
Chromecast is its own device and does its own DNS lookups and Internet requests after receiving the "go play this video" request, so if you're redirecting DNS on specific IPs/devices (rather than everything on your network), then you need to be sure the Chromecast IP/device is being redirected.
Otherwise your phone/tablet/computer is in Mens and Chromecast is in the Ladies and...
Phone/tablet/computer: "Excuse me, could you get my phone next to the urinal?"
Chromecast: "What's a urinal??"
bhiga said:
Please tell us...
What make/model router do you have?
Can you describe how you "changed some settings" to access US Netflix?
Do YouTube and other services work?
If you use your normal DNS settings and access your local Netflix, does it work okay?
Chromecast is its own device and does its own DNS lookups and Internet requests after receiving the "go play this video" request, so if you're redirecting DNS on specific IPs/devices (rather than everything on your network), then you need to be sure the Chromecast IP/device is being redirected.
Otherwise your phone/tablet/computer is in Mens and Chromecast is in the Ladies and...
Phone/tablet/computer: "Excuse me, could you get my phone next to the urinal?"
Chromecast: "What's a urinal??"
Click to expand...
Click to collapse
Thanks for your reply.
The router is a Cisco EPC3925.
I used the instructions from the Unblock-us website. Changed the DNS settings to 208.122.23.23 and 208.122.23.22 as instructed. But I also changed the DNS settings to that on the Cisco router - otherwise the US material would not show on my tablet and phone (only on the iMac).
YouTube and Plex work just fine when casting material to the TV.
When using the normal DNS settings from the local Netflix it works fine.
slonn said:
Thanks for your reply.
The router is a Cisco EPC3925.
I used the instructions from the Unblock-us website. Changed the DNS settings to 208.122.23.23 and 208.122.23.22 as instructed. But I also changed the DNS settings to that on the Cisco router - otherwise the US material would not show on my tablet and phone (only on the iMac).
YouTube and Plex work just fine when casting material to the TV.
When using the normal DNS settings from the local Netflix it works fine.
Click to expand...
Click to collapse
Netflix and hulu etc are having issues this morning if you are on a Uverse, if your redirect is a uverse one that may be the issue as well
slonn said:
Thanks for your reply.
The router is a Cisco EPC3925.
I used the instructions from the Unblock-us website. Changed the DNS settings to 208.122.23.23 and 208.122.23.22 as instructed. But I also changed the DNS settings to that on the Cisco router - otherwise the US material would not show on my tablet and phone (only on the iMac).
YouTube and Plex work just fine when casting material to the TV.
When using the normal DNS settings from the local Netflix it works fine.
Click to expand...
Click to collapse
Thanks for the info.
Seems like your core problem is that by default Chromecast uses the Google DNS servers regardless of what DHCP provides, so even though you've set your router so all its DHCP clients are being told to use the Unblock-us DNS, Chromecast still isn't. So all your devices are in the Mens, with the exception of Chromecast, which still goes to the Ladies, even though you tell it go to the Mens, thus it responds with "What's a urinal??" when you reference things in the Mens (US stuff).
Chromecast will fall back to using the DHCP-supplied DNS server(s) only if it doesn't get a response from Google's DNS.
Normally the ways around this would be to:
Route Google DNS requests to a bogus/non-existent gateway
Block Google DNS requests entirely
so Chromecast does not get a response from Google's DNS. Which one works depends on how your router handles the blocking/forwarding. You want a timeout or destination unreachable, rather than an outright refusal.
But... I looked in the manual for your router (seems to be a VoIP+modem+router combo) and unfortunately I couldn't find any way to add a static route, nor did I find a way to block or forward requests specifically for Google DNS.
So unless the ability to add static routes or the ability to block port requests for specific WAN destinations has been added, you may be a bit stuck. Definitely check through your router's config to see though, often times the manual lags far behind the current feature set.
However, if you don't have the necessary options in your router, that leaves you with these possibilities:
Add a router that can provide blocking or redirection via one of
static routes
IP-specific port-blocking
iptables rules
to provide network to Chromecast and devices controlling Chromecast (they need to be on the same subnet).
VPN - which is beyond my area of expertise for this usage.
Get a rooted Chromecast so you can use Eureka-ROM to enable use of DHCP-supplied DNS rather than Google DNS
If you go with option (a), you will have double-NAT, which can be problematic.
You would connect the new (filtering) router's WAN side to your existing router's LAN site. You cannot connect the two routers LAN-LAN as the new router will only filter/redirect traffic when it does the IP translation from LAN to WAN.
If your existing router has a Bridge option for its LAN connection, that would avoid double-NAT (bridge will connect the WAN side to LAN side transparently and disable all router NAT and filtering), but it's more likely that you would get a Static Route option before you get a bridge option.
Anyway, contemplate a bit, first check if there's Static Routes in your router's config. Sorry this has been such a verbose post.
bhiga said:
So unless the ability to add static routes or the ability to block port requests for specific WAN destinations has been added, you may be a bit stuck. Definitely check through your router's config to see though, often times the manual lags far behind the current feature set.
Anyway, contemplate a bit, first check if there's Static Routes in your router's config. Sorry this has been such a verbose post.
Click to expand...
Click to collapse
Many thanks for your detailed reply!!
I don't know much about modems/routers so would be a bit wary of setting up a new router. I checked in the setting on the modem/router provided by my ISP and there is an option to add static ip. Would that be a way to block Google's DNS?
slonn said:
Many thanks for your detailed reply!!
I don't know much about modems/routers so would be a bit wary of setting up a new router. I checked in the setting on the modem/router provided by my ISP and there is an option to add static ip. Would that be a way to block Google's DNS?
Click to expand...
Click to collapse
Unfortunately not - and don't change that - you'll lose Internet connection.
While you're there, though, can tell me what options you have in the Working Mode dropdown where it currently says Router Mode?
DON'T change it though - that's likely to break your Internet connection too.
bhiga said:
While you're there, though, can tell me what options you have in the Working Mode dropdown where it currently says Router Mode?
DON'T change it though - that's likely to break your Internet connection too.
Click to expand...
Click to collapse
There's Router Mode and Bridge Only in the dropdown.
slonn said:
There's Router Mode and Bridge Only in the dropdown.
Click to expand...
Click to collapse
Cool. If you decide to get another router, you should be able to switch that dropdown to Bridge Only and connect your existing router's LAN port to the new router's WAN/Internet port, and it should avoid double-NAT-ing.
Essentially your existing router would only be used as a modem (and VoIP, if you're using VoIP), and you'd disable old router's WiFi and do all your DHCP, WiFi, etc on your new router.
As a rule I try (best I can) to avoid Dual Purpose networking devices as I have found they do neither task very good....
Unfortunately ISPs are moving towards these all in one boxes (Modem/Router/WiFi) and it Wreaks havoc on those who have their own networking gear....
Whats worse is they are locking the configs of these devices so that you can't change them easily to get it to do what you want.
bhiga said:
Cool. If you decide to get another router, you should be able to switch that dropdown to Bridge Only and connect your existing router's LAN port to the new router's WAN/Internet port, and it should avoid double-NAT-ing.
Essentially your existing router would only be used as a modem (and VoIP, if you're using VoIP), and you'd disable old router's WiFi and do all your DHCP, WiFi, etc on your new router.
Click to expand...
Click to collapse
Sounds too simple to be true. I do have an extra router so perhaps I'll test it out at some stage during the week. Thanks for your help so far!
slonn said:
Sounds too simple to be true. I do have an extra router so perhaps I'll test it out at some stage during the week. Thanks for your help so far!
Click to expand...
Click to collapse
You can also try this simple test without the router to see if it works....
Connect your computer directly to the Modem/Router...
Set the Router to Bridge Only mode and if your PC gets an outside (Public) IP Address then you know it will work with an external Router.
The only issue you might face is sometimes if the ISP provided the Modem they program it not to accept that change without it coming from their side.
I connected a new router (ASUS RT-N56U) to the existing router/modem. The existing was set to Bridge Mode with DHCP off and it can connect to the internet but not cast any show (local or US) to the TV. Not sure what details are needed for you to help me getting it to work. I can cast local Netflix onto my phone and tablet. YouTube videos can cast to TV.
slonn said:
I connected a new router (ASUS RT-N56U) to the existing router/modem. The existing was set to Bridge Mode with DHCP off and it can connect to the internet but not cast any show (local or US) to the TV. Not sure what details are needed for you to help me getting it to work. I can cast local Netflix onto my phone and tablet. YouTube videos can cast to TV.
Click to expand...
Click to collapse
Not totally up on the settings screens for your new router but check to see what IP Address it has under the Internet settings.
Every Router has two IP Addresses, one local (192.168.x.x) and one Public (should be provided by the Modem in bridge mode),
If both are local IPs then your double NATing which will easily break Netflix. If one is a Public IP then check other settings in the new router most notably UPnP and Multicast.
Also ( sorry dumb question follows) but you did make sure to set up the CCast to connect to the NEW router not the old one?
Asphyx said:
Not totally up on the settings screens for your new router but check to see what IP Address it has under the Internet settings.
Every Router has two IP Addresses, one local (192.168.x.x) and one Public (should be provided by the Modem in bridge mode),
If both are local IPs then your double NATing which will easily break Netflix. If one is a Public IP then check other settings in the new router most notably UPnP and Multicast.
Also ( sorry dumb question follows) but you did make sure to set up the CCast to connect to the NEW router not the old one?
Click to expand...
Click to collapse
There are two IP addresses: 192.168.1.2, 192.168.1.254, first one local and the other public. I can't locate UPnP and Multicast in the router.
I made sure to set the Chromecast to the new network. The old one shows but it's not connected to the internet. It's in bridge mode.
slonn said:
There are two IP addresses: 192.168.1.2, 192.168.1.254, first one local and the other public. I can't locate UPnP and Multicast in the router.
I made sure to set the Chromecast to the new network. The old one shows but it's not connected to the internet. It's in bridge mode.
Click to expand...
Click to collapse
As I suspected...Your Double NATing is the problem....Your new Router is not actually breaching the Modem to the Internet.
This modem also has WiFi built in I bet....
The DHCP you shut off probably doesn't apply to anything directly plugged into the Modem. Just the WiFi.
You need to look for a setting that gives you the option of passing a local/internal (192.168.x.x) IP or Outside IP and set it to pass an Outside IP. (this is on the Modem BTW)
If the Router reports any IP that starts off 192.168 for Public then you are not set up correctly.
If you see the option to change from local IP to Outside IP but it is greyed out then your ISP locked it out and they must make the changes on their end.
Call and tell them your Modem is in Bridge mode but doing double NAT translation and you can't breach the Modem with your router.
slonn said:
There are two IP addresses: 192.168.1.2, 192.168.1.254, first one local and the other public. I can't locate UPnP and Multicast in the router.
I made sure to set the Chromecast to the new network. The old one shows but it's not connected to the internet. It's in bridge mode.
Click to expand...
Click to collapse
As @Asphyx said, there's double-NAT going on. This may be a problem, but the core problem at the moment is that new router's WAN and LAN are using the same subnet.
I recommend...
Turn off the WiFi on your old router, if you can.
Look for the stuff Asphyx mentioned.
If you get stuck, call your ISP
Ask them to enable Bridge mode and explain that you're looking for more robust routing and firewall features
Ask if there's a firmware update for your existing modem/router combo to provide this, if there is a different ISP-provided modem/router you can use that has better features, or if they can provide/recommend a modem-only device (if they don't/can't enable Bridge mode)
Ideally, you want to see is your new router getting a WAN address that is not 192.168.x.x
If you reach that point, you're done.
If not, you at least want your new router getting a WAN address that is in a different subnet from its local network.
On your new router, change the Local address to 192.168.2.2
That will switch things on the new router to the 192.168.2.x subnet. Now the new router and old router will be on different subnets.
Make sure any client devices (wired or wireless) that have static IPs set are changed to use IP 192.168.2.something and gateway 192.168.2.2
My network is double-NAT and I have not had issues with Chromecast, streaming, VPN, or anything else, but you definitely should avoid double-NAT whenever possible.

Categories

Resources