Administrasi Sistem Jaringan

3 min read 6 hours ago
Published on Jan 23, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial provides a step-by-step guide on configuring a Web Server and DNS Server using Cisco Packet Tracer. Understanding these configurations is crucial for network administrators as they establish the foundation for web applications and domain name resolution within a network.

Step 1: Setting Up the Web Server

  1. Open Cisco Packet Tracer and create a new project.
  2. Add a Server Device:
    • Locate the server device in the device panel.
    • Drag and drop it onto the workspace.
  3. Configure the Server:
    • Click on the server and navigate to the "Config" tab.
    • Under "Global Settings," assign an IP address, subnet mask, and default gateway.
    • Example configuration:
      • IP Address: 192.168.1.2
      • Subnet Mask: 255.255.255.0
      • Default Gateway: 192.168.1.1
  4. Enable the HTTP Service:
    • Click on the "Services" tab.
    • Enable the HTTP service by clicking on the checkbox.
    • Optionally, configure the web page content in the HTTP configuration section.

Step 2: Setting Up the DNS Server

  1. Add a DNS Server:
    • Drag a second server onto the workspace for DNS configuration.
  2. Configure the DNS Server:
    • Click on the DNS server and go to the "Config" tab.
    • Assign an IP address similar to the web server but different.
    • Example configuration:
      • IP Address: 192.168.1.3
      • Subnet Mask: 255.255.255.0
      • Default Gateway: 192.168.1.1
  3. Add DNS Records:
    • Navigate to the "DNS" tab within the server configuration.
    • Create a new record by entering a hostname (e.g., www.example.com) and the corresponding IP address of the web server (192.168.1.2).
    • Click on "Add" to save the record.

Step 3: Testing the Configuration

  1. Connect Devices:
    • Add a PC to the workspace and connect it to the same network as the servers.
  2. Configure the PC:
    • Assign an IP address to the PC, ensuring it is in the same range as the servers.
    • Example configuration:
      • IP Address: 192.168.1.4
      • Subnet Mask: 255.255.255.0
      • Default Gateway: 192.168.1.1
  3. Test the Web Server:
    • Open the web browser on the PC and enter the IP address of the web server (http://192.168.1.2).
    • Verify that the web page loads as expected.
  4. Test the DNS Resolution:
    • In the PC command prompt, use the command ping www.example.com.
    • Ensure that the correct IP address is returned, confirming that DNS resolution works.

Conclusion

You have successfully configured a Web Server and DNS Server using Cisco Packet Tracer. This setup allows devices on the network to access web services and use domain names for navigation. As a next step, consider exploring additional services like FTP or DHCP for a more comprehensive network setup.