Configuration 3 Routers Ethernet Back to Back
Basic IP Configuration
A simple IPv4 OSPF configuration. All three routers are in area 0. The loopback Interfaces are in area 0 as well. So if you look at the OSPF routes, the loopback addresses of the other routers always show up. Some routes that should be OSPF routes are connected routes with a better Administrative Distance.
The router ID is either taken from the highest loopback interface or manually configured. If you do not configure it manually you have the risk of changing the router ID. This could be problematic with virtual links.
Configurations:
R1
R2
R3
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$621A$VIV26Z7R/w724et/XIKDm0
!
no aaa new-model
memory-size iomem 5
ip cef
!
no ip domain lookup
!
interface Loopback0
ip address 172.17.0.2 255.255.255.255
!
interface FastEthernet0/0
description to R1 F0/0
ip address 192.168.100.2 255.255.255.252
speed 100
full-duplex
!
interface FastEthernet0/1
description to R3 F0/1
ip address 192.168.100.5 255.255.255.252
speed 100
full-duplex
!
router ospf 100
router-id 172.17.0.2
log-adjacency-changes
network 172.17.0.2 0.0.0.0 area 0
network 192.168.100.2 0.0.0.0 area 0
network 192.168.100.5 0.0.0.0 area 0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password network
login
!
end
|