Skip to content

reserved_ip

Thomas Holterbach edited this page Apr 11, 2022 · 5 revisions

Reserved IPs

The mini-Internet allocates a /8 prefix for every AS using the following scheme: AS X receives prefix X.0.0.0/8. However, aside from the ASes' prefixes, the mini-Internet uses other prefixes for various purposes. Below we list all the subnets that are used within the mini-Internet. This helps avoiding conflict such as allocating a prefix to a group that is used already in the mini-Internet.

179.0.0.0/8: reserved for the eBGP sessions between normal ASes.
180.0.0.0/8: reserved for the eBGP sessions with IXP.
198.0.0.0/8: reserved for the links to the DNS server.
157.0.0.0/8: reserved for the links between the server and the SSH containers.
158.0.0.0/8: reserved for the links between the SSH containers and the other containers.

With the default parameters, you should thus not have AS179, AS180, AS198, AS157 and AS158 in the topology.

Modifying the reserved prefixes

The scheme used to allocate the prefixes within the mini-Internet comes from the config/subnet_config.sh script. You can edit this script to change how the prefixes are allocated within the mini-Internet. :warning: This has not been tested and some features might not work anymore if you change the prefix allocation scheme.