From b19d3e3e038ba8762953a68e046f11674ad583b0 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Mon, 22 Nov 2021 10:57:32 +0100 Subject: nat: change nat44-ed test pool address NAT pool address overlaps with pg4 network 10.0.0.1/24 this is not desirable because of upcoming change [1]. This change uncovered configuration issue with hairpinning test that would fail because of already configured pg4 interface that shares subnet with nat pool address. Packets would incorectly end up in bad pg interface causing the test to fail. This patch changes nat pool address to 10.0.10.3 that doesn't belong to any of the subnets configured on pg interfaces in nat tests. [1] https://gerrit.fd.io/r/c/vpp/+/34441 Type: test Change-Id: I49e63dacbf0847116adbcf1954ff5defd833a657 Signed-off-by: Filip Varga --- test/test_nat44_ed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_nat44_ed.py b/test/test_nat44_ed.py index 3831a35657c..5684f5921ba 100644 --- a/test/test_nat44_ed.py +++ b/test/test_nat44_ed.py @@ -22,7 +22,7 @@ from vpp_papi import VppEnum class TestNAT44ED(VppTestCase): """ NAT44ED Test Case """ - nat_addr = '10.0.0.3' + nat_addr = '10.0.10.3' tcp_port_in = 6303 tcp_port_out = 6303 -- cgit 1.2.3-korg