SlideShare a Scribd company logo
1 of 40
INTERNET




Guided By :-          Presented By :-
Mr. Barinder Singh
                                        1
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
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



                                        5
NAT: Network Address Translator
   NAT
     Translates between local addresses and public ones
     Many private hosts share few global addresses




   Private Network                                    Public Network
     Uses private address range                           Uses public addresses
     (local addresses)
     Local addresses may not                              Public addresses are
     be used externally                                   globally unique


                                             6
 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
•   An IP address is either local or global.
•   Local IP addresses are seen in the inside network.
                              10
 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
• For each interface you need to configure INSIDE or OUTSIDE

  A    10.0.0.1

                             10.0.0.254          200.0.0.1
        10.0.0.2                                     S0                     Internet
 B                               E0


 C     10.0.0.3
                   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

                                            15
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
• For each interface you need to configure INSIDE or OUTSIDE
  A       10.0.0.1

                                                      200.0.0.1/200.0.0.254
          10.0.0.2           10.0.0.254
  B                                   E0                 S0                   Internet

  C       10.0.0.3




 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
                                                 19
 Overloading an inside global address.
 NAT overload only one global IP shared among all hosts.

                                        200.0.0.1:1025
    A   10.0.0.1                        200.0.0.1:1026

                                        200.0.0.1:1027
        10.0.0.2   10.0.0.254
B                                     200.0.0.1
                      E0              S0                 Internet
C       10.0.0.3


                                Shared Global IP




                                 20
21
22
23
24
25
26
27
28
S0
                                                                                      S0
   192.168.10.1 E0
                                                                                                E0 192.168.20.1


                       A                                                                         B
                             192.168.10.2                                                                192.168.20.2
R1#config t                                                      R2#config t
R1(config)# int e 0                                              R2(config)# int e 0
R1(config-if)# ip nat insde                                      R2(config-if)# ip nat insde
R1(config)# int s 0                                              R2(config)# int s 0
R1(config-if)# ip nat outside                                    R2(config-if)# ip nat outside
R1(config)#access-list 1 permit 192.168.10.0 0.0.0.255           R2(config)#access-list 1 permit 192.168.20.0 0.0.0.255
R1(config)#ip nat inside source list 1 interface s 0 overload    R2(config)#ip nat inside source list 1 interface s 0 overload

 To see host to host ping configure static or                       To see host to host ping configure static or dynamic
    dynamic routing                                                   routing

To check translation                                             To check translation
#sh ip nat translations                                          #sh ip nat translations

                                                                29
 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.

                             F0/0.1 = vlan 2(10.0.0.0/8)
     ORG 1
                          F0/0.2 = vlan 3 (192.168.10.0/24)




        Vlan 2           Vlan 3
     Name = SERVER   Name = INTERNET
VLAN CONFIGURATATION


     ORG 1
Manageable Switch




                        Vlan 2          Vlan 3
                     Name = sale     Name = mkt
                      10.0.0.0/8   192.168.10.0/24
VLAN 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 07

More Related Content

What's hot

Capacitacion 2018
Capacitacion 2018Capacitacion 2018
Capacitacion 2018jou333
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1Waqas Ahmed Nawaz
 
10 step-to-configure-cisco-call-manager-express
10 step-to-configure-cisco-call-manager-express10 step-to-configure-cisco-call-manager-express
10 step-to-configure-cisco-call-manager-expressNguyen Thanh
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihomingee38sp
 
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
شرح مبسط جدا لمنهج سيسكو CCNAشرح مبسط جدا لمنهج سيسكو CCNA
شرح مبسط جدا لمنهج سيسكو CCNADawood Aqlan
 
NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address TranslationEng. Emad Al-Atoum
 
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomGpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomWahyu Nasution
 
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3Chaing Ravuth
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheetjulianlz
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorialFred Bovy
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Hamza Malik
 
Qstartgide01
Qstartgide01Qstartgide01
Qstartgide01berhereda
 

What's hot (20)

Capacitacion 2018
Capacitacion 2018Capacitacion 2018
Capacitacion 2018
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
 
10 step-to-configure-cisco-call-manager-express
10 step-to-configure-cisco-call-manager-express10 step-to-configure-cisco-call-manager-express
10 step-to-configure-cisco-call-manager-express
 
Dhcp with cisco
Dhcp with ciscoDhcp with cisco
Dhcp with cisco
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
 
IPv6 Addressing
IPv6 AddressingIPv6 Addressing
IPv6 Addressing
 
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
شرح مبسط جدا لمنهج سيسكو CCNAشرح مبسط جدا لمنهج سيسكو CCNA
شرح مبسط جدا لمنهج سيسكو CCNA
 
Ccna 1 5
Ccna 1  5Ccna 1  5
Ccna 1 5
 
200 ccna questions
200 ccna questions200 ccna questions
200 ccna questions
 
