Skip to content

general_configuration

Thomas Holterbach edited this page Apr 1, 2022 · 27 revisions

General configuration

We use several configuration files to configure the mini-Internet and define its topology at the different layers. The configuration files should be in the config. They are organized as follow:

config/
├── external_links_config.txt    [inter-AS links and policies] 
└── AS_config.txt                [per-AS topology & config]
    ├── router_config.txt                    [L3 internal topology]
    ├── internal_links_config.txt            [L3 internal topology]
    ├── layer2_switches_config.txt             ^
    ├── layer2_hosts_config.txt              |   [L2 topology]
    └── layer2_links_config.txt           v   

AS_config.txt file

The AS_config.txt is the main configuration file. It lists all the ASes and IXPs in the mini-Internet. The table below describes each column and show an example configuration. "Config" in the third column indicates whether the components (hosts, switches and routers) in the corresponding AS should pre-configured, otherwise write "NoConfig". In the topologies we provide, all the ASes are pre-configured by default.

The next columns allow to change the L2 and L3 topologies according to the AS. More precisely, the fourth and fifth columns indicate the configuration files to use to build the L3 topology. For instance for AS 3 we use the L3 topology defined in the files router_config_full.txt and internal_links_config.txt. The next columns indicate the configuration files to use to build the L2 topologies. For instance for AS 3 we use the L2 topology defined in the files layer2_switches_config.txt, layer2_hosts_config.txt and layer2_links_config.txt.

**AS-number**   Type Auto-config    L3 Routers parameters   L3 Internal topology    L2 Switches parameters  L2 Hosts parameters L2 Local Network topology
1   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
2   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
11   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
12   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
5   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
6   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
15   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
16   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
3   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
4   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
13   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
14   AS  Config  l3_router.txt   l3_links.txt    l2_switches.txt l2_hosts.txt    l2_topology.txt 
80  IXP Config  N/A N/A N/A N/A N/A
81  IXP Config  N/A N/A N/A N/A N/A
82  IXP Config  N/A N/A N/A N/A N/A

Examples

In addition, we also provide multiple sample topologies (see examples/config_2020, examples/config_2019 and examples/config_l2). Of course, you can also define your own topology using the configuration files.