Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

FD.io VPP with XeonPhi

278 views

Published on

FD.io VPP with XeonPhi

2018/02/18
SAKURA Internet, Inc.
Research Center
SR / Naoto MATSUMOTO

Published in: Technology
  • Be the first to comment

  • Be the first to like this

FD.io VPP with XeonPhi

  1. 1. FD.io VPP with XeonPhi 2018/02/18 SAKURA Internet, Inc. Research Center SR / Naoto MATSUMOTO (C) Copyright 1996-2017 SAKURA Internet Inc
  2. 2. FD.io VPP with XeonPhi (Basic Configuration) 2 # uname -sr; cat /etc/lsb-release Linux 4.13.0-21-generic DISTRIB_DESCRIPTION="Ubuntu 17.10" # lscpu CPU(s): 256 Model name: Intel(R) Xeon Phi(TM) CPU 7210 @ 1.30GHz # vi /etc/apt/sources.list.d/99fd.io.list deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.ubuntu.xenial.main/ ./ # apt-get update # apt install vpp vpp-lib vpp-plugins python-pip # pip install vpp-config # vpp-config 5) Execute some basic tests. Command: 5 1) List/Create Simple IPv4 Setup Command: 1 Would you like to keep this configuration [Y/n]? n Would you like add address to interface GigabitEthernet4/0/1 [Y/n]? Y Please enter the IPv4 Address [n.n.n.n/n]: 1.1.1.11/24 # vi /etc/vpp/startup.conf unix { nodaemon log /var/log/vpp/vpp.log full-coredump cli-listen /run/vpp/cli.sock exec /usr/local/vpp/vpp-config/scripts/set_int_ipv4_and_up } # sync; sync; sync; reboot � 2017 FD.io is a Linux Foundation Project. All Rights Reserved. # vppctl # show int Name Idx State GigabitEthernet4/0/1 1 up # show int addr GigabitEthernet4/0/1 (up): 1.1.1.11/24
  3. 3. FD.io VPP with XeonPhi (Load Balancer plugin) 3 # vppctl # show int addr GigabitEthernet4/0/1 (up): 1.1.1.11/24 # lb conf ip4-src-address 1.1.1.11 timeout 3 # lb vip 1.2.3.4/32 encap gre4 new_len 1024 # lb as 1.2.3.4/32 1.1.1.8 1.1.1.9 1.1.1.10 # show lb vips 1.2.3.4 ip4-gre4 1.2.3.4/32 new_size:1024 #as:3 Application Server(1.1.1.8,9,10) side Configuration # ip tunnel add tun0 mode gre local 1.1.1.8 remote 1.1.1.11 ttl 255 # ifconfig tun0 1.2.3.4/32 up # echo 1 > /proc/sys/net/ipv4/conf/tun0/arp_ignore # echo 2 > /proc/sys/net/ipv4/conf/tun0/arp_announce # echo 0 > /proc/sys/net/ipv4/conf/tun0/rp_filter # echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter # echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore # echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce � 2017 FD.io is a Linux Foundation Project. All Rights Reserved. 1.1.1.8 1.1.1.11 1.1.1.9 (1.2.3.4/32) tun0 (1.2.3.4/32) tun0 GRE Tunnels IP routing (1.2.3.4/32) Application Server Application Server Direct Server Responce (DSR) FD.io VPP

×