IPv6 Overview
IPv6 OverviewIPv6 Overview
IPv6 Overview
 
Ip seminar
Ip seminarIp seminar
Ip seminar
 
NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address Translation
 
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkomGpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
Gpon omci v2__voice_configuration_introduction_omciv2_v2_pt_telkom
 
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorial
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6
 
Qstartgide01
Qstartgide01Qstartgide01
Qstartgide01
 

Viewers also liked

The Healthy Sandwich Project
The Healthy Sandwich ProjectThe Healthy Sandwich Project
The Healthy Sandwich ProjectJessica161
 
Trị mụn thịt bằng tỏi
Trị mụn thịt bằng tỏiTrị mụn thịt bằng tỏi
Trị mụn thịt bằng tỏilandatrangmin
 
Fysio24 voor jouw bedrijf
Fysio24 voor jouw bedrijfFysio24 voor jouw bedrijf
Fysio24 voor jouw bedrijfFysio24
 
2013 GMC Terrain Denali Philadelphia
2013 GMC Terrain Denali Philadelphia2013 GMC Terrain Denali Philadelphia
2013 GMC Terrain Denali PhiladelphiaFred Beans GMC
 
Phonetic and phonology
Phonetic and phonologyPhonetic and phonology
Phonetic and phonologydayizh95
 
materials used in the UK
materials used in the UKmaterials used in the UK
materials used in the UKzeynepsg
 
Conceptos básicos emily lopez
Conceptos básicos emily lopezConceptos básicos emily lopez
Conceptos básicos emily lopezEmilyRlopez
 
Creating Valuable Relationships
Creating Valuable RelationshipsCreating Valuable Relationships
Creating Valuable RelationshipsGiovanni Dubois
 
Sitka's Blue Lake Project - by Dean Orbison
Sitka's Blue Lake Project - by Dean OrbisonSitka's Blue Lake Project - by Dean Orbison
Sitka's Blue Lake Project - by Dean OrbisonJustin Otternewzman
 
Yang DiPertuan Agong dan Tempoh Pemerintahan
Yang DiPertuan Agong dan Tempoh PemerintahanYang DiPertuan Agong dan Tempoh Pemerintahan
Yang DiPertuan Agong dan Tempoh Pemerintahancik bunga
 
Brand Strategy
Brand StrategyBrand Strategy
Brand Strategyboomshakes
 

Viewers also liked (20)

Recherche bibliographique Master philosophie 2016
Recherche bibliographique Master philosophie 2016Recherche bibliographique Master philosophie 2016
Recherche bibliographique Master philosophie 2016
 
The Healthy Sandwich Project
The Healthy Sandwich ProjectThe Healthy Sandwich Project
The Healthy Sandwich Project
 
Trị mụn thịt bằng tỏi
Trị mụn thịt bằng tỏiTrị mụn thịt bằng tỏi
Trị mụn thịt bằng tỏi
 
Chani index
Chani indexChani index
Chani index
 
Fysio24 voor jouw bedrijf
Fysio24 voor jouw bedrijfFysio24 voor jouw bedrijf
Fysio24 voor jouw bedrijf
 
2013 GMC Terrain Denali Philadelphia
2013 GMC Terrain Denali Philadelphia2013 GMC Terrain Denali Philadelphia
2013 GMC Terrain Denali Philadelphia
 
Phonetic and phonology
Phonetic and phonologyPhonetic and phonology
Phonetic and phonology
 
Photo album2
Photo album2Photo album2
Photo album2
 
Catalonia in 2036
Catalonia in 2036Catalonia in 2036
Catalonia in 2036
 
materials used in the UK
materials used in the UKmaterials used in the UK
materials used in the UK
 
Ingles
InglesIngles
Ingles
 
Conceptos básicos emily lopez
Conceptos básicos emily lopezConceptos básicos emily lopez
Conceptos básicos emily lopez
 
Lodia vosp
Lodia vospLodia vosp
Lodia vosp
 
Final photos
Final photosFinal photos
Final photos
 
Creating Valuable Relationships
Creating Valuable RelationshipsCreating Valuable Relationships
Creating Valuable Relationships
 
Sitka's Blue Lake Project - by Dean Orbison
Sitka's Blue Lake Project - by Dean OrbisonSitka's Blue Lake Project - by Dean Orbison
Sitka's Blue Lake Project - by Dean Orbison
 
Yang DiPertuan Agong dan Tempoh Pemerintahan
Yang DiPertuan Agong dan Tempoh PemerintahanYang DiPertuan Agong dan Tempoh Pemerintahan
Yang DiPertuan Agong dan Tempoh Pemerintahan
 
Nat report1
Nat report1Nat report1
Nat report1
 
Presenting research
Presenting researchPresenting research
Presenting research
 
Brand Strategy
Brand StrategyBrand Strategy
Brand Strategy
 

