Chapter 6 - TCP/IP Basics Flashcards
TTL
Time to Live
Field in an IP packet that prevents it from indefinitely spinning through the internet by using a counter that decrements by one every time a packet goes through a router
TCP Three Way Handshake
Sending and receiving machines acknowledge each other’s presence and readiness to send and receive data
SYN
SYN-ACK
ACK
Network ID
The portion of an IPv4 address that is similar for all hosts on the same LAN
Example- 202.120.10.x
What does a router need to to connect LANs?
An IP address on every LAN it interfaces with- example:
FastEthernet0/0 192.168.1.1
FastEthernet0/1 192.168.2.1
Default Gateway
The router interface that connects a single LAN to the router
Typically assigned the lowest host address on the network (ie 192.168.1.1)
Subnet Mask
Tells sending computer whether the destination IP address is on the local network or on an external network
ARP
Address Resolution Protocol
How a TCP/IP network figures out the MAC address based on the destination IP address
Class A Network
First Decimal Value: 1-126
16,277,214 hosts per Network ID
Class B Network
First Decimal Value: 128-191
65,534 hosts per Network ID
Class C Network
First Decimal Value: 192-223
254 hosts per Network ID
Class D Network
First Decimal Value: 224-239
Multicast
Class E Network
First Decimal Value: 240-254
Experimental
Subnetting
Taking a single class of IP addresses and chopping it up into multiple smaller groups
Enables you to separate a network for security and for bandwidth control
Formula for calculating hosts on a subnet
2^x-2 where x = number of zeroes in subnet mask
2^8 - 2 = 254
2^16 -2 = 65,534
DHCP
Dynamic Host Configuration Protocol
Automatically assigns an IP address whenever a computer connects to the network
Client makes request to DHCP server; DHCP server provides DHCP lease
DHCP Scope
Range (or pool) of IP addresses assigned by Network Engineer
DHCP Relay
Allows routers to forward DHCP requests from multiple LANs to the DHCP server rather than administering many different DHCP servers
APIPA
Automatic Private IP Addressing
Clients are designed to generate an APIPA address if they don’t receive a response from a DHCP server
This allows the client to continue to communicate with other hosts on the same Network ID, but does not allow for external communication because APIPA cannot issue a Default Gateway
DHCP Failover
Secondary DHCP server that will pick up the load if the first server fails
Rogue DHCP Server
DHCP client will accept IP info from the first DHCP server that responds. This can happen if someone adds a home router to the network or if a bad actor is attacking the network
May give out IP addresses in the same scope as legit DHCP server, but change Default Gateway to intercept incoming and outgoing traffic
127.0.0.1
Loopback Address
Sends packets to self
Private IP Address Ranges
10.x.x.x
172.16.x.x - 172.31.x.x
192.168.x.x