A+ 1001: LAN Flashcards
IP address
4 octets between 0 - 255
Classful address scheme for locations and sublocations: Network portion & Host portion
Network portion
- Class c: 1.1.1.x = 254 hosts
- Class b: 1.1.x.x = 65,534 hosts
- Class a: 1.x.x.x = Millions of hosts
IANA
Internet Assigned Numbers Authority
IP addressing FRAME
Destination MAC Source MAC Destination IP Source IP DATA FCS
IP address with zero on the end
The address for a LAN
IP address with a one on the end
Default gateway, that connects LAN to WAN
Usually a Router
3 things a device needs to connect to the internet
- IP Address
- Subnet Mask
- Default Gateway
How to configure static IP on PC
Network & Sharing Center > Change Adapter settings > Select properties of the network > Select IPv4
Enter IP address, Subnet-mask, and Default gateway
Private IP address
Used on private networks
Class A: 10.x.x.x
Class B: 172.16. - 31x.x
class C: 192.168.x.x
Loopback IP Address
Home or Local Host
127.0.0.1
How to verify that network card is up and running
ping 127.0.0.1
How to find ip address
ipconfig
What is the first thing you should do if the network is down?
Ping the router/default gateway
How to ping continuously?
ping -t [ip]
Old Class addressing for Public IP
Class A: 1.0.0.0 - 126.0.0.0
Class B 128.x.0.0 - 191.x.0.0
Class C: 192.x.x.0 - 223.x.x.0
Class D: 224.x.x.x
Class E 240.x.x.x
class E is reserved
Class D-multicast
224.x.x.x
Used for broadcasting like streaming
NAT
Network address translation
With NAT, internal networks use private IP addresses and share a public address
All gateway routers are NAT enabled by default
Networks that use NAT are invisible to public internet
When a device sends a packet to another device on the WAN the NAT removes the LAN address and inserts its own WAN address, before sending the packet out to the internet. When the packet returns the process is reversed and the packet is forwarded to the LAN device
How to get to your routers web interface?
Enter default gateway IP into the browser
Where does the IP for WAN come from
Assigned by ISP
DHCP
DHCP
Dynamic Host Configuration Protocol
Most Routers have a DHCP server included
Dynamically assigns IP address information to devices on network
Makes it easy for mobile devices to move between networks, like going from home network, to office network, to coffee shop, without having to manually configure ip information
Configure on pc by selecting “Obtain an IP address automatically” from the IPv4 Properties
How to find your DHCP server ip
ipconfig /all
APIPA
Automatic Private IP Addressing
The operating systems fallback in case it cannot find a DHCP server
By default, APIPA will always give 169.254.x.x address. This means that all computers will be on the same network and so can still comunicate with oneanother when DHCP server is down, but wont be able to get onto the internet because the router does not use APIPA
When there is limited connectivity, you can get to other devices in the office, but not the internet, then where should be the first place you look?
check ipconfig to see if you have an APIPA address, if you do then the DHCP server might be down.
Try
- restart network
- ipconfig /renew
What does ipconfig /release do?
Disconnects a device from DHCP server
What does ipconfig /renew do?
Reconnects a device to the DCHP server
How to setup a static or non-APIPA address?
Configure it in the “alternate Configuration” in the IPv4 properties tab
IPv6
128 bit addressing scheme
Eight hex numbers separated by 7 colons
Link-Local Address: Assigned by the device itself, used for local connections
Global unicast address (internet Address): Assigned by the router, used for internet connections
Subnet mask = /64 prefix
Link-local address
IPv6 unicast address
Always starts with Fe80::
Link local addresses allow machines to automatically have an IP address on a network if they haven’t been manually configured or automatically configured by a special server on the network (DHCP).
DNS
Domain Name Server
Port Number
IP address gets you to the right computer.
The Port number gets you to the right application
0 - 65535
Well Known Ports: 0- 1023
Registered Ports: 1024 - 49151
Ephemeral/Dynamic Ports: 49152-65535
Resource Monitor
Windows application that allows monitoring of live networking information
Shows connections on a system