www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP Routing Solutions / Lab 49 Solution: Configuring OSPF on Broadcast Networks

Lab 49 Solution: Configuring OSPF on Broadcast Networks

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 35 Configuration and Verification Task 1

Task 2:

Sw1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Sw1(config)#vtp mode transparent

Setting device to VTP TRANSPARENT mode.

Sw1(config)#vlan 4010

Sw1(config-vlan)#name OSPF_VLAN

Sw1(config-vlan)#exit

Sw1(config)#

Sw1(config)#interface fastethernet0/2

Sw1(config-if)#switchport mode access

Sw1(config-if)#switchport access vlan 4010

Sw1(config-if)#no shut

Sw1(config-if)#exit

Sw1(config)#interface fastethernet0/2

Sw1(config-if)#switchport mode access

Sw1(config-if)#switchport access vlan 4010

Sw1(config-if)#no shut

Sw1(config-if)#end

Sw1#

Sw1#show vlan brief

VLAN Name                             Status    Ports

—- ——————————– ——— ——————————-

1    default                          active    Fa0/1, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Gi0/1, Gi0/2

1002 fddi-default                     active

1003 token-ring-default               active

1004 fddinet-default                  active

1005 trnet-default                    active

4010 OSPF_VLAN                        active      Fa0/2, Fa0/3

Sw1#

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int fa0/0

R1(config-if)#ip address 192.168.20.1 255.255.255.252

R1(config-if)#no shut

R1(config-if)#end

R1#

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#int fast 0/0

R2(config-if)#ip add 192.168.20.2 255.255.255.252

R2(config-if)#no shut

R2(config-if)#^Z

R2#

R2#

R1#ping 192.168.20.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms

Task 3:

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#router ospf 2

R2(config-router)#network 192.168.20.0 0.0.0.3 area 0

R2(config-router)#^Z

R2#

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#router ospf 1

R1(config-router)#network 192.168.20.0 0.0.0.3 area 0

R1(config-router)#end

R1#

Mar  1 01:53:20.828: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.20.2 on FastEthernet0/0 from LOADING to FULL, Loading Done

R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface

192.168.20.2      1   FULL/DR         00:00:37    192.168.20.2    Ethernet0/0

R1#show ip ospf interface fastethernet 0/0

FastEthernet0/0 is up, line protocol is up

Internet Address 192.168.20.1/30, Area 0

Process ID 1, Router ID 192.168.20.1, Network Type BROADCAST, Cost: 1

Transmit Delay is 1 sec, State BDR, Priority 1

Designated Router (ID) 192.168.20.2, Interface address 192.168.20.2

Backup Designated router (ID) 192.168.20.1, Interface address 192.168.20.1

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

oob-resync timeout 40

Hello due in 00:00:04

Index 1/1, flood queue length 0

Next 0x0(0)/0x0(0)

Last flood scan length is 1, maximum is 1

Last flood scan time is 0 msec, maximum is 0 msec

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 192.168.20.2  (Designated Router)

Suppress hello for 0 neighbor(s)

NOTE: On Broadcast and Non-Broadcast Multi-Access Networks, OSPF elects a Designated Router and a Backup Designated router for the subnet.  So when you are verifying OSPF adjacencies on these network types, make sure that the state is either FULL/DR, FULL/BDR, or FULL/DROTHER. The output of the show ip ospf interface command shows that the elected DR is R2: Designated Router (ID) 192.168.20.2, and that R1 is the BDR: Backup Designated router (ID) 192.168.20.1.

 

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.