SlideShare a Scribd company logo
1 of 40
1
Guided By :-
Mr. Barinder Singh
Presented By :-
INTERNET
NETMAX TECHNOLOGIES as an organization is established in 2001 in the
field of Network Support, Network training, Software training and Embedded
systems.
NETMAX TECHNOLOGIES also provide Technical Research & Development
support and consultancy to some companies. NETMAX TECHNOLOGIES
provide the following Courses in IT & Embedded Systems given below:
Network Training:
 CISCO CCNA, CCNP
 RED HAT LINUX 5
 WINDOWS 2000, 2003 (MCP,MCSA & MCSE)
 MCITP 2008.
2
Software Training:
C
C++
JAVA ( CORE JAVA & ADVANCE JAVA)
.NET (ASP.NET).
We provide Technical support and consultancy to electronics
companies in the field of Embedded micro controllers like 8 bit and
16 bit family based embedded system design, analog systems design.
Power electronics including dc/dc converters, ac/dc converters,
thyristor firing based circuit, battery charging and monitor circuits
etc.
3
5
Problems with IPv4
Shortage of IPv4 addresses
Allocation of the last IPv4 addresses was for the year 2005
Address classes were replaced by usage of CIDR, but this is not sufficient
Short term solution
NAT: Network Address Translator
Long term solution
IPv6 = IPng (IP next generation)
Provides an extended address range
6
NAT: Network Address TranslatorNAT: Network Address Translator
NAT
Translates between local addresses and public ones
Many private hosts share few global addresses
Public Network
Uses public addresses
Public addresses are
globally unique
Private Network
Uses private address range
(local addresses)
Local addresses may not
be used externally
 Inside Local
 The term “inside” refers to an address used for a host inside an
enterprise. It is the actual IP address assigned to a host in the private
enterprise network.
 Inside Global
 NAT uses an inside global address to represent the inside host as the
packet is sent through the outside network, typically the Internet.
 A NAT router changes the source IP address of a packet sent by an
inside host from an inside local address to an inside global address as
the packet goes from the inside to the outside network.
7
8
 Outside Global
 The term “outside” refers to an address used for a host outside an
enterprise, the Internet.
 An outside global is the actual IP address assigned to a host that
resides in the outside network, typically the Internet.
 Outside Local
 NAT uses an outside local address to represent the outside host as
the packet is sent through the private network.
 This address is outside private, outside host with a private address
9
10
• An IP address is either local or global.
• Local IP addresses are seen in the inside network.
 There are different types of NAT that can be used,
which are : -
 Static NAT
 Dynamic NAT
 Overloading NAT with PAT (NAPT)
11
 Static NAT - Mapping an unregistered IP address to a registered
IP address on a one-to-one basis. Particularly useful when a
device needs to be accessible from outside the network.
 In static NAT, the computer with the IP address of 192.168.32.10
will always translate to 213.18.123.110.
12
 Dynamic NAT : –
Maps an unregistered IP address to a registered IP
address from a group of registered IP addresses.
 In dynamic NAT, the computer with the IP address 192.168.32.10
will translate to the first available address in the range from
213.18.123.100 to 213.18.123.150.
13
 Overloading: - A form of dynamic NAT that maps multiple unregistered IP
addresses to a single registered IP address by using different ports. This is
known also as PAT (Port Address Translation), single address NAT or port-
level multiplexed NAT.
 In overloading, each computer on the private network is translated to the
same IP address (213.18.123.100), but with a different port number
assignment..
14
15
• For each interface you need to configure INSIDE or OUTSIDE
B
A 10.0.0.1
200.0.0.1
10.0.0.2
10.0.0.3
10.0.0.254
R1(config)#Int fastethernet 0/0
R1(config-if)# IP NAT inside
R1(config-if)##Int s 0/0
R1(config-if)# IP NAT outside
R1(config-if)# Exit
R1(config)# ip NAT inside source static 10.0.0.1 200.0.0.1
To see the table
R1(config)#show ip nat translations
R1(config)#show ip nat statistics
E0 S0 Internet
C
16
 Dynamic NAT sets up a pool of possible inside global
addresses and defines criteria for the set of inside local IP
addresses whose traffic should be translated with NAT.
 The dynamic entry in the NAT table stays in there as long
as traffic flows occasionally.
 If a new packet arrives, and it needs a NAT entry, but all
