what does IPV4 use
octets(group of 8 bits) and its a 32 bit number
summarise unusable/reserved addresses
Some IP addresses cannot be used for individual devices or hosts on a network.
127.x.x.x is the loopback range, used for diagnostics on the local machine, not routable outside the device.
x.x.x.0 is the network identifier (network address) for the subnet — it identifies the whole network, not a host.
x.x.x.255 is the broadcast address on that subnet — used to send data to all hosts simultaneously.
x.x.x.1 is commonly used as the default router/gateway address, but this can vary depending on network setup.
parts of an IP address
networkID - left hand bits used to define the network where nodes are communicating
HostID - right hand bits, used to identify the nodes on the network
summarise classful addressing
Each class has fixed network and host portions.
classful vs classless addressing
classful : number of hostID’s are fixed, the use of the suffix “/24” enables IP addresses to be used with varying proportions of host and network IDs
classless: number of hostID are variable
summarise subnet masking
what is subnetting and why is it used
advantages of subnetting
public vs private IPs
Public IP: globally unique, routable over the internet.
Private IP: used within LANs, not routable on the internet.
- Not allocated centrally
- impossible to connect
to over Internet // fromoutside
network
following are considered private:
- 10.0.0.1 - 10.255.255
advantages of private IPs
Conserve public IPs: Many devices can use private IPs internally without needing public ones.
Enhance security: Private IPs are not directly accessible from the internet, reducing exposure.
Allow network flexibility: Private IP ranges can be reused in different networks without conflict.
Simplify internal network management: Easier to organize and control devices inside a local network.
Support NAT functionality: Private IPs work with NAT to connect to the internet via a shared public IP.
number of possible hosts
2^32 - 2
because they cane end in 255 or 0
why is network address translation (NAT) used
Conserves public IP addresses by allowing multiple devices to share one public IP.
Enhances security by hiding internal IP addresses from the external network.
Enables use of private IP addresses within local networks.
Allows communication between different IP address schemes (private and public).
Simplifies IP address management within an organization.
advantages of NAT
allows a single public IP address to be shared by any number of hosts with a private IP
Conserves IP addresses: Allows multiple devices on a local network to share a single public IP address.
Improves security: Hides internal IP addresses from external networks, reducing attack surface.
Enables private networks: Allows use of private IP addresses internally without conflict on the internet.
Simplifies IP management: Internal IPs can remain unchanged even if the external IP changes.
Supports IP address reuse: Private IP addresses can be reused across different networks.
NAT process
what is port forwarding
what is the purpose of a DHCP system
to automate the configuration of hosts connecting to a TCIP/IP network
advantages of a dhcp system
how does a DHCP system work
explain how an external router would be configured so that a web server can be accessed by computers outside of the network
Explain how:
* Computer A will use a subnet mask to determine whether or not it can send the
packet directly to Computer B across the LAN or if the packet must be sent via the
Internet
explain how a packet will be routed across the Internet
how can the checksum be used to determine if the received packet has been changed
during the transmission.
checksum produced when packet transmitted
* (hash) value calculated from packet contents
* this value appended to packet
* computer B recalculates checksum
* received and calculate checksum compared
* if these match packet contents/data are accurate . if these differ the data has been
changed // if these differ there is an error in the data.
explain how two or more computers connected to the Internet can have the same IP address and still communicate with each other
reasons why IPv6 has been introduced to replace IPv4