I have this config:
Router 1 WAN port connected to internet
LAN Gateway 192.168.1.1
NAS 192.168.1.2
255.255.255.0
DMZ 192.168.1.10
Router 2 WAN port plugged into LAN port of router 1
WAN Ip 192.168.1.10
LAN Gateway 192.168.3.1
subnet mask 255.255.255.0
PC plugged into LAN port of Router 2
IP 192.168.3.20
Subnet mask 255.255.255.0
In this config, the pc can navigate to 192.168.3.1 (the inner router)
and 192.168.1.1 (the outer router)
but if I change the subnet mask to 255.255.0.0 on the pc, it can no longer see the outer router although it can still see the inner router and all other clients on the lan.
I thought that making the subnet mask of the pc 255.255.0.0 was a 'superset' of 255.255.255.0. It allows for more ip addresses and should be 'less restrictive'.
So why can't the pc go to 192.168.1.1 when its mask is 255.255.0.0?
Router 1 WAN port connected to internet
LAN Gateway 192.168.1.1
NAS 192.168.1.2
255.255.255.0
DMZ 192.168.1.10
Router 2 WAN port plugged into LAN port of router 1
WAN Ip 192.168.1.10
LAN Gateway 192.168.3.1
subnet mask 255.255.255.0
PC plugged into LAN port of Router 2
IP 192.168.3.20
Subnet mask 255.255.255.0
In this config, the pc can navigate to 192.168.3.1 (the inner router)
and 192.168.1.1 (the outer router)
but if I change the subnet mask to 255.255.0.0 on the pc, it can no longer see the outer router although it can still see the inner router and all other clients on the lan.
I thought that making the subnet mask of the pc 255.255.0.0 was a 'superset' of 255.255.255.0. It allows for more ip addresses and should be 'less restrictive'.
So why can't the pc go to 192.168.1.1 when its mask is 255.255.0.0?
Last edited: