From a10bf3ba34f034f9fc60ea0070d8c4f3f60586e2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 25 Apr 2022 21:20:12 +0200 Subject: smoketest: config: T4397: add ARP entries for a second interface --- smoketest/configs/basic-vyos | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'smoketest') diff --git a/smoketest/configs/basic-vyos b/smoketest/configs/basic-vyos index 7716cfa0b..3d62d269c 100644 --- a/smoketest/configs/basic-vyos +++ b/smoketest/configs/basic-vyos @@ -11,20 +11,35 @@ interfaces { smp-affinity auto speed auto } + ethernet eth2 { + address 100.100.0.1/24 + duplex auto + smp-affinity auto + speed auto + } loopback lo { } } protocols { static { - arp 172.18.203.20 { + arp 192.168.0.20 { hwaddr 00:50:00:00:00:20 } - arp 172.18.203.30 { + arp 192.168.0.30 { hwaddr 00:50:00:00:00:30 } - arp 172.18.203.40 { + arp 192.168.0.40 { hwaddr 00:50:00:00:00:40 } + arp 100.100.0.2 { + hwaddr 00:50:00:00:02:02 + } + arp 100.100.0.3 { + hwaddr 00:50:00:00:02:03 + } + arp 100.100.0.4 { + hwaddr 00:50:00:00:02:04 + } route 0.0.0.0/0 { next-hop 100.64.0.1 { } -- cgit v1.2.3