Posted on May 17, 2018 9:53 am
 |  Asked by fabien.briatte
 |  740 views
0
0
Print Friendly, PDF & Email

Hi,
I played a bit with cEOS, I have 4 containers running, 2 spines and 2 leaf, each spine is connected to the 2 leafs.
I first built a lab with eBPG between the spines and leaf, and then wanted to try eVPN.
The connectivity between the cEOS is quite unreliable, I often have to “shut / noshut” the interfaces when they lose connectivity (ie: spine can no longer ping leaf). Anyone aware of issues with cEOS ?

This is the process I followed to create the lab:
# create docker instances with needed environment variables
docker create –name=spine1 –privileged -e CEOS=1 -e container=docker -e EOS_PLATFORM=ceossim -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e ETBA=1 -e INTFTYPE=eth -i -t ceosimage:4.20.5F /sbin/init

docker create –name=spine2 –privileged -e CEOS=1 -e container=docker -e EOS_PLATFORM=ceossim -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e ETBA=1 -e INTFTYPE=eth -i -t ceosimage:4.20.5F /sbin/init

docker create –name=leaf1 –privileged -e CEOS=1 -e container=docker -e EOS_PLATFORM=ceossim -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e ETBA=1 -e INTFTYPE=eth -i -t ceosimage:4.20.5F /sbin/init

docker create –name=leaf2 –privileged -e CEOS=1 -e container=docker -e EOS_PLATFORM=ceossim -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e ETBA=1 -e INTFTYPE=eth -i -t ceosimage:4.20.5F /sbin/init

# create docker networks
docker network create s1l1
docker network create s1l2
docker network create s2l1
docker network create s2l2

docker network connect s1l1 spine1
docker network connect s1l1 leaf1
docker network connect s1l2 spine1
docker network connect s1l2 leaf2

docker network connect s2l1 spine2
docker network connect s2l1 leaf1
docker network connect s2l2 spine2
docker network connect s2l2 leaf2

# start the container
docker start spine1 spine2 leaf1 leaf2

1
Posted by Michael Kashin
Answered on May 17, 2018 1:03 pm

Most likely that’s your docker bridge MAC entries ageing out too soon. Easy way to test would be to disable mac learning on docker bridge:
brctl setageing 0
where is br-, where network id can be found by:
docker network inspect s1l1

Post your Answer

You must be logged in to post an answer.