Step 8. Setting all router ids to zero¶
Goals¶
[explanation]
Configuration¶
This configuration is based on step 6.
# this also means that the Ethernet network will not be recognized by any routers. The OSPF configuration:
<?xml version="1.0"?>
<OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
<Router name="R1" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" />
<BroadcastInterface ifName="eth1" routerPriority="0" />
</Router>
<Router name="R2" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" />
<BroadcastInterface ifName="eth1" routerPriority="0" />
</Router>
<Router name="R3" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" routerPriority="0" />
<BroadcastInterface ifName="eth1" />
</Router>
<Router name="R4" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" routerPriority="0" />
<BroadcastInterface ifName="eth1" />
</Router>
<Router name="R5" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" routerPriority="0" />
<BroadcastInterface ifName="eth1" />
</Router>
<Router name="R6" RFC1583Compatible="true">
<BroadcastInterface ifName="eth0" routerPriority="0" />
<BroadcastInterface ifName="eth1" />
</Router>
</OSPFASConfig>
The configuration in omnetpp.ini
is the following:
[Config Step8]
description = "Setting all router ids to zero"
extends = Step6
# when the router id of a multi-access interface is zero then no Wait timer is started.
# this means that no DR/BDR election will be performed and no Network LSA is exchanged.
# this also means that the Ethernet network will not be recognized by any routers.
*.R*.ospf.ospfConfig = xmldoc("ASConfig_zero_priority.xml")