-
Notifications
You must be signed in to change notification settings - Fork 47
layer3_configuration
The files l3_routers.txt
and l3_links.txt
describe the layer-3 topology.
Besides the topology, additional parameters are set to different routers.
We describe these two configuration files and their parameters in the following sections.
This file contains all the routers in the layer-3 topology. The following table shows an example of this configuration file.
C1 C2 C3 C4
-------------------------------------------------------------------
ZURI DNS L2-DCN:miniinterneteth/d_host linux
BASE N/A L2-DCN:miniinterneteth/d_host vtysh
GENE N/A L2-DCS:miniinterneteth/d_host linux
LUGA N/A routinator:miniinterneteth/d_routinator vtysh
MUNI N/A host:miniinterneteth/d_host vtysh
LYON MATRIX host:miniinterneteth/d_host vtysh
VIEN MATRIX_TARGET host:miniinterneteth/d_host vtysh
MILA MEASUREMENT host:miniinterneteth/d_host vtysh
Below is the description of each column.
C1: Name of the router.
C2: Service associated to the router. Only one service can be associated to a given router.
C3: Information about the host or layer-2 network connected to the corresponding router. Here are the following possible options ():
C4: Indicate wether the students can access the router container with bash or can only access the CLI.
Possible services in C2:
- MATRIX: where the pings used for the matrix are sent.
- MATRIX_TARGET: the destination of the pings used for the matrix.
- DNS: to which router the DNS container is connected to.
- MEASUREMENT: to which router the MEASUREMENT container is connected to.
- N/A: no service.
Possible options in C3:
- host: only one host is connected to the router.
- L2-X: the router is connected to the l2-network X. Aside from the l2-network, there is also a single host connected to the router.
- routinator: one host running routinator (for RPKI) is connected to the router.
- krill: one host running krill (for RPKI) is connected to the router. These options must indicated before the colon. After the colon, you must indicate the docker image to use for the host that is connected to the router. You can thus plug-in any docker images you want in the mini-Internet for the hosts (e.g., with a webserver or a VLC client).
vtysh or linux in C4
vtysh
means the students can only access the CLI of the router
whereas anything else means the students can access the router container using bash
(via the goto.sh
script, using the keyword container
instead of router
).
This is used to answer questions that require the linux commands (such as configuring 6in4 tunnels).
This file all the links in the layer-3 topology. The following table shows an example of this configuration file.
C1 C2 C3 C4
---------------------------
ZURI BASE 100000 20
ZURI GENE 100000 20
ZURI LUGA 100000 20
ZURI MUNI 10000 100
ZURI VIEN 10000 100
BASE GENE 100000 20
BASE MUNI 10000 100
BASE LYON 10000 100
GENE LUGA 100000 20
GENE LYON 10000 100
LUGA MILA 10000 100
LUGA VIEN 10000 100
Below is the description of each column.
C1: Name of the router in one end of the link.
C2: Name of the router in the other end of the link.
C3: The throughput of the link.
C4: The delay of the link.
-
Configure the mini-Internet
-
Operate the mini-Internet
-
Use the mini-Internet
-
Built-in services
-
Additional tools and features