Skip to main content

NAT/PAT



1.   NAT stands for Network Address translation.
2.   PAT stands for Port Address translation.
3.   NAT/PAT came to use because private IP addresses are not allowed on internet. So we have to somehow convert private IP addresses into public IP addresses and vice versa.
4.   NAT & PAT is used to convert private IP address into public IP address and vice-versa.
5.   We configure NAT/PAT on our edge router from where traffic will enter and exit our network.
6.   Private IP range:
·     Class A (10.0.0.0 – 10.255.255.255)
·     Class B (172.16.0.0. – 172.31.255.255)
·     Class C (192.168.0.0. – 192.168.255.255)
7.   NAT is of two types:
·     Static NAT (one to one mapping)
·     Dynamic NAT (many to many mapping)
8.   In Static NAT, we have to convert each private IP address of our network into public IP address manually.
9.   In Dynamic NAT, we will create an Access list and will place private IP address in that list. Then we will have a NAT pool in which we will place our public IP address range. One private IP from access list will be mapped with a public IP address from NAT pool. This public address pool is temporary in nature.
10.                 Static NAT configuration:
·     On edge router, give following commands:
Router(config)#interface fastEthernet 0/0(inside interface)
Router(config)#ip nat inside
Router(config)#interface fastEthernet 0/1(outside interface)
Router(config)#ip nat outside
Router(config)#ip nat inside source static (inside local IP) (inside global IP)
11.                 Dynamic NAT configuration:
·     On edge router, give following commands:
Router(config)#interface fastEthernet 0/0(inside interface)
Router(config)#ip nat inside
Router(config)#interface fastEthernet 0/1(outside interface)
Router(config)#ip nat outside
·     Create an access list and permit your private network.
Router(config)#access-list (number) permit (private IP range) (wildcard bit)
·     Create a NAT pool.
Router(config)#ip nat pool (name) (starting public IP) (end public IP) netmask (value)
·     Then give following commands:
Router(config)#ip nat pool inside source list (access-list no) pool (NAT pool name)
12.                 PAT (many to one mapping)configuration:
·     On edge router, give following commands:
Router(config)#interface fastEthernet 0/0(inside interface)
Router(config)#ip nat inside
Router(config)#interface fastEthernet 0/1(outside interface)
Router(config)#ip nat outside
·     Now do following configuration:
Router(config)#ip nat pool inside source list (access-list no) interface (interface on which your public IP is configured) overload




Comments

Popular posts from this blog

How To Upgrade Windows Server 2008 R2 To Windows Server 2012

In this post we will see how to upgrade Windows Server 2008 R2 to Windows Server 2012. It’s been an year that Microsoft has released Windows Server 2012, when Windows Sever 2012 was released the IT professionals were eager to know what’s new in Windows Server 2012 and i was one of them. Microsoft releases all of its operating systems in multiple editions, which provides consumers with varying price points and feature sets. While choosing the edition make sure you choose the edition that suits your requirements. Before we go ahead and deploy Server 2012, let’s take a look at editions of Windows Server 2012. 1)  Windows Server 2012 Datacenter Edition  – The Datacenter edition is designed for large and powerful servers with up to 64 processors and fault-tolerance features such as hot add processor support. This edition is available only through the Microsoft volume licensing program and from original equipment manufacturers bundled with a server. 2)  Windows Server 2012 Standard Ed

Installing the Fuzzy Lookup Excel Add-In

    1.       Navigate to the Microsoft website and download the Fuzzy Lookup installation ZIP file.  Save the ZIP file in a new directory on your desktop called ‘FuzzyLookup’ and then extract the files to that same directory.   2.       Make sure all applications are closed on your computer. 3.       Run the ‘setup.exe’ file. Press ‘Run’.   4.       Next the setup process will ask you if you accept two separate License Agreements.  Press ‘Accept’ to both. 5.       Next you will see the application start downloading and installing files.  This will take several minutes. 6.       Next the Setup Wizard will appear.  Press ‘Next.’ 7.       Another License Agreement screen will appear.  Choose ‘I Agree’ and then ‘Next’.   8.       Do not change the default installation folder.  Press ‘Next’. 9.       The setup application will next ask you to confirm installation instructions.  Press ‘Next’ to confirm the installation choices and the i