On a domain server wireless router is given a IP address - 192.168.1.200. I have configured my laptop giving the router IP (1.200) as the default gateway and internet works fine. Windows phone doesn't allow to set Static IPs and Phone displays default gateway as 192.168.1.1 and DNS suffix displays the company domain. Internet doesn't work. I have configured other OS mobile phones in static works fine. Is there any way i could play with the router settings and get this fixed?
Appreciate your support.
Check that the wireless router is acting as a NAT gateway with its own DHCP pool for wireless clients. The DHCP pool can also use IP addresses 192.161.1.xxx range without conflict because router uses its own IP address on the corp net for all its NAT clients. Then you should not need any static configuration for either phone or your laptop.
Related
I am trying to setup a reverse proxy with Caddy, I also want to use subdomains to point to my different services, so I bought a domain but the domain can only point to an ip-address, and my routers ip-address is not static so to solve that I registered a subdomain on Duckdns and that subdomain is pointing to my routers ip-address all the time, the subdomains on that I payed for have DNS set to point to Duckdns and I have opened port 80 & 443 on my router to point to my server machine that is running Caddy, the caddyfile simply have the domains I payed for point to localhost services.
It works but only on LAN, outside it does not work
If your public IP address is not the same as nslookup mydomain.duckdns.org; the problem is DNS. check your dynamic DNS
client's configuration file for inaccuracies. Restart your router and trial that it works as expected
If the IP addresses match, but you cannot make access from outside the network, its a port forwarding issue. Check port forwarding rules on your router, and opened ports on your server.
sudo ufw status verbose and sudo ss -ltnp are helpful server commands.
If the IP addresses match, but you cannot make access from inside
the network, hairpin NAT is the issue. This is a router issue. Buy
a more feature complete router from your ISP, or setup a local DNS
server to resolve this minor annoyance.
[Using your phone, enable WiFi for 'inside' type testing; disable WiFi for 'outside' type testing].
I'm having an odd problem with my Windows Phone (Lumia 640).
I've been using a Linux server running dhcpd for my DHCP server for a while now and every device I've got in the house is happily getting their IP addresses from it (generally assigned via MAC address so that I know what is on what IP). However, my Lumia 640 was only intermittently connecting to the network, I went round the houses trying to work out what was going on, and in desperation I turned on my BT HomeHub's DHCP server and all of a sudden the phone would connect (on an IP served by the HomeHub).
My config on the DHCPD server is nothing exciting, and the IP addresses assigned are outside of the subnet so they don't clash with any dynamically assigned addresses. As I've said I have no troubles with the configuration for multiple devices (android, iOS, MacOS, Linux, Windows, SONOS), it's only the Windows Phone that has any issues.
Any ideas? Config below...
# defaults
ddns-update-style none;
option domain-name-servers 208.67.220.220, 208.67.222.222;
option subnet-mask 255.255.255.0;
option routers 192.168.44.1;
option broadcast-address 192.168.44.255;
option ntp-servers 192.168.44.254;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
subnet 192.168.44.0 netmask 255.255.255.0 {
authoritative;
range 192.168.44.50 192.168.44.79;
}
# Lumia 640
host russphone {
hardware ethernet **MAC address here**;
fixed-address 192.168.44.3;
}
I discovered that my router (a BT HomeHub 5) was still sending out DHCP offers despite the server being turned off. Resetting it fixed the problem, not sure why the server was still running, or why certain devices were consistently affected (my phone and my networked printer) and other completely unaffected.
I have a MySQL database running on my raspberry pi.
To access it I use dynamic DNS (duckdns) when I am outside of my network, but I would like to access it with same dynamic domain name when I am inside my network. However it is not working and I always get connection refused.
I would like somehow enable it so I do not have to change in app.config MySQL server address from my dynamic domain to localhost when I am inside my local network.
You'll need a gateway router that supports NAT hairpinning. Many consumer-grade units (and some supposedly commercial-grade equipment) doesn't support this. Either yours doesn't, or you need to find an option to enable it.
When you try to connect to the public IP address from inside the network, the router probably assumes that you want to connect to the router itself.
My cable modem's built-in router at home understands how to do this. When I access my server from the laptop, and connect to the public IP from inside, the router (inside the cable modem) does a transformation on the packets so that my server sees my connection coming from the router's IP address, not my laptop's IP address.
This is what has to happen, because when the server responds, it will respond to the machine that connected to it. If it responded to the laptop's address, the laptop would reject the traffic, since it would be coming from ther server's internal IP, which is not the IP address I connected to. So, it responds to the router, which does a second transform on the packet address, replacing the server's internal IP with the external IP. Remembering the session from previous traffic, the router then sends the packet back to the laptop.
Ultimately this setup can't possibly work for you without the complicity of your router, which may not have that capability.
Some routers, however, have a DNS proxy that will allow you to create static entries. My former DSL modem could not hairpin NAT connections, but it had a way to create DNS entries that would be used to respond to internal DNS queries for a specific host... with a different IP than the one that DNS otherwise provided. That's an alternative workaround if the router supports it.
I am using Netgear dgn1000 router. I cant able to ping the public static ip address assigned to my netgear router from external computer. For testing, i have allowed all inbound services in firewall rules.
Go to the router's web interface, select Advanced > WAN Setup, then enable Respond to ping on internet WAN port
If this does not help, then the external network filters out ICMP echo requests, bit this is very unlikely.
I know that my question is a little awkward, but here's my situation:
I have two networks, one of them is accessible to me via wireless, and the other is accessible to me via an Ethernet cable.
If my laptop is connected to both networks, can I connect to website WW via the wireless network, and website EE via the Ethernet network, in two tabs in the same browser (Chrome) ?
Note: Assume both websites provide video streaming.
Note: Assume that website WW is blocked via Ethernet network, and website EE is blocked via wireless network.
My trials:
I tried to open website WW while laptop connected to wireless only, and then connect Ethernet cable, and open website EE. Result: Website WW closes connection via wireless, and tries to connect using Ethernet, hence stops streaming.
I tried to open website EE while laptop connected to Ethernet only, and then connect to wireless network, and open website WW. Result: Website EE keeps streaming, while WW never loads.
I'm using windows XP, latest google chrome. Any ideas?
If you can reconfigure the access point, you can do this:
1) setup the Wifi access point to be a router (so that it has a different IP address on its Ethernet and on its Wifi interfaces
2) setup the IP address of the wifi card on your PC to be in the IP network of the router (Wifi side)
3) setup a static route on the PC so that WW is accessed by going through the router, and a default route (used for EE) going through the Ethernet.