I have Dlink Dir-300 wireless router. I have to set a static ip settings there. I specify Ip as 192.168.242.3 Netmask: 255.255.0.0. When I press enter it says that the ip is invalid. Although such configuration works on another(linksys) router normally.
When setting the static ip I have control only over last 2 bytes, first two are fixed, so we have 192.168.X.X according to our local network structure. My gateway must be 192.168.0.100.
When changing netmask to 255.255.255.0 then I get an error that the gateway and ip are not in the same network. When I change the netmask to 255.0.0.0 it doesn't show any error and saves the configuration, but there is no connection to the internet.
How can this problem be solved?