Mada za sehemu hiiDemonstrate understanding of computer networksMada 7
- Demonstrate understanding of OSI and TCP/IP Reference models, transmission media, wireless transmission, the public switched telephone networks, mobile telephone system and Network protocols (HTTP, FTP, IP, PPP, etc)
- Develop understanding of Data link layer (Switched LANs: Link-Layer Addressing and ARP, Ethernet, Link-Layer Switches, VLANs)
- Create a network that make use of wireless or Ethernet technology
- Develop understanding of Network layer (design issues, routing algorithms, Congestion control algorithms, Internetworking, the network layer in the internet (IPv4 and IPv6), Quality of Service)
- Elaborate the transport layer (Transport service, elements of transport protocol, Simple Transport Protocol, Internet transport layer protocols: UDP and TCP)
- Describe the application layer (Domain name system, electronic mail, World Wide Web: architecture; dynamic web document and http)
- Apply network security principles, tools and protocols in computer networks
Creating a Network Using Wireless or Ethernet Technology
A computer network is a collection of interconnected devices that can communicate and share resources. Creating a network that uses wireless or Ethernet technology is a fundamental skill in computer science. This study note guides you through the process of planning, designing, and implementing a simple network using either wired (Ethernet) or wireless media, following the steps used in Tanzania's educational context.
Networks use two main categories of transmission media to connect devices.
Guided (Wired) Media
Guided media transmit data through physical cables. The main types are:
Twisted Pair Cable — The most common Ethernet cable, consisting of copper wires twisted together to reduce electromagnetic interference. There are two variants:
- UTP (Unshielded Twisted Pair): Less expensive, used in most LAN installations. Common categories include Cat5 (up to 100 Mbps), Cat5e (up to 1 Gbps), and Cat6 (up to 10 Gbps).
- STP (Shielded Twisted Pair): Has additional shielding for better protection against interference, used in environments with high electrical noise.
Coaxial Cable — Has better shielding than twisted pair, traditionally used for cable television and some network installations. Standards include RG-58 (thin Ethernet) and RG-11 (thick Ethernet).
Fibre Optic Cable — Transmits data as light pulses through glass or plastic strands. Offers highest bandwidth and longest distances, immune to electromagnetic interference. Used for network backbones.
Unguided (Wireless) Media
Wireless media transmit data through electromagnetic waves without physical cables:
- Radio Waves: Used for Wi-Fi, Bluetooth, and cellular communications
- Microwaves: Point-to-point communication requiring line-of-sight
- Infrared: Short-range communication (TV remotes, Bluetooth)
- Satellite: Long-distance wireless communication
When creating a network, you need to understand the function of each device:
| Device | Layer | Function |
|---|---|---|
| Network Interface Card (NIC) | Layer 1-2 | Enables computer to connect to network |
| Hub/Switch | Layer 2 | Connects devices in a LAN; switch learns MAC addresses |
| Router | Layer 3 | Connects different networks, routes packets between them |
| Access Point (AP) | Layer 2 | Connects wireless devices to wired network |
| Modem | Layer 1 | Converts digital data to analog for transmission |
Cable Types for Ethernet
When connecting devices, you must choose the correct cable type:
Straight-Through Cable: Connects different device types. Both ends use the same wiring standard (T568-B). Used for:
- Computer to Switch
- Router to Switch
- Switch to Hub
Crossover Cable: Connects similar device types. One end uses T568-A, other uses T568-B. Used for:
- Computer to Computer
- Switch to Switch
- Router to Router
T568-B Wiring Standard (for Straight-Through)
| Pin | Wire Color | Function |
|---|---|---|
| 1 | White-Orange | Transmit+ |
| 2 | Orange | Transmit- |
| 3 | White-Green | Receive+ |
| 4 | Blue | Reserved |
| 5 | White-Blue | Reserved |
| 6 | Green | Receive- |
| 7 | White-Brown | Reserved |
| 8 | Brown | Reserved |
Wi-Fi Standards
| Standard | Frequency | Maximum Speed | Range (indoor) |
|---|---|---|---|
| 802.11b | 2.4 GHz | 11 Mbps | ~35 m |
| 802.11g | 2.4 GHz | 54 Mbps | ~38 m |
| 802.11n | 2.4/5 GHz | 600 Mbps | ~70 m |
| 802.11ac | 5 GHz | 3.46 Gbps | ~35 m |
Components of a Wireless Network
- Wireless Access Point (WAP): Bridges wireless and wired networks
- Wireless NIC: Installed in computers for wireless connectivity
- SSID (Service Set Identifier): Network name for identification
- Security Protocols: WEP, WPA, WPA2, WPA3 for encryption

