Related
I've been struggling with OpenVPN on my Vario III on T-Mobile and hope someone can throw me a bit of a lifeline.
I can connect to my OpenVPN (running on my WRT54GS router) via wifi but the problem is when I try over 3G. Even when I've specified the provider and ticked "exclusive", it manages to connect to my OpenVPN server but I get no further connectivity (to webpages etc).
As said, via wifi this config on my Kaiser works perfectly...
Code:
remote xxxxxx.homeip.net
port 22
dev tap
secret "\\Program files\\OpenVPN\\config\\secret.key"
proto tcp-client
resolv-retry infinite
nobind
comp-lzo
cipher AES-256-CBC
route gateway 192.168.xxx.xxx
redirect-gateway
dhcp-option DNS 192.168.xxx.xxx
but when tried via 3G it seems to have a problem with setting the routing..
Code:
Mon Oct 22 21:58:00 2007 ROUTE: route addition failed using CreateIpForwardEntry: The parameter is incorrect.
Just wondering if there is something either with the T-Mobile network or the Vario III which is specifically stopping me from using OpenVPN
Or are my settings misconfigured?
I've also attached a full copy of the log.
Thanks for any help you can give (Give generously)
CP
Sounds suspiciously like a NAT traversal or proxy issue to me. On the HSDPA network, there's a proxy in the picture. I don't believe that's the case for the Edge network. That could easily be the cause of the problem.
Surely once the connection has been established the NAT issue shouldn't be a problem?
TBH I thought the route addition problem was due to the software being unable to update the local routing table?
NAT traversal issues often manifest themselves as connections that look like they're established, then die immediately. The VPN participants have to know the actual IP addresses of the devices involved, and understand that NAT is happening. Proxies also need to play a role in that process since they're effectively "standing in" for your device. And they may be configured not to permit IPSec traffic at all.
What you've described sounds exactly like NAT traversal issues - the negotiation appears to go just fine, but the actual connection dies on the vine. Since the end points don't have the right data from the negotiation (actual valid addresses to build the tunnel around), the route they try to build is invalid and fails.
In your log, it's impossible to tell since the IP addresses have been all translated to xxx.xxx.xxx.xxx. But I suspect that the ones up until the "TCP connection established with..." message are all displaying valid public IP addresses, and somewhere very shortly after that they start displaying private RFC 1918 addresses.
Proxies + NAT +IPSec = small nightmares. This is one of the reasons SSL VPNs have gained significantly in popularity.
Try Hamachi vpn
https://secure.logmein.com/products/hamachi/vpn.asp
Surur
PerfAlbion said:
In your log, it's impossible to tell since the IP addresses have been all translated to xxx.xxx.xxx.xxx. But I suspect that the ones up until the "TCP connection established with..." message are all displaying valid public IP addresses, and somewhere very shortly after that they start displaying private RFC 1918 addresses.
Click to expand...
Click to collapse
You have PM
Quick update:
I've just connected my Laptop to the internet via my Kaiser using 3G.
Ran OpenVPN and it connected without a problem.
Technically this would suggest that I should be able to connect with my kaiser but theres either a problem with my config or a bug in the PPC openvpn software :S
I haven't tried on UDP yet which will be my next test....
Any ideas?
Blimey, I didn't know there was a PPC client! I'll try it to see if it works with my setup.
Well I can't even get it to talk to my server so won't be able to help !
Fire up the card in your laptop and take a look at the IP address assigned to your machine. Since it's a different service, they may not be passing you through the proxy that's in place for the Kaiser. If you've received a public address, then you're on a "different network" even though both are 3G services.
PerfAlbion said:
Fire up the card in your laptop and take a look at the IP address assigned to your machine. Since it's a different service, they may not be passing you through the proxy that's in place for the Kaiser. If you've received a public address, then you're on a "different network" even though both are 3G services.
Click to expand...
Click to collapse
?? When you connect a laptop via BT to the kaiser, (using internet sharing) it creates a NAT which the traffic is passed over through the 3G service. Essentially using the same service..
Unless you mean the "service" between the windows software & the PPC/WM software is different?
Plus how'd you mean fire up the card in my laptop?
Cheers for your help on this btw.
I'm assuming that the Laptop data service and the PDA data service are treated differently within the AT&T network. While the PDA passes through a proxy, I suspect the laptop does not.
When I say "fire up the laptop card," I mean establish a connection and look at your IP address (ipconfig from a command prompt will show it). It may be a different IP address range than the PDA receives (which you could see using VxIPConfig or VxUtils). Even if it's within the same range, it may be bypassing the proxy.
So while you're using essentially the same technology, I suspect the services are implemented very differently, and that's what we're trying to sort out.
I dont believe it!!!
I downloaded VM Net Brower checked what IP addresses were being assigned and connected successfully! Loaded up www.whatismyip.org and it came up with the proxy of my PC at home.
Unfortunately, my phone was running incredibly slow and thought it best to do a soft reset... afterwards no matter what I do, I can't connect. I just cant figure out why or replicate what I did
Argh.. this is getting to me now... next on the agenda is to try changing the port number from 22 to 8080 or 80 and see what happens.
Hey coders,
I have a question regarding the networking subsystem in Android.
I know that dhclient.conf in linux will allow a "timeout" parameter that lets you set the DHCP request timeout. I'm wondering if there's some way to do that in Android. It's not immediately obvious to me, so that's why I'm asking.
Before, when I was stock, my phone had no issues connecting to my work's wireless SSID--even though it would sometimes take a long time to obtain an IP address, it would eventually connect.
Now, I've flashed CyanogenMod 5.0.5.3-N1, and I can still associate with my work's wireless network, but it appears to timeout the attempt to obtain an IP address too soon. My Palm Pre and my laptop can connect to the same, and I've verified that my stock ROM can also still connect, but when I flash to CM, I can no longer obtain an IP address successfully anymore.
I'm wondering how difficult it would be to modify the DHCP obtain IP timeout?
Thanks everyone!
--Hans
same problem here as well also on cm5.0.3.1 and 5.0.6.test2...
Haven't tried modifying it, but you can look at /system/etc/dhcpcd/dhcpcd.conf. Here's a man page.
Doesn't seem to help. I added "timeout 360" to the bottom of dhcpcd.conf and it doesn't increase the time that passes between "obtaining IP Address from <SSID>" and "unsuccessful".
Must be something else in android?
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
Is it possible to change the ip-address range, so that a dhcp client receives an adress from a given subnet.
I looked for a dhcp server on the galaxy or dhcp settings but could not find it. There is only a dhcpcd.conf for the SGS as a WLAN client.
If someone knows, which config file I should look for, it would be great.
Background:
The SGS has a VPN connection and I want to share that connection with my notebook. Yes, I could establish another VPN connection from my notebook, but if that is not necessary it is nicer.
Thanks for any hints.
Gregor
Found another problem - the 192.168.34.xx can cause collisions within the company network if I run VPN.
Nobody with an idea ?
I'm still searching for a better way to it than recompiling everthing but at least this seems promissig https://code.google.com/p/android/issues/detail?id=11855
in my (very short) trys i wasn't able to configure a bridge for both interfaces so we may have to life at frist with 2 separat ip ranges but may can allow routing between the to interfaces. I assume that iptables is used to prevent this by default.
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