The Stack Overflow podcast is back! Listen to an interview with our new CEO.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

At which layer does router operate?

I have studied from various sources that router is a layer 3 device. It does routing based on Network layer (layer 3) header, but I have a doubt. Network address translation (NAT) is a feature of ...
2
votes
1answer
670 views

Bridging networks without NAT: how it's done?

I have quite limited networking experience, so probably i'm asking about very simple things. I'm reading about linux bridge interfaces, and documentation states that there is no NAT by default and ...
1
vote
2answers
249 views

CGN and its advantages

I have been reading about CGN. Though similar to NAT it is used by service providers to route traffic without the need for the a public IP address. But when the packet leaves the ISP to the public ...
4
votes
3answers
816 views

How does a router a layer 3 device translate port address in PAT, as it is a layer 3 device?

While I was reading about PAT i.e Port Address Translation.The router was configured to translate all the private IP addresses to one single public IP.Since router is a layer-3 device, it can do that ...
8
votes
3answers
23k views

What layer of the OSI model does NAT work?

Simple question and the answer is layer 3 of course, but can we say that PAT is working on layer 4 also because it deals with port numbers which is a layer 4 function? Or is it only a layer 3 ...