Back
!----------------------------
!BRANCH Routing Table
!---------------------------
BRANCH#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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 192.168.0.1 to network 0.0.0.0
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0
C 192.168.0.4 is directly connected, Serial1
O 192.168.1.0/24 [110/74] via 192.168.0.1, 01:19:28, Serial0
C 192.168.2.0/24 is directly connected, Ethernet0
R 192.168.3.0/24 [120/1] via 192.168.0.6, 00:00:13, Serial1
S* 0.0.0.0/0 [1/0] via 192.168.0.1
!---------------------------------------------------------
!Configuration for BRANCH: 2500/IOS-c2500-js-l.122-13b.bin
!---------------------------------------------------------
enable
config t
!
hostname BRANCH
!
!
no ip domain-lookup
ip host ISP 2.0.0.1
ip host HQ 192.168.0.1
ip host REMOTE 192.168.0.6
!
interface Ethernet0
description BRANCH LAN
ip address 192.168.2.1 255.255.255.0
no shutdown
!
interface Serial0
description Link to HQ
ip address 192.168.0.2 255.255.255.252
no shutdown
!
interface Serial1
description Link to REMOTE
ip address 192.168.0.5 255.255.255.252
clockrate 64000
no shutdown
!
router ospf 1
log-adjacency-changes
redistribute rip metric 30 metric-type 1 subnets
network 192.168.0.0 0.0.0.3 area 0
network 192.168.0.4 0.0.0.3 area 0
network 192.168.2.0 0.0.0.255 area 0
!
router rip
version 2
network 192.168.0.0
default-information originate
!Add the "redistribute" command here to send REMOTE the OSPF routes
redistribute ospf metric 1 subnets
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1
!
banner motd &
**************************************
!!!WARNING!!!
AUTHORIZED ACCESS ONLY
NETADMIN: Allan Johnson
**************************************
&
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
logging synchronous
login
!
end
wr