Difference between revisions of "ONE/Simple test setup"
From fd.io
< ONE
Florin.coras (Talk | contribs) m |
Florin.coras (Talk | contribs) m |
||
Line 1: | Line 1: | ||
− | + | = Intro = | |
TBD description | TBD description | ||
== requirements == | == requirements == | ||
== topology == | == topology == | ||
− | + | = Setup = | |
Host and vpp configs | Host and vpp configs |
Revision as of 23:55, 5 May 2016
Intro
TBD description
requirements
topology
Setup
Host and vpp configs
Host
Create namespace and set up interface in linux
ip netns add vpp1 ip link set dev vpp1 up ip link set dev veth_vpp1 up netns vpp1 ip netns exec vpp1 \ bash -c " ip link set dev lo up ip addr add 6.0.2.2/24 dev veth_vpp1 ip route add 6.0.4.0/24 via 6.0.2.1 "
vpp 1
interface
create host-interface name vpp1 set int state host-vpp1 up set int ip address host-vpp1 6.0.2.1/24
lisp config
set int ip address GigabitEthernet2/4/0 6.0.2.1/24 set int state GigabitEthernet2/4/0 up set int ip address GigabitEthernet2/5/0 6.0.3.1/24 set int state GigabitEthernet2/5/0 up lisp gpe enable lisp locator-set add ls1 iface GigabitEthernet2/5/0 p 1 w 1 lisp eid-table add eid 6.0.2.0/24 locator-set ls1 lisp map-resolver add 6.0.3.100
vpp 2
interface
create host-interface name vpp2 set int state host-vpp2 up set int ip address host-vpp2 6.0.4.1/24
lisp config
set int ip address GigabitEthernet2/4/0 6.0.4.1/24 set int state GigabitEthernet2/4/0 up set int ip address GigabitEthernet2/5/0 6.0.3.1/24 set int state GigabitEthernet2/5/0 up lisp gpe enable lisp locator-set add ls1 iface GigabitEthernet2/5/0 p 1 w 1 lisp eid-table add eid 6.0.4.0/24 locator-set ls1 lisp map-resolver add 6.0.3.100