the pooled IP addresses are in use, the router simply
discards the packet.
17
Instead of creating static IP, create a pool of IP Address,
Specify a range.
Create an access list and permit hosts.
Link Access list to the Pool.
18
19
• For each interface you need to configure INSIDE or OUTSIDE
S0
200.0.0.1/200.0.0.254
InternetE0B
A 10.0.0.1
C
10.0.0.2
10.0.0.3
10.0.0.254
Create an Access List
R1(config)# Access-list 1 permit 10.0.0.0 0.255.255.255
Configure NAT dynamic Pool
R1(config)# IP NAT pool pool1 200.0.0.1 200.0.0.254 netmask 255.255.255.0
Link Access List to Pool
R1(config)# IP NAT inside source list 1 pool pool1
 Overloading an inside global address.
 NAT overload only one global IP shared among all hosts.
20
B
A 10.0.0.1
C
10.0.0.2
10.0.0.3
10.0.0.254
E0
200.0.0.1
Shared Global IP
200.0.0.1:1025
200.0.0.1:1026
200.0.0.1:1027
InternetS0
21
22
23
24
25
26
27
28
R1#config t
R1(config)# int e 0
R1(config-if)# ip nat insde
R1(config)# int s 0
R1(config-if)# ip nat outside
R1(config)#access-list 1 permit 192.168.10.0 0.0.0.255
R1(config)#ip nat inside source list 1 interface s 0 overload
 To see host to host ping configure static or
dynamic routing
To check translation
#sh ip nat translations
29
R2#config t
R2(config)# int e 0
R2(config-if)# ip nat insde
R2(config)# int s 0
R2(config-if)# ip nat outside
R2(config)#access-list 1 permit 192.168.20.0 0.0.0.255
R2(config)#ip nat inside source list 1 interface s 0 overload
 To see host to host ping configure static or dynamic
routing
To check translation
#sh ip nat translations
S0
S0
E0
192.168.10.2
A B
200.0.0.2
192.168.10.1
200.0.0.1
192.168.20.2
192.168.20.1E0
Each organisation comprises a router, to route the data from
and to isp. There are manageable switches in each organisation
and we have created separate vlans for servers and internet
clients.
If we want the communication between the internet clients and
servers then we configure inter vlans concept on the router.
And if we want to block some internet clients cannot access
our servers then we create acl for that particular user.
These organisations are linked externally to an isp which
provides live(public) ip addresses to each organisation, and isp
also provides the internet connections to others.
LOCAL ENVIRONMENT OF ORG.LOCAL ENVIRONMENT OF ORG.
ORG 1
Vlan 2
Name = SERVER
Vlan 3
Name = INTERNET
F0/0.1 = vlan 2(10.0.0.0/8)
F0/0.2 = vlan 3 (192.168.10.0/24)
VLAN CONFIGURATATIONVLAN CONFIGURATATION
Vlan 2
Name = sale
10.0.0.0/8
Vlan 3
Name = mkt
192.168.10.0/24
ORG 1
Manageable Switch
VLAN CONFIGURATATIONVLAN CONFIGURATATION
Switch#vlan database
Switch(vlan)#vlan 2 name sale
Switch(vlan)#vlan 3 name mkt
Switch(vlan)#exit
Switch#config t
Switch(config)#int range f0/1 - 3
Switch(config-range-if)#switchport access vlan 2
Switch(config-range-if)#exit
Switch(config)#int range f0/3 – 4
Switch(config-range-if)#switchport access vlan 3
Switch(config-range-if)#exit
Switch(config)#int f0/12
Switch(config-if)#switchport mode trunk
 ORG1(config)#int f0/0
 ORG1(config-if)#no sh
 ORG1(config-if)#exit
 ORG1(config)#int f0/0.1
 ORG1(config-subif)#ip nat inside
 ORG1(config-subif)#ip address 10.0.0.1 255.0.0.0
 ORG1(config-subif)#no sh
 ORG1(config-subif)#exit
 ORG1(config)#int f0/0.2

 ORG1(config-subif)#encapsulation dot1q 3
 ORG1(config-subif)#ip nat inside
 ORG1(config-subif)#ip address 192.168.10.1 255.255.255.240
 ORG1(config-subif)#no sh
 ORG1(config-subif)#exit
ISP ENVIRONMENT
We have place our web server in
the private area so that the
internet client cannot directly
access it. So, we have configured
static nat and open port number
80(http) only.
In our organisation our clients
want to access internet so we will
configure dynamic nat with
overload for clients.
ORG1(config)#ip nat inside source static tcp 10.0.0.2
80 200.10.10.17 80
ORG1(config)#access-list 20 permit any
ORG1(config)#ip nat pool netmax 200.10.10.18
200.10.10.18 netmask 255.255.255.240
ORG1(config)#ip nat inside source list 20 pool netmax
overload
Nat 03

More Related Content

