| TASKS: - Configure IP addresses on R1 and R2 as per topology
- Configure Loopback interface on R2 10.1.1.1/32
- Configure 1.1.1.0 as primary static route
- Configure 1.1.2.0 as floating static route
- Verify results by shutting down primary route interface of R1, R2 and both.
|
! Configuration of R1 hostname R1
interface FastEthernet0/0 ip address 1.1.2.1 255.255.255.0 no shut
interface FastEthernet0/1 ip address 1.1.1.1 255.255.255.0 no shut
ip route 10.1.1.1 255.255.255.255 1.1.1.100 ip route 10.1.1.1 255.255.255.255 1.1.2.50 15
! Configuration of R2 hostname R2
interface Loopback0 ip address 10.1.1.1 255.255.255.255
interface FastEthernet0/0 ip address 1.1.2.50 255.255.255.0 no shut
interface FastEthernet0/1 ip address 1.1.1.100 255.255.255.0 no shut
| Explanation
Primary Static route with default Administrative distance Floating Static route with administrative distance of 15
|
Verification
R1#show ip route
1.0.0.0/24 is subnetted, 2 subnets
C 1.1.1.0 is directly connected, FastEthernet0/1
C 1.1.2.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.1.1.1 [1/0] via 1.1.1.100
Shut down R1 primary route interface and check routing table now
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 1.1.2.1 YES manual up up
FastEthernet0/1 1.1.1.1 YES manual administratively down down
R1#sh ip route
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.2.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.1.1.1 [15/0] via 1.1.2.50
TASKS:
1. Configure IP Addresses as per diagram
2. Configure 5 subnet of 20.0.0.0/8 as loopback addresses in R3
3. Look into routing table inter-area routes
4. Configure Area Range command on R2 and see change in Routing table of R1. Area range command summarizes range and only work on Border Routers.
5. See Results by using Show ip route; show ip protocols
6. Dubug ip ospf adj and Debug ip ospf events
! R1 Configuration
hostname R1 !
interface Serial0/0
ip address 1.1.1.1 255.255.255.252
no shut
!
interface Serial0/1
ip address 2.2.2.1 255.255.255.252
no shut
!
router ospf 1
network 1.1.1.0 0.0.0.3 area 0
network 2.2.2.0 0.0.0.3 area 10
! R2 Configuration hostname R2
interface Serial0/0
ip address 1.1.1.2 255.255.255.252
no shut
!
interface Serial0/1
ip address 3.3.3.1 255.255.255.252
no shut
!
router ospf 1
area 20 range 20.1.1.0 255.255.255.0
network 1.1.1.0 0.0.0.3 area 0
network 3.3.3.0 0.0.0.3 area 20
| ! R3 Configuration
hostname R3
interface Loopback0
ip address 20.1.1.1 255.255.255.255
interface Loopback1
ip address 20.1.1.2 255.255.255.255
interface Loopback2
ip address 20.1.1.3 255.255.255.255
interface Loopback3
ip address 20.1.1.4 255.255.255.255
interface Loopback4
ip address 20.1.1.5 255.255.255.255
!
interface Serial0/0
ip address 3.3.3.2 255.255.255.252
no shut
!
router ospf 1
network 3.3.3.0 0.0.0.3 area 20
network 20.1.1.1 0.0.0.0 area 20
network 20.1.1.2 0.0.0.0 area 20
network 20.1.1.3 0.0.0.0 area 20
network 20.1.1.4 0.0.0.0 area 20
network 20.1.1.5 0.0.0.0 area 20
! R4 Configuration hostname R4
interface Serial0/0
ip address 2.2.2.2 255.255.255.252
no shut
!
router ospf 1
network 2.2.2.0 0.0.0.3 area 10
|