Aller au contenu

Docker with FRRouting

In order to use the latest FRR version on GNS-3 with docker, you have to:

  1. Go to preferences, Docker containers
  2. New
  3. Run device on the main server (when using a GNS-3 VM somewhere)
  4. New image and select the latest FRR image (for exemple: frrouting/frr:v8.4.0)
  5. Select a name
  6. Select the amount of adapters
  7. The start command will be sh
  8. Console type is telnet
  9. Then finish

You can now drag and drop your container in your simulation workspace.

When the container is started, you have to start the different needed daemons, then access the console.

cd /usr/lib/frr
./watchfrr zebra ospfd bpgd isisd &
vtysh

Loopback Interfaces

If you would like to use Loopback Interfaces in your container, you have to create it from the console (shell, not vtysh) with the following command:

~ # ip link add name loopback0 type dummy

In your FRR configuration, you have to use the exact same name (loopback0)


Dernière mise à jour: 3 October 2023