What's hot

Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer) Arz Sy
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5Waqas Ahmed Nawaz
 
ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์Noii Kittiya
 
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8Nil Menon
 
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3Chaing Ravuth
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02Irsandi Hasan
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10Nil Menon
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Saurav Pandey
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4Nil Menon
 
CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07Irsandi Hasan
 
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingCCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingVuz Dở Hơi
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10Waqas Ahmed Nawaz
 

What's hot (20)

IPv6 Addressing
IPv6 AddressingIPv6 Addressing
IPv6 Addressing
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
 
N at
N atN at
N at
 
ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์
 
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8
 
Day 17.1 nat pat (2)
Day 17.1 nat pat  (2)Day 17.1 nat pat  (2)
Day 17.1 nat pat (2)
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8
 
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10
 
Ccna 1 5
Ccna 1  5Ccna 1  5
Ccna 1 5
 
Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0Network Design on cisco packet tracer 6.0
Network Design on cisco packet tracer 6.0
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07
 
Chapter10ccna
Chapter10ccnaChapter10ccna
Chapter10ccna
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingCCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip Addressing
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 

Similar to Nat 03

NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)Netwax Lab
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccnarobertoxe
 
Module (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxModule (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxGeorgeThoreJr
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basicstmavroidis
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.ArcyJeromeGallardo2
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)Joud Khattab
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tutnicolelemmimg
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9Waqas Ahmed Nawaz
 
acn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfacn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfQual4
 
How to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipHow to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipTũi Wichets
 
BASIC TO ADVANCED NETWORKING TUTORIALS
BASIC TO ADVANCED NETWORKING TUTORIALSBASIC TO ADVANCED NETWORKING TUTORIALS
BASIC TO ADVANCED NETWORKING TUTORIALSVarinder Singh Walia
 
Design of a campus network
Design of a campus networkDesign of a campus network
Design of a campus networkAalap Tripathy
 

Similar to Nat 03 (20)

Nat pat
Nat patNat pat
Nat pat
 
NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccna
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccna
 
Module (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxModule (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptx
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
 
Icnd210 s07l01
Icnd210 s07l01Icnd210 s07l01
Icnd210 s07l01
 
NAT Ccna
NAT CcnaNAT Ccna
NAT Ccna
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.
 
CCNA CHAPTER 12 BY jetarvind kumar madhukar
CCNA CHAPTER 12 BY jetarvind kumar madhukarCCNA CHAPTER 12 BY jetarvind kumar madhukar
CCNA CHAPTER 12 BY jetarvind kumar madhukar
 
CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
 
Networking
NetworkingNetworking
Networking
 
Examen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en inglesExamen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en ingles
 
119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut119163798 icnd1-practice-questions-9tut
119163798 icnd1-practice-questions-9tut
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
 
acn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdfacn-practical_manual-19-20-1 final.pdf
acn-practical_manual-19-20-1 final.pdf
 
How to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ipHow to link public addresses (real ip) to private ip or lan ip
How to link public addresses (real ip) to private ip or lan ip
 
BASIC TO ADVANCED NETWORKING TUTORIALS
BASIC TO ADVANCED NETWORKING TUTORIALSBASIC TO ADVANCED NETWORKING TUTORIALS
BASIC TO ADVANCED NETWORKING TUTORIALS
 
Design of a campus network
Design of a campus networkDesign of a campus network
Design of a campus network
 

More from Davinder Chauhan (7)

old age
old ageold age
old age
 
Sports nutrition
Sports nutrition Sports nutrition
Sports nutrition
 
Nat report103
Nat report103Nat report103
Nat report103
 
Nat report2
Nat report2Nat report2
Nat report2
 
Nat report1
Nat report1Nat report1
Nat report1
 
Nat report
Nat reportNat report
Nat report
 
Nat report 1
Nat report 1Nat report 1
Nat report 1
 

Recently uploaded

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Recently uploaded (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Nat 03

  • 1. 1 Guided By :- Mr. Barinder Singh Presented By :- INTERNET
  • 2. NETMAX TECHNOLOGIES as an organization is established in 2001 in the field of Network Support, Network training, Software training and Embedded systems. NETMAX TECHNOLOGIES also provide Technical Research & Development support and consultancy to some companies. NETMAX TECHNOLOGIES provide the following Courses in IT & Embedded Systems given below: Network Training:  CISCO CCNA, CCNP  RED HAT LINUX 5  WINDOWS 2000, 2003 (MCP,MCSA & MCSE)  MCITP 2008. 2
  • 3. Software Training: C C++ JAVA ( CORE JAVA & ADVANCE JAVA) .NET (ASP.NET). We provide Technical support and consultancy to electronics companies in the field of Embedded micro controllers like 8 bit and 16 bit family based embedded system design, analog systems design. Power electronics including dc/dc converters, ac/dc converters, thyristor firing based circuit, battery charging and monitor circuits etc. 3
  • 4.
  • 5. 5 Problems with IPv4 Shortage of IPv4 addresses Allocation of the last IPv4 addresses was for the year 2005 Address classes were replaced by usage of CIDR, but this is not sufficient Short term solution NAT: Network Address Translator Long term solution IPv6 = IPng (IP next generation) Provides an extended address range
  • 6. 6 NAT: Network Address TranslatorNAT: Network Address Translator NAT Translates between local addresses and public ones Many private hosts share few global addresses Public Network Uses public addresses Public addresses are globally unique Private Network Uses private address range (local addresses) Local addresses may not be used externally
  • 7.  Inside Local  The term “inside” refers to an address used for a host inside an enterprise. It is the actual IP address assigned to a host in the private enterprise network.  Inside Global  NAT uses an inside global address to represent the inside host as the packet is sent through the outside network, typically the Internet.  A NAT router changes the source IP address of a packet sent by an inside host from an inside local address to an inside global address as the packet goes from the inside to the outside network. 7
  • 8. 8
  • 9.  Outside Global  The term “outside” refers to an address used for a host outside an enterprise, the Internet.  An outside global is the actual IP address assigned to a host that resides in the outside network, typically the Internet.  Outside Local  NAT uses an outside local address to represent the outside host as the packet is sent through the private network.  This address is outside private, outside host with a private address 9
  • 10. 10 • An IP address is either local or global. • Local IP addresses are seen in the inside network.
  • 11.  There are different types of NAT that can be used, which are : -  Static NAT  Dynamic NAT  Overloading NAT with PAT (NAPT) 11
  • 12.  Static NAT - Mapping an unregistered IP address to a registered IP address on a one-to-one basis. Particularly useful when a device needs to be accessible from outside the network.  In static NAT, the computer with the IP address of 192.168.32.10 will always translate to 213.18.123.110. 12
  • 13.  Dynamic NAT : – Maps an unregistered IP address to a registered IP address from a group of registered IP addresses.  In dynamic NAT, the computer with the IP address 192.168.32.10 will translate to the first available address in the range from 213.18.123.100 to 213.18.123.150. 13
  • 14.  Overloading: - A form of dynamic NAT that maps multiple unregistered IP addresses to a single registered IP address by using different ports. This is known also as PAT (Port Address Translation), single address NAT or port- level multiplexed NAT.  In overloading, each computer on the private network is translated to the same IP address (213.18.123.100), but with a different port number assignment.. 14
  • 15. 15 • For each interface you need to configure INSIDE or OUTSIDE B A 10.0.0.1 200.0.0.1 10.0.0.2 10.0.0.3 10.0.0.254 R1(config)#Int fastethernet 0/0 R1(config-if)# IP NAT inside R1(config-if)##Int s 0/0 R1(config-if)# IP NAT outside R1(config-if)# Exit R1(config)# ip NAT inside source static 10.0.0.1 200.0.0.1 To see the table R1(config)#show ip nat translations R1(config)#show ip nat statistics E0 S0 Internet C
  • 16. 16
  • 17.  Dynamic NAT sets up a pool of possible inside global addresses and defines criteria for the set of inside local IP addresses whose traffic should be translated with NAT.  The dynamic entry in the NAT table stays in there as long as traffic flows occasionally.  If a new packet arrives, and it needs a NAT entry, but all the pooled IP addresses are in use, the router simply discards the packet. 17
  • 18. Instead of creating static IP, create a pool of IP Address, Specify a range. Create an access list and permit hosts. Link Access list to the Pool. 18
  • 19. 19 • For each interface you need to configure INSIDE or OUTSIDE S0 200.0.0.1/200.0.0.254 InternetE0B A 10.0.0.1 C 10.0.0.2 10.0.0.3 10.0.0.254 Create an Access List R1(config)# Access-list 1 permit 10.0.0.0 0.255.255.255 Configure NAT dynamic Pool R1(config)# IP NAT pool pool1 200.0.0.1 200.0.0.254 netmask 255.255.255.0 Link Access List to Pool R1(config)# IP NAT inside source list 1 pool pool1
  • 20.  Overloading an inside global address.  NAT overload only one global IP shared among all hosts. 20 B A 10.0.0.1 C 10.0.0.2 10.0.0.3 10.0.0.254 E0 200.0.0.1 Shared Global IP 200.0.0.1:1025 200.0.0.1:1026 200.0.0.1:1027 InternetS0
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. R1#config t R1(config)# int e 0 R1(config-if)# ip nat insde R1(config)# int s 0 R1(config-if)# ip nat outside R1(config)#access-list 1 permit 192.168.10.0 0.0.0.255 R1(config)#ip nat inside source list 1 interface s 0 overload  To see host to host ping configure static or dynamic routing To check translation #sh ip nat translations 29 R2#config t R2(config)# int e 0 R2(config-if)# ip nat insde R2(config)# int s 0 R2(config-if)# ip nat outside R2(config)#access-list 1 permit 192.168.20.0 0.0.0.255 R2(config)#ip nat inside source list 1 interface s 0 overload  To see host to host ping configure static or dynamic routing To check translation #sh ip nat translations S0 S0 E0 192.168.10.2 A B 200.0.0.2 192.168.10.1 200.0.0.1 192.168.20.2 192.168.20.1E0
  • 30. Each organisation comprises a router, to route the data from and to isp. There are manageable switches in each organisation and we have created separate vlans for servers and internet clients. If we want the communication between the internet clients and servers then we configure inter vlans concept on the router. And if we want to block some internet clients cannot access our servers then we create acl for that particular user. These organisations are linked externally to an isp which provides live(public) ip addresses to each organisation, and isp also provides the internet connections to others.
  • 31.
  • 32. LOCAL ENVIRONMENT OF ORG.LOCAL ENVIRONMENT OF ORG. ORG 1 Vlan 2 Name = SERVER Vlan 3 Name = INTERNET F0/0.1 = vlan 2(10.0.0.0/8) F0/0.2 = vlan 3 (192.168.10.0/24)
  • 33. VLAN CONFIGURATATIONVLAN CONFIGURATATION Vlan 2 Name = sale 10.0.0.0/8 Vlan 3 Name = mkt 192.168.10.0/24 ORG 1 Manageable Switch
  • 34. VLAN CONFIGURATATIONVLAN CONFIGURATATION Switch#vlan database Switch(vlan)#vlan 2 name sale Switch(vlan)#vlan 3 name mkt Switch(vlan)#exit Switch#config t Switch(config)#int range f0/1 - 3 Switch(config-range-if)#switchport access vlan 2 Switch(config-range-if)#exit Switch(config)#int range f0/3 – 4 Switch(config-range-if)#switchport access vlan 3 Switch(config-range-if)#exit Switch(config)#int f0/12 Switch(config-if)#switchport mode trunk
  • 35.
  • 36.  ORG1(config)#int f0/0  ORG1(config-if)#no sh  ORG1(config-if)#exit  ORG1(config)#int f0/0.1  ORG1(config-subif)#ip nat inside  ORG1(config-subif)#ip address 10.0.0.1 255.0.0.0  ORG1(config-subif)#no sh  ORG1(config-subif)#exit  ORG1(config)#int f0/0.2   ORG1(config-subif)#encapsulation dot1q 3  ORG1(config-subif)#ip nat inside  ORG1(config-subif)#ip address 192.168.10.1 255.255.255.240  ORG1(config-subif)#no sh  ORG1(config-subif)#exit
  • 37. ISP ENVIRONMENT We have place our web server in the private area so that the internet client cannot directly access it. So, we have configured static nat and open port number 80(http) only. In our organisation our clients want to access internet so we will configure dynamic nat with overload for clients.
  • 38. ORG1(config)#ip nat inside source static tcp 10.0.0.2 80 200.10.10.17 80
  • 39. ORG1(config)#access-list 20 permit any ORG1(config)#ip nat pool netmax 200.10.10.18 200.10.10.18 netmask 255.255.255.240 ORG1(config)#ip nat inside source list 20 pool netmax overload

Editor's Notes

  1. Like static NAT, the NAT router creates a one-to-one mapping between an inside local and inside global address and changes the IP addresses in packets as they exit and enter the inside network. However, the mapping of an inside local address to an inside global address happens dynamically.
  2. There should be router 2600 configured To verify whether router supports IP NAT static go to config and # IP NAT inside source ? (there should be a static Entry) Configure router 2600 with an IP address on Fastethernet port 10.0.0.254 and Serial 0/0 200.0.0.1, need not to connect any cables, configure IP and no shut then see the above commands
  3. There should be router 2600 configured Configure router 2600 with an IP address on Fastethernet port 10.0.0.254 and Serial 0/0 200.0.0.1, need not to connect any cables, configure IP and no shut then see the above commands
  4. Can have 65000 concurrent connection sharing one connection