• In this lesson, you are going to configure R3 as the Designated Router (DR) and R4 as the Backup Designated Router (BDR) on a shared Ethernet segment.
    Then you will break the DR on purpose and watch who takes its place.

    The Four Routers

    Network diagram with four routers (R1 to R4) connected to a central switch. All routers are in the 192.168.1.0/24 subnet and use interface G0/0 with IP addresses .1, .2, .3, and .4.

    Figure 1 – Topology used for the configuration of DR and BDR

    Our topology includes four routers:

    • R1: 192.168.1.1

    • R2: 192.168.1.2

    • R3: 192.168.1.3

    • R4: 192.168.1.4

    All routers are connected to the 192.168.1.0/24 subnet through their GigabitEthernet0/0 interface.
    No router-id is configured, so each router uses its G0/0 address as Router ID.

    OSPF Configuration on All Routers

    On each router, enable OSPF and advertise the shared network. Start with R1:

    R1# conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    R1(config)# router ospf 1
    R1(config-router)# network 192.168.1.0 0.0.0.255 area 0
    R1(config-router)# end

    Repeat the exact same three commands on R2, R3 and R4.
    The network statement includes G0/0 in OSPF and immediately triggers the DR/BDR election.

    Answer the question below

    Which subnet do all four routers share on G0/0?