Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / Explanation and Difference between Port Overloading and Port Translation

Explanation and Difference between Port Overloading and Port Translation

June 23, 2016 by James Palmer

Though port-overloading and port-translation seems to be almost equivalent, this article focuses on a minute difference between these two.
Below example will bring out the difference between two:

Example:
========

Client (10.1.1.1) —— (10.1.1.2) SRX (1.1.1.1) ——– ISP ——- Servers (2.2.2.2, 3.3.3.3, 4.4.4.4)

Consider SRX has interface based NAT configured on it.
This means if my client sends a packet to each of the server 2.2.2.2, 3.3.3.3, 4.4.4.4, it would take a source IP as 1.1.1.1

Scenario 1:

========

Sessions after NAT could be like these:
10.1.1.1/1299 ---> 2.2.2.2/80
2.2.2.2/80 ---> 1.1.1.1/5000

10.1.1.1/1300 ---> 3.3.3.3/80
3.3.3.3/80 ---> 1.1.1.1/5000

10.1.1.1/1301 ---> 4.4.4.4/80
4.4.4.4/80 ---> 1.1.1.1/5000

Scenario 2:

========

Sessions after NAT could be as follows:

10.1.1.1/1299 ---> 2.2.2.2/80
2.2.2.2/80 ---> 1.1.1.1/5000

10.1.1.1/1300 ---> 3.3.3.3/80
3.3.3.3/80 ---> 1.1.1.1/5001

10.1.1.1/1301 ---> 4.4.4.4/80
4.4.4.4/80 ---> 1.1.1.1/5002

Now, in both scenarios mentioned above there is a PAT, because I do see a change in the port numbers after NAT.
Here comes the difference:
In scenario 1, port-overloading is at work but not in scenario 2. The reason is because I am using the same port 5000 for interface NAT’d IP, 1.1.1.1 for 3 different sessions but not in scenario 2.

Related

Filed Under: Juniper Tagged With: Port Overloading, Port Translation

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in