Configure Simple OSPF on Cisco Router (Broadcast Multi Access)

Posted On 18 September 2009

Filed under Uncategorized

Comments Dropped leave a response

Melanjutkan posting sebelumnya tentang konfigurasi sederhana protokol OSPF, sekarang kita akan coba lagi di network BMA (broadcast multi-access).

Ini Diagram networknya …

_________________________________________________________________________________________________________________________
Router Configuration _________________________________________________________________________________________________________________________
Router A
 
hostname RA
!
interface Loopback0
 description “Area 1”
 ip address 1.1.1.1 255.255.255.0
!
interface Ethernet1/0
 description “Link To Area 0”
 ip address 212.15.4.3 255.255.255.0
 half-duplex

router ospf 10
 log-adjacency-changes
 network 1.1.1.0 0.0.0.255 area 1
 network 212.15.4.0 0.0.0.255 area 0
!

Router B

hostname RB
!
interface Loopback0
 description “Router ID”
 ip address 2.2.2.2 255.255.255.0
!
interface Ethernet1/0
 description “Link To Area 0”
 ip address 212.15.4.1 255.255.255.0
 half-duplex
!
router ospf 20
 log-adjacency-changes
 network 2.2.2.0 0.0.0.255 area 0
 network 212.15.4.0 0.0.0.255 area 0
!

Router C

hostname RC
!
interface Loopback0
 description “Router ID”
 ip address 3.3.3.3 255.255.255.0
!
interface Ethernet1/0
 description “Link To Area 0”
 ip address 212.15.4.2 255.255.255.0
 half-duplex
!
router ospf 30
 log-adjacency-changes
 network 3.3.3.0 0.0.0.255 area 0
 network 212.15.4.0 0.0.0.255 area 0
!

___________________________________________________________________________________________________________________________________________

Verify  route and connection ___________________________________________________________________________________________________________________________________________

Router A

RA#sh ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
       E1 – OSPF external type 1, E2 – OSPF external type 2
       i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
       ia – IS-IS inter area, * – candidate default, U – per-user static route
       o – ODR, P – periodic downloaded static route

Gateway of last resort is 202.47.66.249 to network 0.0.0.0

     202.47.66.0/29 is subnetted, 1 subnets
C       202.47.66.248 is directly connected, FastEthernet0/0
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/11] via 212.15.4.1, 00:00:26, Ethernet1/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/11] via 212.15.4.2, 00:00:26, Ethernet1/0
C    212.15.4.0/24 is directly connected, Ethernet1/0
S*   0.0.0.0/0 [1/0] via 202.47.66.249

RA#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
  Internet Address 212.15.4.3/24, Area 0
  Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 1.1.1.1, Interface address 212.15.4.3
  Backup Designated router (ID) 2.2.2.2, Interface address 212.15.4.1
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:01
  Index 1/2, 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 4 msec
  Neighbor Count is 2, Adjacent neighbor count is 2
    Adjacent with neighbor 2.2.2.2  (Backup Designated Router)
    Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)

RA#sh ip ospf neighbor       

Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           1   FULL/BDR        00:00:34    212.15.4.1      Ethernet1/0
3.3.3.3           1   FULL/DR         00:00:36    212.15.4.2      Ethernet1/0

Router B

RB#sh ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
       E1 – OSPF external type 1, E2 – OSPF external type 2
       i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
       ia – IS-IS inter area, * – candidate default, U – per-user static route
       o – ODR, P – periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/11] via 212.15.4.3, 00:00:50, Ethernet1/0
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/11] via 212.15.4.2, 00:00:50, Ethernet1/0
C    212.15.4.0/24 is directly connected, Ethernet1/0

RB#sh ip ospf interface e1/0
Ethernet1/0 is up, line protocol is up
  Internet Address 212.15.4.1/24, Area 0
  Process ID 20, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State BDR, Priority 1
  Designated Router (ID) 1.1.1.1, Interface address 212.15.4.3
  Backup Designated router (ID) 2.2.2.2, Interface address 212.15.4.1
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:00
  Index 1/1, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 0, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 2, Adjacent neighbor count is 2
    Adjacent with neighbor 1.1.1.1  (Designated Router)
    Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)

RB#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           1   FULL/DROTHER    00:00:34    212.15.4.3      Ethernet1/0
3.3.3.3           1   FULL/DR         00:00:33    212.15.4.2      Ethernet1/0

Router C

RC#sh ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
       E1 – OSPF external type 1, E2 – OSPF external type 2
       i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
       ia – IS-IS inter area, * – candidate default, U – per-user static route
       o – ODR, P – periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O IA    1.1.1.1 [110/11] via 212.15.4.3, 00:01:49, Ethernet1/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/11] via 212.15.4.1, 00:01:49, Ethernet1/0
     3.0.0.0/24 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Loopback0
C    212.15.4.0/24 is directly connected, Ethernet1/0

RC#sh ip ospf interface e1/0
Ethernet1/0 is up, line protocol is up
  Internet Address 212.15.4.2/24, Area 0
  Process ID 30, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DROTHER, Priority 1
  Designated Router (ID) 1.1.1.1, Interface address 212.15.4.3
  Backup Designated router (ID) 2.2.2.2, Interface address 212.15.4.1
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:07
  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 2, Adjacent neighbor count is 2
    Adjacent with neighbor 1.1.1.1  (Designated Router)
    Adjacent with neighbor 2.2.2.2  (Backup Designated Router)
  Suppress hello for 0 neighbor(s)

RC#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1           1   FULL/DROTHER    00:00:37    212.15.4.3      Ethernet1/0
2.2.2.2           1   FULL/BDR        00:00:35    212.15.4.1      Ethernet1/0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s