top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between SNAT and DNAT for an interface ?

0 votes
520 views

There is a concept of NATing using which interface modifies IP addresses. I want to understand real use case of source natting and destination natting.

posted Aug 13, 2017 by Harshita

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
For basic understanding :

Source NAT changes the source address in IP header of a packet. It may also change the source port in the TCP/UDP headers. The typical usage is to change the a private (rfc1918) address/port into a public address/port for packets leaving your network.

Destination NAT changes the destination address in IP header of a packet. It may also change the destination port in the TCP/UDP headers.The typical usage of this is to redirect incoming packets with a destination of a public address/port to a private IP address/port inside your network.

Please improve this answer

Similar Questions
0 votes

Well, now and days when we talk about SDN, it mean we are going to use white box switches. AFAIK switches works at the L2 level and routers work at the L3 level. Is the same concept applicable for white box switches or they can have support for routing also ?

0 votes

What is the fundamental difference between bridge and gateway ? When a machine is considered as gateway and when it is known as bridge ?

+4 votes

What are the functions performed by tun/tap interface ?

...