Networking contd…
Network Interface
- A device is connected to the network using Network interface

- The ip that the network interface recieves can be used to access the device/system/server
- A device can have multiple network interfaces
- Network interfaces gets an ip address assigned to it by DHCP (Dynamic Host Configuration Protocol) server

- In your home networks, wifi routers have built in DHCP which assigns the ip
- DHCP can assign dynamic ip or static ip depending on configuration.
How can a private network access internet?
- Rule: Any server on public network will respond to other server in public network only.
- NAT (Network Address Translation) can help

Rules in networking
- In networking we need to write rules (firewalls, routers, etc), Rules are designed to work with network id’s only
- Rules generally involve cidr ranges with focus on network id part
Specific network
192.168.0.0/24
10.0.0.0/16
Any ip address
0.0.0.0/0
specific ip address
4.4.4.4/32
