Table Of Contents
Table Of Contents

Step 12. Configure an interface as Passive

Goals

[explanation]

Configuration

This configuration is based on step 3.

The OSPF configuration:

<?xml version="1.0"?>
<OSPFASConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="OSPF.xsd">

  <!-- Routers -->
  <Router name="R1" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" interfaceMode="Passive" />
    <PointToPointInterface ifName="ppp0" />
  </Router>

  <Router name="R2" RFC1583Compatible="true">
    <BroadcastInterface ifName="eth0" interfaceMode="Passive" />
    <PointToPointInterface ifName="ppp0" />
  </Router>

</OSPFASConfig>

The configuration in omnetpp.ini is the following:

[Config Step12]
description = "Configure an interface as Passive"
extends = Step3

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

Results

[explanation]

Sources: omnetpp.ini, Network.ned, ASConfig_Passive.xml

Discussion

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