#!/bin/bash # node1 sudo ./30-add_namespaces.sh tb_node1_if0 sudo ./30-add_namespaces.sh tb_node1_if1 sudo ./30-add_namespaces.sh tb_node1_if2 sudo ./30-add_namespaces.sh tb_node1_if3 sudo ./31-configure_interfaces.sh tb_node1_if0 enp6s0f0np0 10.0.1.1/16 sudo ./31-configure_interfaces.sh tb_node1_if1 enp6s0f1np1 10.0.1.2/16 sudo ./31-configure_interfaces.sh tb_node1_if2 enp6s0f2np2 10.0.1.3/16 sudo ./31-configure_interfaces.sh tb_node1_if3 enp6s0f3np3 10.0.1.4/16 sudo ./32-setup_arp.sh tb_node1_if0 enp6s0f0np0 sudo ./32-setup_arp.sh tb_node1_if1 enp6s0f1np1 sudo ./32-setup_arp.sh tb_node1_if2 enp6s0f2np2 sudo ./32-setup_arp.sh tb_node1_if3 enp6s0f3np3 # node2 # Create Namespace: Testbed on Node1 for Interface n sudo ./30-add_namespaces.sh tb_node2_if0 sudo ./30-add_namespaces.sh tb_node2_if1 sudo ./30-add_namespaces.sh tb_node2_if2 sudo ./30-add_namespaces.sh tb_node2_if3 sudo ./31-configure_interfaces.sh tb_node2_if0 enp6s0f0np0 10.0.2.1/16 sudo ./31-configure_interfaces.sh tb_node2_if1 enp6s0f1np1 10.0.2.2/16 sudo ./31-configure_interfaces.sh tb_node2_if2 enp6s0f2np2 10.0.2.3/16 sudo ./31-configure_interfaces.sh tb_node2_if3 enp6s0f3np3 10.0.2.4/16 # execute arp sudo ./32-setup_arp.sh tb_node2_if0 enp6s0f0np0 sudo ./32-setup_arp.sh tb_node2_if1 enp6s0f1np1 sudo ./32-setup_arp.sh tb_node2_if2 enp6s0f2np2 sudo ./32-setup_arp.sh tb_node2_if3 enp6s0f3np3