Link to home
Start Free TrialLog in
Avatar of alimohammed72
alimohammed72

asked on

NAT first or Routing First ?

which will happen first for incoming and outgoing traffic in firewalls/routers ?

thanks
Avatar of theras2000
theras2000
Flag of United States of America image

They happen at the same time, in the same device, usually.  The router picks up the packet from one network, translates the address, send the packet down a new network.  If routing is moving the traffic from one network to another, and NAT is the translation of addreses/ports, then my crude explanation would suggest that the NAT part is happening right in between the start and end of the routing part.  But really, lets just say they're happening at the same time.

I suspect that you could benefit from a more detailed or targeted answer if you more specifically explained what you're looking for.  Have you got a network issue?  Are you just having a deep and meaningful conversation with your brother about the finer points of routing?
ASKER CERTIFIED SOLUTION
Avatar of NotLogical
NotLogical
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deimark
As above, but really, the answer "depends".

If you can give us an idea of what device you are using and also in what direction you are looking at.

Normally though, outbound traffic is checked to make sure it can route, then natted, then sent out the routed interface.