1/39
Looks like no tags are added yet.
TCP/IP
"Transmission Control Protocol / Internet Protocol It is a set of communication protocols that allows computers, smartphones, servers, and other devices to communicate over a network, including the internet."
Default Gateway
"the IP address of a router on a local network that acts as an access point to other networks or the internet
the device (usually your router) that allows your computer to communicate with devices on other networks, including the internet"
IPv4 address
"- dotted decimal
four decimal numbers separated by periods, with values from 0 to 255
eg. 104.244.42.129"
How large is an IPv4 address?
"32 bits 8 bits x 4"
Subnet mask
"a number that tells your computer which devices are on its local network and which devices are on a different network
What does a TCP/IP IPv4 subnet mask of 255.255.255.0 mean if the ip address is 192.168.4.33?
The network ID is 192.168.4 and the host address is 33
What is a common subnet mask?
255.255.255.0
2 hosts are always subtracted from total useable hosts on a subnet mask for what?
network and broadcast
What numbers can be in an IPv4 addresss?
0 -255
NAT
"Network address translation
Public vs private IP address
"A private IP address is used inside a local network, such as your home Wi‑Fi. Your router assigns addresses like 192.168.1.25 to your devices
A public IP address is used to identify your network on the internet. Your internet provider usually assigns it to your router."
What oranisation sets the standard used for IPv4 addressing?
"RFC 18 (request for comment)"
What are RFC 18 private IP address ranges? And how to easily memorise them?
"10.0.0.0 - 10.255.255.255 172.16.0.0 - 172.31.255.255 192.168.0.0 - 192.168.255.255
IPv6 address length
128 bit
IPv6 how to write
"Hexadecimal
eg. 2001:0db8:0000:0000:0000:ff00:0042:8329
You can shorten it in two ways:
eg. 2001:db8::ff00:42:8329"
Subnetting with IPv6?
"Less need - there are more than enough addresses
On a 255.255.255.0 subnet mask, which is the network portion and which is the host portion?
"255.255.255 is the network portion 0 is the host portion"
What are CIDR /8, /16 and /24 subnet masks?
"255.0.0.0 : /8 255.255.0.0 : /16 255.255.255.0 : /24"
What are CIDR /8, /16 and /24 subnet masks equivalent in binary notation?
"11111111.00000000.00000000.00000000 : /8 11111111.11111111.00000000.00000000 : /16 11111111.11111111.11111111.00000000 : /24"
Multiplexing
"combines multiple data streams so they can share one communication channel. At the receiving end, the streams are separated again.
For example, a computer can use different port numbers to keep several network conversations straight over the same connection. This lets those conversations share the network link."
TCP - transmission control protocol
"connection oriented
UDP - user datagram protocol
"connectinless
DHCP
"Dynamic host configuration protocol
TFTP - Trivial file transfer protocol
"- transfers files in a simple way, often for tasks such as loading a device’s configuration or boot files over a network
What happens when data doesn't get through when an application using UDP?
"- the application itself might keep track and decide whether or not data needs to be retransmitted
HTTPS
"encrypts the connection between your browser and the website, helping protect information in transit, such as passwords or payment details. You’ll usually see it shown as a padlock in the browser address bar
SSH - secure shell
"lets you securely connect to and manage another computer over a network, often using a text-based command line
Non ephemeral ports
"the fixed, well-known ports that network services use to listen for connections
Ephemeral port number
"a temporary port number your computer picks for one side of a network connection
What number can a TCP or UDP port be?
"any number between 0 and 65535
Are port numbers secret?
"No
APIPA
"If a DHCP server is not available and a static/ manual IP address has not been configured
Link Local address
Another word for an APIPA address
APIPA Address ranges
169.254.1.0 to 169.254.254.255 (169.254.x.x)
Static Address
"Assign all IP parameters manually
DNS server assignment
"- usually assigned automatically from DHCP server
Loopback address
lets a device send network traffic to itself. It’s useful for checking whether that device’s own networking software is working, without sending traffic to another computer
IPv4 loopback address
127.0.0.1 (often written as 127.x.x.x)
IPv6 loopback address
::1
DHCP server
"- usually integrated into router