This practical example shows how to create a basic Ethernet network using Cisco Packet Tracer simulation software.
Step 1: Launch Packet Tracer and Add Devices
- Open Cisco Packet Tracer application
- From the device box, select "End Devices" and drag three PCs onto the workspace
- Select "Switches" and drag one switch (e.g., 2960 or 2911) onto the workspace
Step 2: Connect Devices with Cables
- Click the "Connections" icon (lightning bolt)
- Select "Copper Straight-Through" cable
- Click PC0 → choose FastEthernet → drag to Switch0 → choose an available port
- Repeat for PC1 and PC2
- Wait for link lights to turn green (Spanning Tree Protocol convergence)
Step 3: Assign IP Addresses
- Click on PC0 → Desktop tab → IP Configuration
- Enter IP Address: 192.168.1.2
- Subnet Mask: 255.255.255.0
- Repeat for PC1: 192.168.1.3, PC2: 192.168.1.4
Step 4: Test Connectivity
- Click PC0 → Desktop tab → Command Prompt
- Type:
ping 192.168.1.3 - A successful ping shows reply from destination
Example: Creating a Wireless Network
To add wireless capability to the network:
- Add a "Wireless Access Point" from the wireless devices category
- Connect the AP to the switch using a straight-through cable
- Add a laptop with a wireless NIC
- Configure the laptop to connect to the wireless network using the AP's SSID
When creating a network, consider these factors:
Functionality: The network must allow users to meet job requirements with reasonable speed and reliability.
Scalability: The design should accommodate growth without major changes.
Adaptability: Include no elements that limit future technology implementation.
Manageability: Design should facilitate monitoring and management.
Security: Implement appropriate access controls and encryption.
After creating your network, verify it works using these methods:
Ping Test: Uses ICMP to test connectivity between devices
ping <IP_address>from Command Prompt
Verify Cable Continuity: Use cable testers to check for proper connections
Check Link Lights: Green lights indicate proper connection
Test Network Services: Verify file sharing, internet access, or printer sharing works
Suppose your school needs to create two networks: one for Administration (5 computers) and one for Computer Lab (20 computers). Given the network address 192.168.1.0/24:
Step 1: Determine subnet mask
- Need 2 subnets, borrow 1 bit: /25 (255.255.255.128)
Step 2: Calculate subnet ranges
| Subnet | Network Address | First Host | Last Host | Broadcast |
|---|---|---|---|---|
| Admin | 192.168.1.0 | 192.168.1.1 | 192.168.1.126 | 192.168.1.127 |
| Lab | 192.168.1.128 | 192.168.1.129 | 192.168.1.254 | 192.168.1.255 |
Step 3: Assign addresses
- Admin network: 192.168.1.0/25 (supports 126 hosts, enough for 5)
- Lab network: 192.168.1.128/25 (supports 126 hosts, enough for 20)
In Tanzania, understanding how to create and manage networks is essential for many professions. For example, a small business owner in Dar es Salaam setting up a shop with multiple point-of-sale (POS) machines needs to create a local network using Ethernet switches and wireless access to connect all devices to the internet router. This allows inventory management software to sync sales data in real-time, enabling the owner to monitor daily transactions and stock levels from a central computer or mobile phone, improving efficiency and reducing losses from unrecorded sales.
Swali
Which type of Ethernet cable should be used to connect a computer directly to a switch?
Ingia ili kuwasilisha jibu lako na lihesabiwe katika umahiri wako.
Ingia ili kufanya mazoeziMwalimu
Umekwama? Niulize chochote kuhusu mada hii.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu swali hili.
Ingia ili kuuliza