Learning Objectives

By the end of this lesson, you will be able to:

  • Assign a static IP and verify connectivity with ping
  • Turn on Windows Firewall and allow only required apps
  • Enable Windows Defender, update definitions, and run a scan
  • Join Wi-Fi or Ethernet and configure an email client with correct ports

The Lab Network in One View

A network lets PCs share files, printers, and internet. Every lab PC needs four things: an address, a gate to the internet, a filter that blocks attackers, and a guard that catches malware. The syllabus lists IP, Firewall, Antivirus, Internet and Email. Those four form one setup sequence.

IP Address — The PC Home Number

An IP address is the PC house number on the network. IPv4 uses four numbers from 0 to 255, joined by dots. Your lab likely uses the private block 192.168.1.x with subnet mask 255.255.255.0. The router is usually 192.168.1.1.

Two Ways to Get an Address

Dynamic (DHCP). The router assigns it. Static. You type it for printers and counters that need a fixed number.

View Your Address

Press Windows + R, type cmd, type ipconfig and read IPv4 Address, Subnet Mask, Gateway. Or open Settings then Network and Internet.

Set a Static Address

  1. Right-click the network icon then Open Network and Internet settings then Change adapter options.
  2. Right-click Ethernet or Wi-Fi then Properties.
  3. Select Internet Protocol Version 4 (TCP/IPv4) then Properties.
  4. Select Use the following IP address. Enter:
    • IP address: 192.168.1.21 (unique per PC)
    • Subnet mask: 255.255.255.0
    • Default gateway: 192.168.1.1
    • Preferred DNS: 8.8.8.8 (Google)
    • Alternate DNS: 8.8.4.4 or 1.1.1.1 (Cloudflare)
  5. Click OK. Test with ping 8.8.8.8 and ping google.com. Replies mean you succeeded.

Return to Automatic

Repeat the steps and select Obtain an IP address automatically and Obtain DNS server address automatically. This is the correct fallback before you call the network officer.

Addressing Plan for Six PCs

Assign .21 to .26 for counters, .31 for the manager PC. Keep .1 for the router, .10 for the shared printer. Written on the switch, this plan stops duplicate IP errors.

Firewall — The Traffic Filter

A firewall checks packets against rules.

Windows Defender Firewall:

  1. Control Panel then System and Security then Windows Defender Firewall.
  2. Turn Windows Defender Firewall on or off. Set On for Private and Public.
  3. Allow an app through firewall. Click Change settings, tick only Office and browser.
  4. For a custom rule: Advanced settings then Inbound Rules then New Rule, select Program or Port, set Allow or Block.

Keep it On at all times.

Antivirus — The File Guard

Firewall blocks at the door. Antivirus checks inside.

Windows Defender (built in, free):

  1. Settings then Privacy and Security then Windows Security then Virus and threat protection.
  2. Confirm Real-time protection is On.
  3. Check for updates and note the definition date.
  4. Click Quick scan. Run Full scan after class on first setup.

Do not run two real-time guards at once. If you install Avast or Bitdefender, Defender disables itself.

Internet — Join and Prove

Wi-Fi:

  1. Click the network icon. Choose the SSID. Tick Connect automatically for the lab SSID.
  2. Enter the key. Choose Yes for private network on college trusted Wi-Fi, No for public.
  3. Verify with ipconfig and ping.

Ethernet: Plug the cable to the wall port. Windows negotiates. Check the icon. No password step.

Prove: ping 192.168.1.1 for router, ping 8.8.8.8 for internet, ping google.com for DNS. If ping fails, test cable, IP, gateway, 8.8.8.8, then name. The failing step names the fault.

Email — Connect the Client

Automatic: Open Outlook then File then Add Account, enter address, click Connect, enter password or app token. Outlook discovers the server. Send a test mail.

Manual when auto fails: Gmail imap.gmail.com 993 SSL and smtp.gmail.com 587 STARTTLS; Outlook outlook.office365.com 993 and smtp.office365.com 587.

Webmail at gmail.com or outlook.com needs no client setup and suits the 16-hour course.

Security Habits

Use a 12 character key, WPA2 or WPA3, firewall On, Defender updated weekly, avoid banking on open Wi-Fi.

Nepal Worked Example: Six Counter PCs on 192.168.1.x — BS 2081-12-11

A Pokhara cooperative on 2081-12-11 BS opens a second floor with six tills. The network officer gives the plan:

  • Router gateway 192.168.1.1, subnet 255.255.255.0, DHCP pool 192.168.1.100 to 192.168.1.200 for visitors
  • Static assignments: Till 1 at 192.168.1.21, Till 2 at .22, Till 3 at .23, Till 4 at .24, Till 5 at .25, Till 6 at .26
  • DNS 8.8.8.8 and 1.1.1.1
  • Windows Defender On, firewall On, no extra antivirus licence to buy
  • Lab switch and cabling cost earlier: NPR 18,000 one time (recorded for audit, not recurring)

Arithmetic the lab should record:

Network calculation: host portion for 192.168.1.26 is 26. Network address 192.168.1.0, broadcast 192.168.1.255. Usable hosts 254. Six statics consume 2.4 percent of capacity. No shortage.

Verification record (the officer captures this for the file):

On Till 3 at 11:30: IPv4 192.168.1.23, Gateway 192.168.1.1, ping .1 avg 1 ms, ping 8.8.8.8 avg 39.3 ms, ping google.com avg 43 ms, Firewall On, Defender definitions 2081-12-11

Recurring cost for network guard is NPR 0 per month, since Defender and Firewall are included with Windows. The lab notes it to separate one time hardware cost from recurring licence cost.

Self-check

Three tills are 192.168.1.21, .22, .23 with mask 255.255.255.0 and gateway .1. Outlook fails but ping 8.8.8.8 succeeds. Where is the fault?

Summary

Address the PC, filter the traffic, guard the files, prove the link. Static IP on 192.168.1.x for counters, DHCP for visitors, gateway at .1, firewall On, Defender On with updated definitions, ping as proof, Outlook on IMAP port 993 and SMTP 587.

Key Takeaways

  • Static 192.168.1.21 to .26 with mask 255.255.255.0 and gateway 192.168.1.1 suits a six PC lab.
  • ipconfig views, ping proves, gateway tests the router, 8.8.8.8 tests internet, name tests DNS.
  • Firewall On for Private and Public. Allow only required apps. No two real-time antivirus guards at once.
  • Defender definitions dated on the day of verification count as evidence.
  • Outlook IMAP 993 and SMTP 587. Webmail is acceptable when time presses.

Discussion

Why give the tills static addresses but leave the classroom laptops on DHCP? What risk does a second antivirus create, and how does a weekly full scan at 07:00 fit a 16-hour practicum where most scan time is homework? Consider the zero recurring cost of Defender in a cooperative budget.

Exercises

  1. Static task: Assign 192.168.1.31, verify with ipconfig, ping gateway and 8.8.8.8, compute average latency, then revert to DHCP. Submit screenshots.
  2. Firewall rule: Create an inbound rule that blocks TCP 22. Document steps and test result.
  3. Antivirus proof: Update Defender definitions, run Quick scan, record definition date and scan result time.
  4. Email prove: Configure Outlook or webmail, send a test mail with subject PRC110 Unit 1 Test and capture Sent and Inbox.