Skip to content

sflow-rt/containerlab

Repository files navigation

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

Upload topology to sFlow-RT:

./topo.py clab-clos5

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

Upload topology to sFlow-RT:

./topo.py clab-clos3

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

Upload topology to sFlow-RT:

./topo.py clab-evpn3

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.

RoCEv2 Topology

Deploy RoCEv2 toplogy:

containerlab deploy -t rocev2.yml

Upload topology to sFlow-RT:

./topo.py clab-rocev2

Generate traffic between h1 and h2:

docker exec -it clab-rocev2-h1 hping3 exec rocev2.tcl 172.16.2.2 10000 500 100

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.

About

Experiment with real-time network telemetry using containerlab

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •