GithubHelp home page GithubHelp logo

ironfist69 / network-configuration-with-gns3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 155 KB

This is a small, basic project to implement & configure Docker containers, Switches & Routers by using Cisco IOS

License: MIT License

cisco-ios docker gns3 hyperv networking putty ubuntu

network-configuration-with-gns3's Introduction

Basic Network Topology & Configuration with GNS3

Overview

This project demonstrates a basic network design and configuration using Cisco IOSv in GNS3. The setup includes configuring IP addressing, static routing, VLANs, and Inter-VLAN routing in a simulated environment. This will help us understand and implement fundamental networking concepts using GNS3 in a Virtualized Environment.

Objectives

  • Design and configure a small network topology with 3 Ubuntu docker containers, 2 Switches and a single Router.
  • Implement basic IP addressing and subnetting.

Utilities used

  • GNS3
  • HyperV (For GNS3-VM)
  • Cisco IOSv
  • PuTTY

Network Topology

The network consists of:

2 Ubuntu Docker Container

  • Ubuntu-Docker-1
  • Ubuntu-Docker-2
  • Ubuntu-Docker-3

2 Switches

  • Switch-1
  • Switch-2

1 Router

  • Router

IP Addressing Scheme

  • Ubuntu-Docker-1: 192.168.1.2/24 (Interface connected to Switch1)
  • Ubuntu-Docker-2: 192.168.2.2/24 (Interface connected to Switch2)
  • Ubuntu-Docker-3: 192.168.2.3/24 (Interface connected to Switch2)
  • Router G0/0 (192.168.1.1) G0/1 (192.168.2.1)

Process

Step 1: Create a new project

Open GNS3 and create a new project by going to File -> New Project

Step 2: Design the Network Topology

  • Add Devices: For a basic setup, we use 3 Ubuntu Docker containers, 2 Switches and 1 Router

  • Connect Devices:

Screenshot 2024-08-28 165544

Step 3: Assigning Static IP address

  • Open console for Router
enable
conf t
int g0/0
ip address 192.168.1.1 255.255.255.0
int g0/1
ip address 192.168.2.1 255.255.255.0
no shut
end
wr

Screenshot 2024-08-28 165923

  • Open console for Ubuntu-Docker-1
ip addr add 192.168.1.2/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.1.1 dev eth0

Screenshot 2024-08-28 170113

  • Open console for Ubuntu-Docker-2
ip addr add 192.168.2.2/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.0.1 dev eth0

Screenshot 2024-08-28 170223

  • Open console for Ubuntu-Docker-3
ip addr add 192.168.2.3/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.2.1 dev eth0

Screenshot 2024-08-28 170547

Step 4: Testing Connectivity

From Ubuntu-Docker-1 to Ubuntu-Docker-3

ping 192.168.2.3

Output:

Screenshot 2024-08-28 170816

network-configuration-with-gns3's People

Contributors

ironfist69 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.