And subnetting down to a 30 bit network does not prevent you from scanning any other network. You can scan any IP range in the world. All the subnet mask does is define the size of the local network so the device knows to either talk to a device as a local network device using each others MAC address or to send the packet to the configured default gateway.
I will use a /29 subnet as an example instead.
say you have a network of 192.168.0.0/29
192.168.0.0 = NeworkID
192.168.0.1 = usable
192.168.0.2 = usable
192.168.0.3 = usable
192.168.0.4 = usable
192.168.0.5 = usable
192.168.0.6 = usable
192.168.0.7 = broadcast
so lets say that .1 is the default gateway or default route.
You have your laptop using .2, you desktop is .3 and your printer is .4.
You want to connect from your laptop to your desktop. When .2 trys to connect to .3 he will look at the destination IP and realize it's in his local network so he will send an ARP (address resolution protocol) request to ge the MAC address of .3. Once he gets that, he will send data with to the MAC address and not the IP address.
Now lets say you want to connect to Satelliteguys.us. Ip address is 24.28.199.152.
So .2 will look at the IP address and understand that it's not local, so he will send the request to his default gateway.
So if you have a /30 home network, it does not prevent you from seeing your neighbors local network. That does mean the provider has not done something else to prevent it, but it not simply because the of the subnet mask.
By the way, I never understood why providers use a /30 for point to point IP'. It's a huge waste. Should always use a /31 bit where you have two IP's in the network. A network ID and a broadcast. Since it's only two devices talking, it does not matter about the network or broadcast designation. Get more bang for you buck when IP's are at a premium.
I will use a /29 subnet as an example instead.
say you have a network of 192.168.0.0/29
192.168.0.0 = NeworkID
192.168.0.1 = usable
192.168.0.2 = usable
192.168.0.3 = usable
192.168.0.4 = usable
192.168.0.5 = usable
192.168.0.6 = usable
192.168.0.7 = broadcast
so lets say that .1 is the default gateway or default route.
You have your laptop using .2, you desktop is .3 and your printer is .4.
You want to connect from your laptop to your desktop. When .2 trys to connect to .3 he will look at the destination IP and realize it's in his local network so he will send an ARP (address resolution protocol) request to ge the MAC address of .3. Once he gets that, he will send data with to the MAC address and not the IP address.
Now lets say you want to connect to Satelliteguys.us. Ip address is 24.28.199.152.
So .2 will look at the IP address and understand that it's not local, so he will send the request to his default gateway.
So if you have a /30 home network, it does not prevent you from seeing your neighbors local network. That does mean the provider has not done something else to prevent it, but it not simply because the of the subnet mask.
By the way, I never understood why providers use a /30 for point to point IP'. It's a huge waste. Should always use a /31 bit where you have two IP's in the network. A network ID and a broadcast. Since it's only two devices talking, it does not matter about the network or broadcast designation. Get more bang for you buck when IP's are at a premium.