Table Of Contents
Table Of Contents

Step 7. Influencing OSPF DR/BDR election

Goals

[explanation]

Configuration

This configuration is based on step 6.

The OSPF configuration:

<?xml version="1.0"?>
<OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">
  
  <Router name="R3" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" interfaceOutputCost='0' routerPriority="10" />
    <BroadcastInterface ifName="eth1" interfaceOutputCost='0' />
  </Router>
  
  <Router name="**" RFC1583Compatible="true">
     <BroadcastInterface ifName='eth[*]' areaID='0.0.0.0' interfaceOutputCost='0' />
     <PointToPointInterface ifName='ppp[*]' areaID='0.0.0.0' interfaceOutputCost='0' />
  </Router>

</OSPFASConfig>

The configuration in omnetpp.ini is the following:

[Config Step7]
description = "Influencing OSPF DR/BDR election"
extends = Step6

# increasing the router priority of R3

*.R*.ospf.ospfConfig = xmldoc("ASConfig_priority.xml")

Results

[explanation]

Sources: omnetpp.ini, Network2.ned, ASConfig_priority.xml

Discussion

Use this page in the GitHub issue tracker for commenting on this tutorial.