Similar to Nat 07

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
 
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
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)Joud Khattab
 
Module (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxModule (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxGeorgeThoreJr
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PATMuuluu
 
Network address translations
Network address translations Network address translations
Network address translations Shahzad shareef
 
Detailed explanation of Basic router configuration
Detailed explanation of Basic router configurationDetailed explanation of Basic router configuration
Detailed explanation of Basic router configurationsamreenghauri786
 
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxCCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxketurahhazelhurst
 
CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9Chaing Ravuth
 
Lab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfLab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfNesibusami
 
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 Cisco 800 Router Configuration for Internet Access
Basic Cisco 800 Router Configuration for Internet AccessBasic Cisco 800 Router Configuration for Internet Access
Basic Cisco 800 Router Configuration for Internet AccessHarris Andrea
 

Similar to Nat 07 (20)

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
 
Icnd210 s07l01
Icnd210 s07l01Icnd210 s07l01
Icnd210 s07l01
 
Nat pat
Nat patNat pat
Nat pat
 
NAT Ccna
NAT CcnaNAT Ccna
NAT Ccna
 
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
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
 
Module (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptxModule (10) NAT for IPV4.pptx
Module (10) NAT for IPV4.pptx
 
Nat
NatNat
Nat
 
Ccna 2 chapter 11 2014 v5
Ccna 2 chapter 11 2014 v5Ccna 2 chapter 11 2014 v5
Ccna 2 chapter 11 2014 v5
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PAT
 
Network address translations
Network address translations Network address translations
Network address translations
 
Detailed explanation of Basic router configuration
Detailed explanation of Basic router configurationDetailed explanation of Basic router configuration
Detailed explanation of Basic router configuration
 
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docxCCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
CCNA Connecting NetworksSA ExamLab 13 CCNA Connecting Netwo.docx
 
CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9
 
Lab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfLab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.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
 
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
 
Basic Cisco 800 Router Configuration for Internet Access
Basic Cisco 800 Router Configuration for Internet AccessBasic Cisco 800 Router Configuration for Internet Access
Basic Cisco 800 Router Configuration for Internet Access
 

More from Davinder Chauhan (6)

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 report
Nat reportNat report
Nat report
 
Nat report 1
Nat report 1Nat report 1
Nat report 1
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
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
 
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
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
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
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
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
 
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
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
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
 

Nat 07

  • 1. INTERNET Guided By :- Presented By :- Mr. Barinder Singh 1
  • 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. 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 5
  • 6. NAT: Network Address Translator NAT Translates between local addresses and public ones Many private hosts share few global addresses Private Network Public Network Uses private address range Uses public addresses (local addresses) Local addresses may not Public addresses are be used externally globally unique 6
  • 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. An IP address is either local or global. • Local IP addresses are seen in the inside network. 10
  • 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. • For each interface you need to configure INSIDE or OUTSIDE A 10.0.0.1 10.0.0.254 200.0.0.1 10.0.0.2 S0 Internet B E0 C 10.0.0.3 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 15
  • 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. • For each interface you need to configure INSIDE or OUTSIDE A 10.0.0.1 200.0.0.1/200.0.0.254 10.0.0.2 10.0.0.254 B E0 S0 Internet C 10.0.0.3 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 19
  • 20.  Overloading an inside global address.  NAT overload only one global IP shared among all hosts. 200.0.0.1:1025 A 10.0.0.1 200.0.0.1:1026 200.0.0.1:1027 10.0.0.2 10.0.0.254 B 200.0.0.1 E0 S0 Internet C 10.0.0.3 Shared Global IP 20
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. S0 S0 192.168.10.1 E0 E0 192.168.20.1 A B 192.168.10.2 192.168.20.2 R1#config t R2#config t R1(config)# int e 0 R2(config)# int e 0 R1(config-if)# ip nat insde R2(config-if)# ip nat insde R1(config)# int s 0 R2(config)# int s 0 R1(config-if)# ip nat outside R2(config-if)# ip nat outside R1(config)#access-list 1 permit 192.168.10.0 0.0.0.255 R2(config)#access-list 1 permit 192.168.20.0 0.0.0.255 R1(config)#ip nat inside source list 1 interface s 0 overload R2(config)#ip nat inside source list 1 interface s 0 overload  To see host to host ping configure static or  To see host to host ping configure static or dynamic dynamic routing routing To check translation To check translation #sh ip nat translations #sh ip nat translations 29
  • 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. F0/0.1 = vlan 2(10.0.0.0/8) ORG 1 F0/0.2 = vlan 3 (192.168.10.0/24) Vlan 2 Vlan 3 Name = SERVER Name = INTERNET
  • 33. VLAN CONFIGURATATION ORG 1 Manageable Switch Vlan 2 Vlan 3 Name = sale Name = mkt 10.0.0.0/8 192.168.10.0/24
  • 34. VLAN 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