What is the process by which a router or gateway device replaces source or destination IP addresses in a packet before forwarding it?
A) PAT (Port Address Translation)
B) NAT (Network Address Translation)
C) DHCP (Dynamic Host Configuration Protocol)
D) ARP (Address Resolution Protocol)