11. Network Protocols Flashcards
Of which type of address is AD-4F-C1-A9-12-CB an example
a Media Access Control (MAC) address
What is the bit length of IPv6 Address
128 bit
What is latency in a network?
the amount of delay a network can experience
How many binary bits does an IPv4 address include
32 bits
What is the decimal range of values in each octet of an IPv4 address?
0-255
What is the default mask for Class A networks
255.0.0.0
What is the default mask for Class B networks
255.255.0.0
What is the default mask for Class C networks
255.255.255.0
What is the IP address range that can be assigned in Class C networks
192.0.0.0 - 233.255.255.255
Which node on a network servces as an access point to another network
default gateway
What does the acronum APIPA denote
Automatic Private Internet Protocol Addressing
What is the commonly used protocol for exchanging files over the Internet or an intranet network that supports the TCP/IP protocol
File Transfer Protocol (FTP)
By default, which port is used by Remote Desktop Protocol (RDP)
port 3389
By default, which port is used by telnet
23
By default, which port does the Domain Name System (DNS) use
53
By default, which port is used by Lightweight Directory Access Protocol (LDAP)
389
By default, which port is used by Secure Shell
22
Which service translates domain names into numeric IP address
Domain Name System (DNS)
Which TCP port is used by HyperText Transfer Protocol (HTTP)
80
Which port is used by Simple Main Transfer Protocol (SMTP)
25
Which TCP port is used by Internet Message Access Protocol version 4 (IMAP4)
143
Which TCP port is used by Post Office Protocol version 3 (POP3)
110
Which lower-layer protocol provides communication between computers or other network devices by using unique global addressing
the Internet Protocol (IP)
Which ports are used by File Transfer Protocol (FTP)
20 & 21
Which service is used to resolve an IP address to its Fully Qualified Domain Name (FQDN)
Domain Name System (DNS)
Which protocol resolves IP address to Media Access Control (MAC) address
Address Resolution Protocol (ARP)
What does the acronym SNMP denote
Simple Network Management Protocol
What does the acronym SMTP denote
Simple Main Transfer Protocol
Which ports are used by the Apple Filing Protocol (AFP)
427 & 548
Which port is used by HTTPS
443
Private Network Ranges
- 10.0.0.0/8 —Class A network with range 10.0.0.0 - 10.255.255.255
- 172.16.0.0/12 — 16 Contiguous Class B networks with address 172.168.0.0 - 172.31.255.255
- 192.168.0.0/16 — 256 contiguous Class C networks with address 192.168.0.0 - 192.168.255.255
CIDR
Class InterDomain Routing
Classless InterDomain Routing (CIDR)
Subnetworks of any size could be allocated, just by allowing any mask prefix number.
0.0.0.0
Nonroutable address which can either mean the current nework, the default route, any address address, or specific error
255.255.255.255
Broadcast address that address the entire subnet at once
127.0.0.0
Class A network reserved for loopback adddresses
169.254.0.0/16
Link-local or automatic Private IP addressing (APIPA) addresses.
WHen a host doesn’t have an IP address and cannot receive one from a server, it attempts to choose a unique random value from this range
RIR
regional internet registry
IPv6 address format
32 hexadecimal digits broken into eight groups of four separated by colons
example
fe80:0000:0000:0000:c249:3765:00c0:9b22
IPv6 address network prefix
first 64 bits in the address
(similar to IPv4 network ID)
IPv6 device identifier
last 64bits in the IPv6 address
similar to host id in IPv4
IPv6 Network prefix can be broken into
- 48 bit Global routing prefix used by routers on the larger network (first 48 bits)
- 16 bit subnet ID used for subnetting inside an organization
IPv6 device identifier
Not arbitray
By default the device EUI-64 hardware address.
EUI-64 is equal to or derived from its unique MAC address
IPv6 Loopback
::1/128
IPv6 link-local
always start with fe80 (1111111010) followed by 54 zero bits, followed by the EUI-64
usable on local segment but not routable
All IPv6 nodes keep a link-local address even if assigned a public address
link-local netowkr used block fe80::/10
individual address use prefix fe80::/64
All global unicast IPv6 address allocated from which block
2000::/3
which means they all start with 001
IPv6 multicast addresses always begin with
1111 1111 (FF)
IPv6 unique local
- Similar to IPv4 Private netowrk
- routable with a private network, but not on the pilic internet
- use fd00::/8 block
- fc00::/8 is also reserverd but not currently in use
address resolution
the process of using a higher level address to find out a lower level address
Neighbor Discovery Protocol
IPv6 protocol used to find the physical address corresponding to a local IP address
Address Resolution Protocol
IPv4 protocol to find the physical address corresponding to a local IP address
DHCP
Dynamic Host Configuration Protocol
2 most common transport protocols in TCP/IP
- Transmission Control Protocol (TCP)
- User Datagram Protocol (UDP)
TCP
Transmision Control Protocol
UDP
User Datagram Protocol
TCP Features
- Connection-oriented
- Reliable
- Error Correction
- Flow Control
- Sequencing
UDP features
- Connectionless
- fast
- lightweight
- The local host just sends datagrams without setting up a connection or waiting for an acknowledgement
Range of ports for TCP / UDP
65526 ports (16 bit) each
ephemeral ports
Ports held in a pool by the OS and given by the OS for client programs to use for the length of a given connection
Dynamic Ports
The three ranges of ports defined by IANA
- 1-1023 System Ports
- 1024-49151 User Ports
- 49152 - 65535 Private Ports
System ports
0-1023
Assigned to the most universal and accepted TCP/IP standard applications
Also called well-known ports
Also called priviledged ports as many operating systems require admin privileges to bind an application to ports in this range
User Ports
1024-49151
Assigned to applications that benefit from assigned port numbers, but are not so widely used that they need become a worldwide standard
Sometimes called registered ports as any creator can apply to IANA for a port in the range
Sometimes called user ports as any user-level app an bind to a custom port in the range
Private Ports
49152-65535
Are not assigned by IANA
Can be used for any purpose without registration
usually used by private applications or for temporary purposes
Most Operating systems assign their pool of ephermeral ports from this range
Remote Access Protocols
- Telnet (23)
- SSH (22)
- RDP / Remote Desktop Protocol (3389)
- VNC / Virtual Network Computing (5900+N where N is the display number)
- HTTP (80)
- SNMP (UDP 161 / 162)
Authenticaiton systems
- RADIUS Desgined for dialup connections to private LANs, but used in other networks
- TACACS+ / Terminal Access Controller Access-Control System Plus (CISCO): Cisco protocol with similar functions to RADIUS. Designed for remote admin of network devices, but can be used for remote access auth
- Kerberos: Allows a client to access multiple network resources via a single sign-in.
- 802.1x: IEEE standard used to auth connections to an ethernet switch or wireless access point
- LDAP: Manages a directory infromation service across a network
EMAIL protocols
SMTP / simple mail transfer protocol
POP / post office protocol
IMAP / intenet message access protocol (more features than pop, but uses more server resources)
MAPI / messaging application programing interface (used by microsoft exchange servers)
unicast address
an address that corresponds to one particular host