FIX: NF_density tests
[csit.git] / resources / templates / vm / vpp_chain_ip4.exec
1 set interface state GigabitEthernet0/6/0 up
2 set interface state GigabitEthernet0/7/0 up
3
4 set interface mac address GigabitEthernet0/6/0 $mac1
5 set interface ip address GigabitEthernet0/6/0 1.1.1.1/24
6 set interface state GigabitEthernet0/6/0 up
7
8 set interface mac address GigabitEthernet0/7/0 $mac2
9 set interface ip address GigabitEthernet0/7/0 1.1.2.1/24
10 set interface state GigabitEthernet0/7/0 up
11
12 set ip neighbor static GigabitEthernet0/6/0 1.1.1.2 $vif1_mac
13 set ip neighbor static GigabitEthernet0/7/0 1.1.2.2 $vif2_mac
14
15 ip route add 10.0.0.0/8 via 1.1.1.2
16 ip route add 20.0.0.0/8 via 1.1.2.2
17
18 show version

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.