متقدم
البحث فيالملخصات
طريقة البحث
  • الكلمات تجد عناوين الدروس والنص والكود. صفِّ حسب النوع (أدلة، دورات، برامج، كتب) أو ابقَ في هذا الكتاب.
  • book:rhcsa و ch:8 يضيّقان البحث؛ ‎#code يجد الكلمة داخل أوامر الدروس فقط.
  • "كلمتان" تجد العبارة بالضبط.
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث
جرّب:

الدورة 5الاسم في الدورة: Computer Networks and Network Security

Computer Networks and Network Security

Course 5 of 14 in the IBM Cybersecurity Analyst certificate. The hardware of a network: cables, switches, routers, and wireless devices.

Course page: Coursera

  • 10 الدروس
  • 2 الأوامر
  • 1 المعامل

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

$ مستخدم عادي# بصلاحية root (أو مع sudo)

5.1

What the course covers

The hardware of a network: cables, switches, routers, and wireless devices.

  • How addresses work: IPv4, IPv6, classes, subnets, and masks.
  • How data moves: routing, switching, ARP, and routing tables.
  • The main protocols and ports: TCP, UDP, DNS, DHCP, and syslog.
  • How to defend a network: firewalls, IDS, IPS, NAT, NAC, EDR, and XDR.
  • A final project: design a network with subnets and add firewall rules.
ModuleMain focus
Module 1 · Networking FundamentalsNetwork devices, models, ports and protocols, wireless standards, basic design
Module 2 · IP Addressing, Routing and SwitchingIPv4 and IPv6, classes, subnet masks, ARP, routers, SOHO security
Module 3 · Network ProtocolsTCP and UDP, DNS and DHCP, syslog, flow analysis, user behavior analysis
Module 4 · Network Security TechniquesFirewalls, stateless and stateful inspection, IDS and IPS, NAT, DLP, NAC, EDR, XDR
Module 5 · Final Project and Course Wrap-UpBuild a network design, calculate subnets, configure firewalls, read traffic

5.2

Module 1: Networking Fundamentals

Network devices, models, ports and protocols, wireless standards, basic design.

  • A switch connects devices inside one LAN and forwards frames by MAC address.
  • A router joins different networks and forwards packets by IP address.
  • A protocol is a set of rules for talking. A port is a number that names a service.
  • Common ports: 80 HTTP, 443 HTTPS, 22 SSH, 25 SMTP, 53 DNS, 67/68 DHCP, 3389 RDP.
  • The OSI model has 7 layers. The TCP/IP model has 4 layers. Layer 2 = MAC, Layer 3 = IP, Layer 4 = TCP/UDP.
  • Wireless follows IEEE 802.11 standards. Use a modern security mode such as WPA2 or WPA3.
  • A switch connects devices inside one LAN. It forwards frames by MAC address.
  • A router joins different networks. It forwards packets by IP address.
  • A protocol is a set of rules for talking. A port number names a service.
  • Key ports: 80 HTTP, 443 HTTPS, 22 SSH, 25 SMTP, 53 DNS, 67/68 DHCP, 3389 RDP.
  • Wireless uses IEEE 802.11. Use WPA2 or WPA3. Do not use WEP.

5.3

Module 2: IP Addressing, Routing and Switching

IPv4 and IPv6, classes, subnet masks, ARP, routers, SOHO security.

  • IPv4 is 32 bits, written as four numbers from 0 to 255. IPv6 is 128 bits, written in hex with colons.
  • Classes A, B, and C differ in how many bits go to the network part. Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 are not routed on the internet.
  • These private ranges are defined in RFC 1918.
  • The subnet mask splits an address into a network part and a host part. /24 = 255.255.255.0. CIDR writes it as /n, e.g. /26.
  • ARP maps an IPv4 address to a MAC address on the local network.
  • The default gateway is the router that sends traffic out of the local network.
  • A routing table lists routes. The router picks the most specific match.
  • IPv4 is 32 bits: four numbers from 0 to 255.
  • IPv6 is 128 bits, written in hex groups with colons.
  • Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. The internet does not route them.
  • A subnet mask splits an address into a network part and a host part. /24 = 255.255.255.0. CIDR writes it as /n.
  • ARP maps a local IPv4 address to a MAC address.
  • The default gateway is the router that sends traffic out of the LAN.

5.4

Module 3: Network Protocols

TCP and UDP, DNS and DHCP, syslog, flow analysis, user behavior analysis.

  • TCP is connection-oriented: it orders data, checks it, and resends lost parts. Setup is the three-way handshake (SYN, SYN-ACK, ACK).
  • UDP is connectionless: fast, simple, no delivery promise. Good for video and DNS.
  • DNS turns names into IP addresses. DNS filtering blocks bad domains.
  • DHCP gives a host an IP address, mask, gateway, and DNS server without manual setup.
  • Syslog sends log messages to one central log server.
  • Port mirroring copies traffic to a monitor port. Promiscuous mode lets a NIC read all frames it sees.
  • TCP is connection-oriented. It orders data, checks it, and resends lost parts. Setup is SYN, SYN-ACK, ACK.
  • UDP is connectionless. It is fast and simple, with no promise that data arrives.
  • DHCP gives a host an IP address, mask, gateway, and DNS server.
  • Flow analysis looks at traffic patterns. User behavior analysis looks at how a person works.

