In the section, we would be simulating a router so that we add and delete routes or address for each switch and verify communication across them.
For this, we shall be using the following topology:
The preceding topology is a linear topology with the host, and we want the MAC to be automatically assigned. In addition to this, the scenario is implemented with the OpenFlow version 1.3 with a remote controller. Also, the rest_router.py file is going to be used for the scenario. This can be found in the ryu/ryu/app/rest_router.py directory.