# DHCP DHCP is a service that uppon request assigns IP address and other paramaters to a machine on a network. It solves the issue of having to manually set up every device # What is a port An IP address identifies specific machine on a network, **a port** identifies specific **application** running on that machine. A port is **a number** between [1 - 65,535] that is assigned by the OS to any application that wants to communicate over the network. Can be choosen at random, can be hard set. ![pic_port_header](https://i.imgur.com/TM0pOQN.png) # How Router's NAT works