-5

Let's say provider granted me IP addresses 10.20.30.1 - 10.20.30.254, so the subnet address is 10.20.30.0 and mask 255.255.255.0. I set my router to 10.20.30.1 and computers to 10.20.30.2 and higher.

Now, what is the difference between accessing computer 10.20.30.2 from inside this subnet (10.20.30.3) and from outside of it (12.34.56.78). Which features or protocols will/won't work from outside. What is the purpose of creating such subnets?

Youda008
  • 101

2 Answers2

0

The main aim of subnetting is, to reduce network size and thus the traffic with in the network. Ofcourse we'll be able to communicate between different subnet, but that particular time only the traffic will cross the subnet. and yes, accessing from a public ip involves NAT. When/why to start subnetting a network?

0

First of all, you choose your own subnet for the internal network. In most cases it's a 192.168.0.0/24 network.

Now about the external subnet, that's the public IP address (assigned by the ISP). This is what identifies you on the internet. Because internal subnets aren't unique, it's impossible for devices to know how to reach you if you would only use your internal IP address. So routers mostly use NATting to translate your internal IP to a public (external IP).

So in conclusion, internal subnet is for your local network at home and external subnet is the public IP assigned by the ISP to identify you on the internet.

This is just how the cookie crumbles, nothing else.

CustomX
  • 121