Recently I purchased an small HAP ac2 router to serve as a home DHCPserver, one of the WIFI and firewall. It is located after the ISP optical modem.
Everything was working fine, pages opening, wife happy, until I noticed that some hosts as subdomains, f.e status.kali.org, secure.gravatar.com, pbs.twimg.com are not resolving. I noticed, because could not update Kali virtual machine, as it could not resolve distribution servers. I was thinking than maybe DNS is what to blame, but no - it is resolving the correct IP addresses.
Traceroute to all of the sites returns " Destination host unreachable."
C:\WINDOWS\system32>tracert status.kali.org
Tracing route to status.kali.org [192.124.249.56]
over a maximum of 30 hops:
1 pc.name.lv [192.168.100.11] reports: Destination host unreachable.
Trace complete.
When I connect my PC to the mobile phone hostspot, everything works fine. Sites are resolving and opening.
So please, wise mans/girls help me figure out, where I should start digging?
Why you set /8 on your IPs?
Do not mix 10.0.0.0/8 concept with 192.168.0.0/16.
192.168.0.0/8 = IP range from 192.0.0.0 to 192.255.255.255
Only 192.168.x.x are private addresses, the others are all pubblic IPs used on Internet!!!
if you want use all 192.168.x.x space, from 192.168.0.0 to 192.168.255.255 you must use a /16
paste this inside terminal without omit { } !!!
{
/interface bridge set bridge protocol=none
/interface wireless set [ find default-name=wlan1 ] band=2ghz-g/n
/interface wireless security-profiles set [ find default=yes ] authentication-types=wpa2-psk
/interface detect-internet set detect-interface-list=none
/ip address set [find where address="192.168.0.1/8"] address=192.168.0.1/16
/ip dhcp-server network
remove [find]
add address=192.168.0.0/16 comment=defconf dns-server=1.1.1.1,8.8.8.8 gateway=192.168.0.1 netmask=16
}
The subdomain can have a different IP than the main domain.
If any subdomain has, for example, 192.78.44.15 it is unreachable because you tell your router that the domain is within your network rather than on the internet.