20250212 144859
Private IP Address:
Class A: 10.0.0.0 - 10.255.255.255 – 10.x.x.x
Class B: 172.16.0.0 - 172.31.255.255 – 172.16.x.x, 172.17.x.x, ., 172.31.x.x
Class C: 192.168.0.0 - 192.168.255.255 – 192.168.0.x,192.168.1.x.., 192.168.255.x
Non routable in public
We can’t access internet with private ip address
—-----------------
We use NAT and PAT technique to access public network(internet)
NAT - Network Address Translation
PAT - Port Address Translation (NAT Overload)
NAT - Maps Inside(private) IP address to Outside(Public) Ip address
Devices can communicate in private with private ip, when they communicate to outside(public) they use public ip address
1 private - 1 public , 10 private – 10 pubic
PC1: 10.0.0.11 – 21.2.2.11
PC2:10.0.0.12 – 21.2.2.12
PC3:10.0.0.13 – 21.2.2.13
PAT - Maps Multiple (All) Private ip address to 1 Public ip address
10 private – 1 public
PC1: 10.0.0.11:1234 – 21.2.2.110:1234
PC2: 10.0.0.12:1352 – 21.2.2.110:1352
PC3: 10.0.0.13:5422 – 21.2.2.110:5422
—--------------------------------------------------------------
-
•APIPA address: Automatic Private IP address – 169.254.x.x
•If system is unable to get ip address from dhcp server, system assign an ip address itself from APIPA Range(169.254.0.1-169.254.255.254)
—----------------------------
•When you change network , ip address changes according connected network, if it not changes?then
•Check your system/pc configure ip address manually or what
•System got ip address as 169.254.x.x..
•check dhcp server
•Make sure dhcp server runs fine
•
•Run – ncpa.cpl – rt on nic – disable – enable
•CMD:
•ipconfig /release -- remove old ip address
•Ipconfig /renew -- gets new ip address from dhcp server
—------------------------------------------------------------------------------------------------