5.5

Module 4: Network Security Techniques

Firewalls, stateless and stateful inspection, IDS and IPS, NAT, DLP, NAC, EDR, XDR.

  • Stateless inspection checks each packet alone. Stateful inspection remembers open connections and checks the context.
  • IDS detects and alerts. IPS detects and can block.
  • NAT lets many private hosts share one public IP address.
  • NAC (network access control) checks a device before it joins the network.
  • EDR watches endpoints. XDR collects and links data from endpoints, network, cloud, and email.
  • Firewalls and IDS have limits: encrypted traffic, insiders, bad rules, and new unknown attacks.
  • Stateless inspection checks each packet alone. Stateful inspection remembers open connections.
  • NAC checks a device before it joins the network.
  • DLP stops private data from leaving the company. File integrity monitoring warns when a file changes.
  • EDR watches endpoints. XDR links data from endpoints, network, cloud, and email.
  • Limits: encrypted traffic, insiders, weak rules, and new unknown attacks.

5.6

Module 5: Final Project and Course Wrap-Up

Build a network design, calculate subnets, configure firewalls, read traffic.

  • The project joins the skills: subnet design, address and mask maths, firewall rules, traffic reading.
  • The project joins the skills: subnet design, mask maths, firewall rules, and reading traffic.
  • Read the project guidelines. Check each deliverable before you submit.

5.7

Key terms

The words of this course in one table. Learn them before the quiz or exam.

TermMeaning
ARPIP address to MAC address on the local network.
CIDRThe mask written as /n.
Default gatewayThe router out of the LAN.
DHCPHands out IP, mask, gateway, and DNS.
DLPStops data loss.
DNSName to IP address.
EDRWatches endpoints.
IPv432 bits, four numbers 0 to 255.
IPv6128 bits, hex groups with colons.
LANA local network in one place.
NACCheck a device before it joins the network.
NATMany private hosts share one public IP.
OSI model7 layers. TCP/IP model = 4 layers.
PortA number that names a service.
Promiscuous modeThe NIC reads all frames it sees.
ProtocolA set of rules for talking.
RouterForwards packets by IP address between networks.
Subnet maskSplits the network part and the host part.
SwitchForwards frames by MAC address inside a LAN.
SyslogOne central log server.
TCPReliable and ordered.
Three-way handshakeSYN, SYN-ACK, ACK.
UDPFast and simple, no delivery promise.
XDRLinks data from many sources.

5.8

Check yourself

Answer each question first, then open it to check the answer.

1Which device forwards packets between two different networks? a) Switch · b) Router · c) Hub · d) Repeater

b) Router. A router joins networks; a switch stays inside one LAN.

2Which port does HTTPS use by default? a) 21 · b) 25 · c) 443 · d) 3389

c) 443. 443 is HTTPS. 21 is FTP, 25 is SMTP, 3389 is RDP.

3What does a switch use to forward frames inside one LAN? a) IP address · b) MAC address · c) Port number · d) Domain name

b) MAC address. A switch forwards frames by MAC address.

4Which address is an IPv6 address? a) 192.168.1.10 · b) 2001:0db8::1 · c) 10.0.0.1 · d) 8.8.8.8

b) 2001:0db8::1. IPv6 uses hex groups with colons.

5What is the job of ARP? a) Map an IP address to a MAC address · b) Map a name to an IP address · c) Give a host an IP address · d) Hide private addresses

a) Map an IP address to a MAC address. ARP finds the MAC address for a known IP on the local network.

6Which protocol is connectionless and good for live video? a) TCP · b) UDP · c) SSH · d) SMTP

b) UDP. UDP is fast and has no delivery guarantee.

7Which service gives a host its IP address, mask, gateway, and DNS? a) DNS · b) DHCP · c) ARP · d) NAT

b) DHCP. DHCP hands out address, mask, gateway, and DNS.

8What does a stateful firewall do? a) Checks each packet with no memory of the past · b) Remembers active connections and checks packets in context · c) Encrypts all traffic on the LAN · d) Gives every host a public IP address

b) Remembers active connections and checks packets in context. Stateful means it tracks the connection state.

9How do IDS and IPS differ? a) IDS blocks traffic; IPS only writes logs · b) IDS alerts; IPS can also block · c) Both only collect logs · d) Both are types of router

b) IDS alerts; IPS can also block. IDS = detect and alert. IPS = detect and block.

10What is the main use of NAT? a) Give each device its own public IP · b) Let many private hosts share one public IP · c) Map names to IP addresses · d) Copy traffic to a monitor port

