Basic Networking HTTP Flashcards
1.4
Relationship between machines and networks
- each machine can belong to multiple (sub) networks at the same time
- each machine can have multiple IP addresses at the same time
- different machines in different (sub)networks can have the same IP address
what is an IP address
unique identification of a machine on the network
- IPv4: 4-byte numbers
DNS (domain name system)
- host-name registry on network
- maps host names to IP addresses
CMD window on windows
- ipconfig: to check address
- hostname: to check hostname
- static vs dynamic address
what is DHCP
dynamic host configuration protocol
- network protocol used to configure network devices to communicate on an IP network
what is a ping
- a tool to test whether a particular host/machine is reachable across a network
- sends packets to the target host and listens for reply from the target
what is a loop back address
local host/127.0.0.1 : standard IP address referring to the current host
- if program tries to connect to 127.0.0.1, immediately looped back to the machine that currently runs the program
what are port numbers
ports are used to identify a particular process/application running on a machine so that the data sent to the machines can be relayed to the right application
what are commonly used HTTP request methods
HTTP request-response
POST - create data
GET - retrieve data
PUT - update data
DELETE - delete data
HTTP RR
- what do clients need to know? what are they?
- a client doesn’t need to know the language or platform used to implement the server
- know URLs and how to send HTTP request and receive HTTP reply
- client does not have to be a web browser
Load Balancer
- route network traffics to different receivers and dispatch processing workloads among them
- client may not need to know the actual servers’ IP
Network Address Translation
enables communication across networks through a device that has IPs in both networks
- map one network address to another by modifying the address information in network communication data
- re route data by the network to a different receiver or can appear to come from a different sender
EG. router at home
port numbers VS IP addresses
Port numbers identify a particular application or service on a system.
An IP address identifies a machine in an IP network and is used to determine the destination of a data packet.