Information Technology Reference
In-Depth Information
The router configurations based on the information provided in Figure 8-6 follow.
Example 8-2 shows the configuration for Router 3.
OSPF Router Configuration for Router 3 in Figure 8-6
Example 8-2
hostname router3
!
interface Loopback0
ip address 192.16.100.4 255.255.255.255
!
interface Ethernet0
ip address 192.16.100.19 255.255.255.240
no ip directed-broadcast
ip ospf priority 10
!
interface Serial0
no ip address
no ip directed-broadcast
encapsulation frame-relay
frame-relay lmi-type ansi
!
interface Serial0.1 point-to-point
ip address 192.16.100.245 255.255.255.252
no ip directed-broadcast
ip ospf message-digest-key 1 md5 ciscoccie
frame-relay interface-dlci 104
!
router ospf 100
area 10 authentication message-digest
network 192.16.100.4 0.0.0.0 area 0
network 192.16.100.16 0.0.0.15 area 0
network 192.16.100.244 0.0.0.3 area 10
!
ip classless
The Router 3 configuration sets the priority to 10 on the Ethernet interface. Assuming that all
other routers on this Ethernet have a default priority of 1, Router 3 becomes the designated
router on the segment. MD5 authentication is configured on Router 3 for area 10, and the MD5
key ciscoccie is set on interface Serial 0.1.
Example 8-3 shows the configuration for Router 7.
OSPF Router Configuration for Router 7 in Figure 8-6
Example 8-3
hostname Router7
!
interface Loopback0
ip address 192.16.100.5 255.255.255.255
!
interface Ethernet0
Search WWH ::




Custom Search