Skip to content
Snippets Groups Projects
Commit ae287668 authored by David José Araújo Ferreira's avatar David José Araújo Ferreira Committed by David José Araújo Ferreira
Browse files

Container lab fixed

parent 237674b6
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!226Resolve "Testing configurations for DDOS protection"
set / interface ethernet-1/2 admin-state enable
set / interface ethernet-1/2 subinterface 0 admin-state enable
set / interface ethernet-1/2 subinterface 0 ipv4 address 172.16.1.1/24
set / interface ethernet-1/1 admin-state enable
set / interface ethernet-1/1 subinterface 0 admin-state enable
set / interface ethernet-1/1 subinterface 0 ipv4 address 172.0.0.1/30
set / network-instance default
set / network-instance default interface ethernet-1/1.0
set / network-instance default interface ethernet-1/2.0
set / network-instance default next-hop-groups group group1 nexthop 1 ip-address 172.0.0.2 admin-state enable
set / network-instance default static-routes route 172.16.2.0/24 next-hop-group group1 admin-state enable
\ No newline at end of file
set / interface ethernet-1/2 admin-state enable
set / interface ethernet-1/2 subinterface 0 admin-state enable
set / interface ethernet-1/2 subinterface 0 ipv4 address 172.16.2.1/24
set / interface ethernet-1/1 admin-state enable
set / interface ethernet-1/1 subinterface 0 admin-state enable
set / interface ethernet-1/1 subinterface 0 ipv4 address 172.0.0.2/30
set / network-instance default
set / network-instance default interface ethernet-1/1.0
set / network-instance default interface ethernet-1/2.0
set /network-instance default next-hop-groups group group1 nexthop 1 ip-address 172.0.0.1 admin-state enable
set /network-instance default static-routes route 172.16.1.0/24 next-hop-group group1 admin-state enable
\ No newline at end of file
...@@ -24,7 +24,7 @@ mgmt: ...@@ -24,7 +24,7 @@ mgmt:
topology: topology:
kinds: kinds:
srl: srl:
image: ghcr.io/nokia/srlinux:23.3.1 image: ghcr.io/nokia/srlinux:21.11.3
linux: linux:
image: ghcr.io/hellt/network-multitool image: ghcr.io/hellt/network-multitool
nodes: nodes:
...@@ -34,24 +34,30 @@ topology: ...@@ -34,24 +34,30 @@ topology:
cpu: 0.5 cpu: 0.5
memory: 1GB memory: 1GB
mgmt-ipv4: 172.100.100.101 mgmt-ipv4: 172.100.100.101
#startup-config: srl1.cli startup-config: ./srl1.cli
srl2: srl2:
kind: srl kind: srl
type: ixr6 type: ixr6
cpu: 0.5 cpu: 0.5
memory: 1GB memory: 1GB
mgmt-ipv4: 172.100.100.102 mgmt-ipv4: 172.100.100.102
#startup-config: srl2.cli startup-config: ./srl2.cli
client1: client1:
kind: linux kind: linux
cpu: 0.1 cpu: 0.1
memory: 100MB memory: 100MB
mgmt-ipv4: 172.100.100.201 mgmt-ipv4: 172.100.100.201
exec:
- ip address add 172.16.1.10/24 dev eth1
- ip route add 172.16.2.0/24 via 172.16.1.1
client2: client2:
kind: linux kind: linux
cpu: 0.1 cpu: 0.1
memory: 100MB memory: 100MB
mgmt-ipv4: 172.100.100.202 mgmt-ipv4: 172.100.100.202
exec:
- ip address add 172.16.2.10/24 dev eth1
- ip route add 172.16.1.0/24 via 172.16.2.1
links: links:
- endpoints: ["srl1:e1-1", "srl2:e1-1"] - endpoints: ["srl1:e1-1", "srl2:e1-1"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment