Git Product home page Git Product logo

containerlab's Introduction

containerlab

Experiment with real-time network telemetry using containerlab to simulate Clos (leaf/spine) fabrics.

Get started (on a system running Docker):

git clone https://github.com/sflow-rt/containerlab.git
cd containerlab
./run-clab

5 Stage Clos Topology

Deploy 5 stage Clos topology:

containerlab deploy -t clos5.yml

Generate traffic between h1 and h4:

docker exec -it clab-clos5-h1 iperf3 -c 172.16.4.2

docker exec -it clab-clos5-h1 iperf3 -c 2001:172:16:4::2

Connect to http://localhost:8008/ for analytics, see Quickstart for more information.

3 Stage Clos Topology

Deploy 3 stage Clos topology:

containerlab deploy -t clos3.yml

Generate traffic between h1 and h2:

docker exec -it clab-clos3-h1 iperf3 -c 172.16.2.2

docker exec -it clab-clos3-h1 iperf3 -c 2001:172:16:2::2

Connect to http://localhost:8008/ for analytics, see Quickstart for more information.

EVPN Topology

Deploy EVPN topology:

containerlab deploy -t evpn3.yml

Generate traffic between h1 and h2:

docker exec -it clab-evpn3-h1 iperf3 -c 172.16.10.2

docker exec -it clab-evpn3-h1 iperf3 -c 2001:172:16:10::2

Connect to http://localhost:8008/ for analytics, see Quickstart for more information.

DDoS Topology

Deploy DDOS topology:

containerlab deploy -t ddos.yml

Simulate DDoS attack against victim:

docker exec -it clab-ddos-attacker hping3 --flood --udp -k -a 198.51.100.1 -s 53 192.0.2.129

Connect to http://localhost:8008/ for analytics, see Quickstart for more information.

Nokia SR Linux

Deploy SR Linux topology:

containerlab deploy -t srlinux.yml

Simulate traffic:

docker exec -it clab-srlinux-h1 iperf3 -c 172.16.2.2

Connect to http://localhost:8008/ for analytics, see Quickstart for more information.

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.