b) Let many private hosts share one public IP. NAT shares one public address among private hosts.

11Which technique copies live traffic to a monitor port for analysis? a) Port mirroring · b) NAT · c) DHCP · d) WEP

a) Port mirroring. Port mirroring sends a copy of traffic to a monitor port.

12Which device forwards packets between two different networks? a) Switch · b) Router · c) Hub · d) Access point

b) Router. A router joins networks; a switch stays inside one LAN.

13Which port does HTTPS use by default? a) 22 · b) 53 · c) 443 · d) 3389

c) 443. 443 is HTTPS. 22 is SSH, 53 is DNS, 3389 is RDP.

14How many layers does the OSI model have? a) 4 · b) 5 · c) 7 · d) 8

c) 7. OSI has 7 layers. TCP/IP has 4.

15Which one is an IPv6 address? a) 192.168.0.1 · b) 2001:db8::1 · c) 10.1.1.1 · d) 172.16.0.5

b) 2001:db8::1. IPv6 uses hex groups with colons.

16How many bits are in an IPv4 address? a) 128 · b) 64 · c) 32 · d) 16

c) 32. IPv4 is 32 bits. IPv6 is 128 bits.

17Which one is a private address range? a) 8.8.8.0/24 · b) 192.168.0.0/16 · c) 203.0.113.0/24 · d) 45.33.0.0/16

b) 192.168.0.0/16. 192.168.0.0/16 is private and not routed on the internet.

18What does the mask /24 = 255.255.255.0 mean? a) 24 host bits · b) 24 network bits and 8 host bits · c) 24 subnets · d) 24 routers

b) 24 network bits and 8 host bits. /24 keeps 24 bits for the network and 8 for hosts.

19What does ARP do? a) Turns a name into an IP address · b) Maps an IP address to a MAC address on the local network · c) Gives a host an IP address · d) Hides private addresses

b) Maps an IP address to a MAC address on the local network. ARP finds the MAC address for a known local IP.

20A host has no route for a remote address. Where does it send the packet? a) To DNS · b) To the default gateway · c) To the loopback address · d) To every port

b) To the default gateway. The default gateway sends traffic out of the LAN.

21Which transport protocol is reliable and ordered? a) TCP · b) UDP · c) ICMP · d) ARP

a) TCP. TCP orders, checks, and resends lost data.

22Which set is the TCP three-way handshake? a) SYN, SYN-ACK, ACK · b) GET, POST, PUT · c) ARP, DHCP, DNS · d) RST, FIN, ACK

a) SYN, SYN-ACK, ACK. The handshake is SYN, SYN-ACK, ACK.

23Which protocol suits live video, where speed matters more than a lost packet? a) SMTP · b) TCP · c) UDP · d) SSH

c) UDP. UDP is fast and has no delivery guarantee.

24What is the job of DNS? a) Turns a name into an IP address · b) Gives a host its IP settings · c) Copies traffic to a monitor port · d) Blocks a port

a) Turns a name into an IP address. DNS maps a name to an IP address.

25Which service gives a new laptop its IP, mask, gateway, and DNS? a) DNS · b) Syslog · c) DHCP · d) NAT

c) DHCP. DHCP hands out address, mask, gateway, and DNS.

26Which service sends logs to one central server? a) Syslog · b) DHCP · c) ARP · d) FTP

a) Syslog. Syslog sends logs to one central server.

27What is port mirroring for? a) Copying traffic to a monitor port for analysis · b) Giving every host a public IP · c) Blocking bad domains · d) Encrypting all traffic

a) Copying traffic to a monitor port for analysis. Port mirroring copies live traffic to a monitor port.

28A firewall checks each packet alone, with no memory of the past. What is it? a) Stateful · b) Stateless · c) NAT · d) NAC

b) Stateless. Stateless means each packet is checked alone.

29What is the main job of NAT? a) Map names to IP addresses · b) Hand out addresses to new devices · c) Share one public IP among many private hosts · d) Link logs from many sources

c) Share one public IP among many private hosts. NAT lets private hosts share one public address.

30When does NAC check a device? a) After it sends private data · b) Before it joins the network · c) Only at night · d) Only for servers

b) Before it joins the network. NAC checks the device before it joins.

5.9

Study and exam tips

Learn the port numbers as a small table. Easy marks.

  • Keep TCP and UDP apart: TCP = ordered and reliable, UDP = fast and simple.
  • Remember the pairs that look alike: stateless vs stateful, and IDS vs IPS.
  • For subnet questions, convert the mask to binary first, then count host bits.
  • Read the question twice when it asks for the best security choice, not just a true statement.
  • Learn the ports as a small table: 80, 443, 22, 25, 53, 67/68, 3389. Easy marks.
  • Learn the look-alike pairs: stateless vs stateful, IDS vs IPS, EDR vs XDR, NAT vs NAC.
  • For subnet questions, convert the mask to binary first, then count the host bits.

تدرّب

كل الأوامر في هذا الفصل