Network Fundamentals: Cisco Certified Network Associate (200-301 CCNA)
Network Fundamentals: Cisco Certified Network Associate (200-301 CCNA)
Network Fundamentals: Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 1
NETWORK
FUNDAMENTALS
1
Cisco Certified Network Associate (200-301 CCNA)
- What is a Network?
Also called (Computer Network), it is 2 or more devices needs to/sharing
information between them
To do that, they will need a common media between them to share those
information.
- Network Types (sizes):
- some user in the same room/department connected together using a Local
switch device Area
Network
- Or: some users in different rooms/department connected together using a
- LAN -
router and some switches.
- Users connected together globally through the Internet, Wide
Area
- Service Providers will be needed Network
- A group of device (Routers, Switches, & other devices) will be needed -WAN -
2
Cisco Certified Network Associate (200-301 CCNA)
1 – Routers: Network devices that connect different network domains and routes
the IP packets to its correct destinations.
3
Cisco Certified Network Associate (200-301 CCNA)
4
Cisco Certified Network Associate (200-301 CCNA)
- Firewalls protects you from the internet Apply some restrictions to your
local network
*There is a 2 in 1 solution
- Next-Generation Firewalls (NGFW) = FW + IPS
5
Cisco Certified Network Associate (200-301 CCNA)
6
Cisco Certified Network Associate (200-301 CCNA)
5 – Controllers:
A - Wireless Controllers: a central management point for multiple APs,
7
Cisco Certified Network Associate (200-301 CCNA)
- Analytics
- Automation
- Using GUI to Design, Display, and Configure
8
Cisco Certified Network Associate (200-301 CCNA)
6 – Servers: a device, storing common data for users (clients) to make use of:
- While clients, are the end devices that consumes OR generates new data.
1 – 2Tier & 3Tier: Typical for Enterprise & Campus Networks Which came
first? And what is the difference
- Access Authentication
- Distribution Fast Convergence Core
Distribution
Access
2Tier 3Tier
10
Cisco Certified Network Associate (200-301 CCNA)
Core
Access
Spine
Core
Access
Fabric
Leaf
Access
11
Cisco Certified Network Associate (200-301 CCNA)
B – Broadcast (MetroE)
12
Cisco Certified Network Associate (200-301 CCNA)
13
Cisco Certified Network Associate (200-301 CCNA)
- What is the difference? And which one is the Classic known network?
14
Cisco Certified Network Associate (200-301 CCNA)
- More specific
- Some layers go through
encapsulations & decapsulations
- Makes Troubleshooting Easier
15
Cisco Certified Network Associate (200-301 CCNA)
- less specific
- Still Some layers go through
encapsulations & decapsulations
16
Cisco Certified Network Associate (200-301 CCNA)
17
Cisco Certified Network Associate (200-301 CCNA)
19
Cisco Certified Network Associate (200-301 CCNA)
20
Cisco Certified Network Associate (200-301 CCNA)
- Layer 2 Technology
- Hexa-Decimal Language
- Physical Address
- Constant and Unique
- 48 Bit length
- Half for the Organization, half for the product
22
Cisco Certified Network Associate (200-301 CCNA)
- Layer 3 Technology
- Decimal Language (and Binary)
- Logical Address
- Variable, based on the need
- 32 Bit length
- Part for the Network, Part for the Hosts
- 4 Octets, each =?
- Addressing:
- convert from binary to decimal, and vice versa
- What defines network octets from hosts octets?
- Total Hosts = 𝟐𝟑𝟐 = 4,294,967,296
23
Cisco Certified Network Associate (200-301 CCNA)
- Subnetting:
- form 8 – 32
- The smallest, the bigger
- /XX or XXX.XXX.XXX.XXX like the IP address
24
Cisco Certified Network Associate (200-301 CCNA)
- IPv4 Classes:
- What defines the class?
25
Cisco Certified Network Associate (200-301 CCNA)
- Avoid duplication
- Private: available and free
- Public: reserved (costs money)
- Private Addresses:
26
Cisco Certified Network Associate (200-301 CCNA)
- Hexa-Decimal Language
- 128 bit length
- 8 parts
- Hosts = 𝟐𝟏𝟐𝟖 = 340,282,366,920,938,000,000,000,000,000,000,000,000
- Types:
- Global Unicast: 2000::/3 Public
- Unique local: FC00::/7 Private
- Link local: FE80::/10 Per-Interface Assigned (MAC Address)
- Anycast: Can be assigned to multiple node (Nearest)
- Multicast: FF00::/8 One Source – Multiple Destinations
27
Cisco Certified Network Associate (200-301 CCNA)
- Reliable - Not-Reliable
- Slower - Faster
- Three-Way Handshake - No Pre steps performed
- Connection-Oriented - Connection-less
- HTTP = TCP80 - SNMP = UDP161
- HTTPS = TCP443 - TFTP = UDP69
- FTP = TCP20, 21 - DNS = USP53
- SSH = TCP22 - SYSLOG = UDP514
- Telnet = TCP23
- SMTP = TCP25
- BGP = TCP179
28
Cisco Certified Network Associate (200-301 CCNA)
- Useful Tools:
- Ping: Availability Check
- Traceroute: IP’s in the Way
- FTP: Data Transporting
- SCP: Secure Data Transporting
- Telnet: Remote Access
- SSH: Secure Remote Access
- Ipconfig: End Device IP Assignment
- PING:
- Windows: Terminal --- Ping X.X.X.X
- Mac OS: Terminal --- Ping X.X.X.X
- Linux: Terminal --- Ping X.X.X.X
29
Cisco Certified Network Associate (200-301 CCNA)
- Traceroute:
- Windows: Terminal (CMD) --- Tracert/Tracert –d X.X.X.X
- Mac OS: Network Utility --- X.X.X.X --- Trace
- Linux: Terminal --- Traceroute X.X.X.X
30
Cisco Certified Network Associate (200-301 CCNA)
- Hypervisors:
- Schedules the VMs requests to the HW
- Distributes the HW resources between the VMs
31
Cisco Certified Network Associate (200-301 CCNA)
- Hypervisors Types:
- Type1:
- The Native or Bare Metal
- Runs directly on the HW resources
- HW --- Hypervisor --- VM
- Type2:
- Hosted
- Runs as a SW besides the OS
- HW --- OS --- Hypervisor
32
Cisco Certified Network Associate (200-301 CCNA)
- Examples:
- Microsoft Hyper-V
- ESXi VSwitch
33
Cisco Certified Network Associate (200-301 CCNA)
34
Cisco Certified Network Associate (200-301 CCNA)
enable
Show ip interface brief
configure terminal
Show interface description
Interface fa0/0/1
Show version
Ip address 192.168.1.1 255.255.255.0
Show running-config
Hostname Router1212
Show mac address-table
Reload
Show interface status
copy running-config startup-config
write erase
shutdown
no shutdown
35
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 2
NETWORK
ACCESS
36
Cisco Certified Network Associate (200-301 CCNA)
37
Cisco Certified Network Associate (200-301 CCNA)
- MAC Table:
- Filled (learned) based on the Source MAC The Dynamic Entry
- Decision is taken, based on the Destination MAC
- Aging Time! What for? How often?
- What will happen if Destination MAC is unknown!!
“FLOODING”
38
Cisco Certified Network Associate (200-301 CCNA)
- VLAN Types:
- Data VLAN: Ordinary
- Voice VLAN: Voice data only (higher priority)
- Default and Native VLAN: NO TAGS, but ____________________
39
Cisco Certified Network Associate (200-301 CCNA)
- Now, Edge ports and Port Fast: what’s the cases and differences?
42
Cisco Certified Network Associate (200-301 CCNA)
- Both Layer2 (Switches) and L3 (Routers) LACP can be done, But in L3: no need
for Negotiating and Device Roles
43
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 3
IP CONNECTIVITY
44
Cisco Certified Network Associate (200-301 CCNA)
Chapter3: IP Connectivity
45
Cisco Certified Network Associate (200-301 CCNA)
46
Cisco Certified Network Associate (200-301 CCNA)
47
Cisco Certified Network Associate (200-301 CCNA)
- Neighboring Process:
48
Cisco Certified Network Associate (200-301 CCNA)
49
Cisco Certified Network Associate (200-301 CCNA)
50
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 4
IP SERVICES
51
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 4: IP SERVICES
- What’s a DNS!?
- Domain Name Server: resolve a URL to an IP Address and vice-versa
- works on UDP port 53
- also, there is a reverse DNS (for that vice-versa thing)
52
Cisco Certified Network Associate (200-301 CCNA)
www.poweradmin.com
53
Cisco Certified Network Associate (200-301 CCNA)
54
Cisco Certified Network Associate (200-301 CCNA)
55
Cisco Certified Network Associate (200-301 CCNA)
- it can be:
Static: one-one translating
Dynamic: Group-Group Translating
- also, this did not solve everything, IP exhaustion still there
- so here comes PAT (Port Address Translation)
- also called NAPT, or NAT-Overload
- PAT will do a one-65535 Translation!!!
56
Cisco Certified Network Associate (200-301 CCNA)
57
Cisco Certified Network Associate (200-301 CCNA)
58
Cisco Certified Network Associate (200-301 CCNA)
- Server can be a Normal Server that collects all the loggings 4 = Warning
5 = Notification
- Server can use the “Syslog” or “Splunk” Software
6 = Information
- client is the networking device that generates logs 7 = Debug
59
Cisco Certified Network Associate (200-301 CCNA)
60
Cisco Certified Network Associate (200-301 CCNA)
- Queueing:
- giving a specific priority to every type of packet
(giving the priority of "very high" to the "UDP" traffic)
- dividing the Transmission capacity with respect to the priority
(giving 40% to the very high, 20% to the high, etc.)
61
Cisco Certified Network Associate (200-301 CCNA)
62
Cisco Certified Network Associate (200-301 CCNA)
- there is a relative:
- Trivial FTP (TFTP)
- uses UDP 69
- UDP so, unreliable, but still has its uses
63
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 5
SECURITY
FUNDAMENTALS
64
Cisco Certified Network Associate (200-301 CCNA)
- Type 2: Administrative:
- Things that you (The Network Admin.) decides and consider
- Like Policies & Procedures
(The company agreed policies & procedures)
- Written documents
- Background check for new employees
- Security awareness/periodically
(remind them from time to time)
- And Password of course
- Length (characters)
- Complexity (Upper/Lower case, Numbers, Symbols)
- Age (Minimum/Maximum Age for changing the Password)
66
Cisco Certified Network Associate (200-301 CCNA)
67
Cisco Certified Network Associate (200-301 CCNA)
68
Cisco Certified Network Associate (200-301 CCNA)
- Site-to-Site VPN
- Peer-to-Peer VPN
- needs and IGP for Routing and Forwarding (Underlay)
- the IGP will be exchange at the edges with the ISP
- Overlay VPN
- obtain a circuit from the ISP
- IGP will be yours all the way
69
Cisco Certified Network Associate (200-301 CCNA)
- Client VPN
- for an end user
- requires a software
- established remotely
- credentials are needed
- the Tunnel will be “PC – Router”
70
Cisco Certified Network Associate (200-301 CCNA)
73
Cisco Certified Network Associate (200-301 CCNA)
75
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 6
WIRELESS
NETWORKS
FUNDAMENTALS
76
Cisco Certified Network Associate (200-301 CCNA)
77
Cisco Certified Network Associate (200-301 CCNA)
- More Details:
- The Encoder now, the one who turns the Zeros and Ones
To that “Electro-Magnetic” field, is called a Trans/ceiver
- The more transceivers available, the more data encoded
- Then, a transceiver, will push the field, through an Antenna
*also, the more antennas, the more data
- To generate and push data through the air, there must a power to
Do so! So, a power source is also needed
- this power source might be a battery or an AC adapter
- measuring the power of a frequency is called “Amplitude”
78
Cisco Certified Network Associate (200-301 CCNA)
https://en.wikipedia.org/wiki/2.4_GHz_radio_use#/media/File:2.4_GHz_Wi-Fi_channels_(802.11b,g_WLAN).svg
81
Cisco Certified Network Associate (200-301 CCNA)
*more channel width, means more frequencies included, thus, more data
Can be encoded
82
Cisco Certified Network Associate (200-301 CCNA)
- Split-MAC Architecture
- there is a WLC
- APs now will be called Lightweight APs (LAPs)
- WLCs will manage (RF, QoS, AAA, Policies)
- APs will (RF TX/RX of frames, RF Collision Detection,
MAC & Data Management)
83
Cisco Certified Network Associate (200-301 CCNA)
- Cloud-Based Architecture
- also, a WLC
- but remotely (through public cloud, or private cloud)
- also, LAPs
- might be a Cisco Meraki (does self-config to the LAPs)
- or, Cisco Cat. 9800-CL
*when having WLC & LAP scenario, there will be a private tunnel between them,
It will encapsulate and transfer all the control and data information between the
WLC and LAPs, it’s called the “Control and Provisioning of Wireless AP”
Or “CAPWAP”
- 2 tunnels (control tunnel = UDP5246, data tunnel = UDP5247)
- control tunnel (encrypted and authenticated)
- data tunnel (not encrypted by default)
84
Cisco Certified Network Associate (200-301 CCNA)
85
Cisco Certified Network Associate (200-301 CCNA)
*Cisco Catalyst 9300 series, provides switches, that can have a WLC
Integrated inside the switch itself (embedded)
86
Cisco Certified Network Associate (200-301 CCNA)
6.8 AP Modes
- Local Mode
- the default of a LAP
- CAPWAP to the WLC
- everything passes through the CAPWAP
- if the CAPWAP fails, all clients will be disconnected
- Bridged Mode
- allows an Autonomous AP to connect as a client
To the LAP
- Flex Connect Mode
- Monitor Mode
- generates reports & statistics, send them to the WLC
87
Cisco Certified Network Associate (200-301 CCNA)
- Sniffer Mode
- scan a specific channel
- send the scanning reports to the WLC
- Sensor Mode
- perform SSID tests
- send test report to the DNA Center
- Mesh Mode
*a frame might travel multiple mesh nodes before reaching the LAN
*a mesh node (MAP), uses adaptive wireless path protocol (AWPP)
To determine the best path to a root node/AP (RAP)
88
Cisco Certified Network Associate (200-301 CCNA)
*some APs have a PoE & AUX ports in the back, these 2 can be
bundled/aggregated to form a higher bandwidth data interface
90
Cisco Certified Network Associate (200-301 CCNA)
- Encryption:
- for data frames only
- Management frames won’t get encrypted
- happens between client and AP only
- what’s beyond AP (the LAN) is not encrypted
- to have an end to end encryption:
- use HTTPS
- that will send a digital certificate between the src and dst
- thus, the entire path will be encrypted
91
Cisco Certified Network Associate (200-301 CCNA)
92
Cisco Certified Network Associate (200-301 CCNA)
- Enterprise:
- uses 802.1X (supplicant, authenticator, authentication Server)
- packets carried by EAP
- 802.1X will happen only between the supplicant and the
Authenticator
- the rest (authenticator, to the authentication server)
Will be RADIUS
- after the authentication is done, comes the encryption
- encryption is done by the authentication server
- which will give each client, a unique key
93
Cisco Certified Network Associate (200-301 CCNA)
- WPA2
- also have a personal and enterprise modes
- now it uses AES-CCMP instead of RC4+TKIP
- Personal:
- also, uses passphrase
- also, the pre-shared key is derived from the passphrase
- also, encryption happens from the client to the AP
- supports AES-CCMP, and, RC4+TKIP
- Enterprise:
- 802.1X in Ad-Hoc mode (ignore that)
- 802.1X supports re-authentication (faster)
94
Cisco Certified Network Associate (200-301 CCNA)
- WPA3
- personal and enterprise modes are here
- it supports “Enhanced Open” Wi-Fi (like airports)
- it supports “Wi-Fi Easy Connect” (for IoT)
- Personal:
- no pre-shared key
- SAE instead
- the derived key now is not related to the passphrase
- protects against offline dictionary attacks
- uses “Protocol Management Frame” (PMF)
- encrypt some Management Frames
- Enterprise
- uses PMF
- uses 192-bit minimum cryptographic security suite
95
Cisco Certified Network Associate (200-301 CCNA)
CHAPTER 7
AUTOMATION &
PROGRAMMABILITY
96
Cisco Certified Network Associate (200-301 CCNA)
7.1 Automation
- Traditionally, Network Management is about
- Installation and initial config
- modifying and updating the existing config
- upgrading software
- all of those were achieved by
- Console, Telnet, SSH, applying scripts or by copying config
- and, Monitoring
- which was achieved through
- SNMP, and Netflow
- AND, it was always “Box-by-Box”
97
Cisco Certified Network Associate (200-301 CCNA)
- With Automation
- new devices automatically finds an initial configuration
- automated QoS profiles/config
- automated AAA profiles/config
- utilizes scripts/tools
- standardize some procedures
- software image per device model
- and, the upgrade procedure
- schedule operations
- sometimes, automated troubleshooting (WoW)
- which are done through (CLI, SSH, SNMP, NETCONF, RESTCONF)
- topology visualization and monitoring
- which are done by using (SNMP Manager, and Netflow Collector)
- So, all of that led to reduce or even eliminate the Box-by-Box,
Smaller staff is needed, time saving, and config consistency
98
Cisco Certified Network Associate (200-301 CCNA)
- Declarative Approach
- the control plane resides within the network device (just like before)
- the controller will declare the requirements of the all the
Forwarding/routing decisions to the networking devices
- the network devices will then decide how to translate the
Controller instructions into actions
100
Cisco Certified Network Associate (200-301 CCNA)
- Overlay Network
- Virtual Network created on top of the Underlay
- now the underlay is like a “physical connectivity”
- some protocols use (VRF, MPLS-VPN, VXLAN)
- SDN Fabric
- the physical devices used to build the underlay
- those devices can be controlled by a “Controller”
101
Cisco Certified Network Associate (200-301 CCNA)
- so, the SDN effect upon the Control and the Data plane
- depends on the implementation approach
- if it was an Imperative approach
- also called a “Stateful SDN”
- the controller will be responsible for learning information
- and downloading them to the data plane
- if the devices lost connectivity to the controllers, they
Will be powerless
103
Cisco Certified Network Associate (200-301 CCNA)
- API types
- Internal API
- between applications
- like transferring data from HTML to PDF
- Web-Service API
- exchanging data between remote devices
- Uses IP address
- like REST-Based API
106
Cisco Certified Network Associate (200-301 CCNA)
107
Cisco Certified Network Associate (200-301 CCNA)
108
Cisco Certified Network Associate (200-301 CCNA)
- Ansible
- Agentless
- uses the Push Model
- Master pushes a config to the agent
- uses the YAML language
109
Cisco Certified Network Associate (200-301 CCNA)
- JSON Values
- always surrounded by a curly bracket { }
- name:value pairs
- a string must be enclosed with double quotes “ ”
- like = {“name”:”III”, “job”:”channel”, “location”:”YouTube”}
110
Cisco Certified Network Associate (200-301 CCNA)
- {“Route”:Null}
*Spaces don’t matter
111
Cisco Certified Network Associate (200-301 CCNA)
112