You are on page 1of 2

VPC = virtual private cloud.

************========***************
lan = local area network (local building or office network)
man = metro AREA network (same area network)
wan = wide area network (different region network)

in vpc we are getting ips by using CIDR = CLASS LESS INTER DOMAIN Routing.

versions of IPS
********====******
1.IPV4 = we can genarete 4 billions ips

2.IPV6 = we can generate 3 trillion ip address.

3.ROUTE = a route table contains set of rules that is called route.


each subnet in your vpc must be associated with the router.
vpc has a main route table and any subnet by default is associated with it.

4.INTERNET GATE WAY = an internet gate way is logical connection between the amazon
vpc and the internet.
its not a physical device.
only one can be associated with each vpc.

VPC ARCHITECTURE.
maximum we can get 65025 ip address.

if we want connect network to private subnets then we are using the NAT gateway
if we want connect public network to subnets then we are using the internet gateway

CIDR = classless inter domain route.


10.0.0.0=
octet1.octet2.octet3.octet4.
each one octet we can store 8bits of memory.
octet = 8bits

we calling octet because it storing 8 bits of memory that is why its called octet.
0 -255 = 8bits if it is greater than 255 then its going to 9bits .
thats wht it we are assiging only 0 to 255

10.0.0.0/n = (/n net mask here we are giving how many ip adress we want to give )
n = should be 16 to 32s

IP RANGE NO OF AVAILABLE IPS

10.0.0.0/32 1
10.0.0.0/31 2
10.0.0.0/30 4
10.0.0.0/29 8
10.0.0.0/28 16
10.0.0.0/27 32
10.0.0.0/26 64
10.0.0.0/25 128
10.0.0.0/24 256
10.0.0.0/23 512
10.0.0.0/22 1024
10.0.0.0/21 2048
10.0.0.0/20 4096
10.0.0.0/19 8192
10.0.0.0/18 16384
10.0.0.0/17 32768
10.0.0.0/16 65536

configurable netmask in one VPC is ( 16 to 28 )

in this first 4 ips and last one ip vpc will store default by its own perpose.

in vpc for every region by default there are having the one vpc .
once if assigned cidr blocks then we cant change.
NAT = network address translative

for custom vpc 18 digits and for default vpc digits is 8

You might also like