From 686309091cf77d9b35cf5ae19c80172ad29d68b6 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 13 Dec 2017 12:25:58 +0100 Subject: BGP-HC docker example Shows how to announce BGP prefix from one HC instance to another. Configuration (RESTCONF) is done over builtin docker0 network. Data plane is using veth pair that connects containers. BGP is also using veth but via unnumbered tuntap. Change-Id: Ia18b0729e12a4893ba559d0a68a9e962e58d2a2f Signed-off-by: Marek Gradzki --- docker/bgp_demo/init/vpp1.cmd | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docker/bgp_demo/init/vpp1.cmd (limited to 'docker/bgp_demo/init/vpp1.cmd') diff --git a/docker/bgp_demo/init/vpp1.cmd b/docker/bgp_demo/init/vpp1.cmd new file mode 100644 index 000000000..5760f167b --- /dev/null +++ b/docker/bgp_demo/init/vpp1.cmd @@ -0,0 +1,4 @@ +create host-interface name veth12 +set int state host-veth12 up +set int ip address host-veth12 10.12.1.1/24 +set interface unnumbered tuntap-0 use host-veth12 -- cgit 1.2.3-korg