Giter Club home page Giter Club logo

pkt-small-network's Introduction

Cisco Packet Tracer - Small Network [in-progress]

Description

Cisco packet tracer is a networking simulation tool used to simulate and practice networking topics. In this project, I simulate the network of a small business that consists of three departments: human resources, marketing, and sales. I utilize various networking protocols and fundamentals to successfully route traffic to and from end devices. Some of these protocols and fundamentals include router-rip, ssh, inter-vlan routing, and trunk/access ports.

Walk-Through

Network Topology

This network topology consists of three PCs, four 2960 switches, three 4321 routers, and one server which will act as an ISP. The screenshot below also lists each device's respective IP.

Basic Configuration - PCs, Switches, & Routers

  • Each PC requires an assigned IP address, subnet mask, and default gateway. This configuration is straightforward.

  • The switches need a bit more configuration. Each switch requires a hostname, some basic security (i.e. password/encryption), and a banner motd. Listed below are the commanads used to configure switch 1.

    -image

    Breakdown:

    • enable secret password - enables a password and password encryption that's based on the md5 hashing algorithm.
    • line console 0 - provides configuration access for the console port.
      • password password - sets a password on the console port.
      • login - controls and prompts the user login request.
    • line vty 0 15 - provides configuration access for all 16 virtual lines that allow connecting to the device using telnet or SSH.
      • password password - sets a password on the console port.
      • login - controls and prompts the user login request.
    • service password-encryption - encrypts all the passwords in running-config it can find, including enable password.
    • banner motd $ $ - configures a banner and message of the day.
  • Routers receive a very similar configuration, only difference being the number of vty lines that can be configured (by default routers only have 5).

    -image

  • We need to assign an IP on a VLAN to each switch. Also, we must assign IPs on the respective interfaces to every router. I will begin explaining the steps in the next section: Switches and Routers - IP configuration.

Switches and Routers - VLAN/IP Configuration

  • To begin, we'll start with the switches.

    -image

    Breakdown:

    • interface vlan # - provides access for the virtual local area network port [note: using vlan 1 isn't recommended due to security risks, however, it's being used here for simplicity purposes.]
    • ip address xxxx - assigns an IP to the specified port
    • no shutdown - enables an interface

    -image

    • vlan ## - creates a new vlan
    • name name - sets a name for the vlan
    • interface port - provides access to specified port for configuration
    • switchport mode access -
    • switchport mode access vlan ## -
    • vlan ## -

    -image

    -image

  • Now, the routers.

    -image

    -image

    -image

Trunk Configuration

  • Earlier we set up access ports on our switches, now we need to setup trunks to carry traffic across all VLANs.

    -image

    -image

    -image

Inter-VLAN Routing - Router-on-a-Stick

  • Router-on-a-stick:

    -image

    -image

Router RIP

  • Router RIP

    -image

    -image

    -image

    -image

SSH

  • SSH

    -image

    -image

pkt-small-network's People

Contributors

homelabd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.