From cf335bd6e0311395ccc9267ffd48f27a830937b3 Mon Sep 17 00:00:00 2001 From: Horvath-R <112852109+Horvath-R@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:43:44 +0100 Subject: [PATCH 1/3] Update srl.cfg Fixed IP addresses --- lab-examples/ixiac01/srl.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lab-examples/ixiac01/srl.cfg b/lab-examples/ixiac01/srl.cfg index ebb381741..f2c8991d6 100644 --- a/lab-examples/ixiac01/srl.cfg +++ b/lab-examples/ixiac01/srl.cfg @@ -1,8 +1,9 @@ set /interface ethernet-1/1 subinterface 0 ipv4 admin-state enable -set /interface ethernet-1/1 subinterface 0 ipv4 address 10.1.1.2/24 -set /interface ethernet-1/2 subinterface 0 ipv4 address 10.2.2.2/24 +set /interface ethernet-1/1 subinterface 0 ipv4 address 1.1.1.2/24 +set /interface ethernet-1/2 subinterface 0 ipv4 admin-state enable +set /interface ethernet-1/2 subinterface 0 ipv4 address 2.2.2.2/24 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 10.2.2.1 admin-state enable -set /network-instance default static-routes route 10.20.20.0/24 next-hop-group group1 admin-state enable \ No newline at end of file +set /network-instance default next-hop-groups group group1 nexthop 1 ip-address 2.2.2.1 admin-state enable +set /network-instance default static-routes route 20.20.20.0/24 next-hop-group group1 admin-state enable From 49bbe6656bbb3e32df5654ff53a040d180c89944 Mon Sep 17 00:00:00 2001 From: Horvath-R <112852109+Horvath-R@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:44:31 +0100 Subject: [PATCH 2/3] Update ixiac01.clab.yml Fixed IP addresses --- lab-examples/ixiac01/ixiac01.clab.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab-examples/ixiac01/ixiac01.clab.yml b/lab-examples/ixiac01/ixiac01.clab.yml index a22d3b5fd..0ef9291d9 100644 --- a/lab-examples/ixiac01/ixiac01.clab.yml +++ b/lab-examples/ixiac01/ixiac01.clab.yml @@ -6,8 +6,8 @@ topology: kind: keysight_ixia-c-one image: ghcr.io/open-traffic-generator/ixia-c-one:0.0.1-2755 exec: - - "./ifcfg add eth1 10.1.1.1 24" - - "./ifcfg add eth2 10.2.2.1 24" + - "./ifcfg add eth1 1.1.1.1 24" + - "./ifcfg add eth2 2.2.2.1 24" srl: kind: srl image: ghcr.io/nokia/srlinux From 1d01f6df82cd117d83111bb6e17c929c5b487b3c Mon Sep 17 00:00:00 2001 From: Horvath-R <112852109+Horvath-R@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:45:21 +0100 Subject: [PATCH 3/3] Update ipv4_forwarding.go Fixed IP addresses --- lab-examples/ixiac01/ipv4_forwarding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab-examples/ixiac01/ipv4_forwarding.go b/lab-examples/ixiac01/ipv4_forwarding.go index fec622878..1f9009817 100644 --- a/lab-examples/ixiac01/ipv4_forwarding.go +++ b/lab-examples/ixiac01/ipv4_forwarding.go @@ -107,7 +107,7 @@ func newConfig() (gosnappi.GosnappiApi, gosnappi.Config) { eth.Dst().SetValue(dstMac) ip.Src().SetValue("10.10.10.1") - ip.Dst().Increment().SetStart("10.20.20.1").SetStep("0.0.0.1").SetCount(5) + ip.Dst().Increment().SetStart("20.20.20.1").SetStep("0.0.0.1").SetCount(5) tcp.SrcPort().SetValue(3250) tcp.DstPort().Decrement().SetStart(8070).SetStep(2).SetCount(10)