Back
!----------------------------
!HQ Routing Table
!---------------------------
HQ#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 0.0.0.0 to network 0.0.0.0
2.0.0.0/32 is subnetted, 1 subnets
C 2.0.0.1 is directly connected, Loopback0
192.168.0.0/30 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Serial0/0
O 192.168.0.4 [110/845] via 192.168.0.2, 00:10:27, Serial0/0
O 192.168.2.0/24 [110/65] via 192.168.0.2, 00:10:27, Serial0/0
O E1 192.168.3.0/24 [110/94] via 192.168.0.2, 00:10:27, Serial0/0
S* 0.0.0.0/0 is directly connected, Null0
!---------------------------------------------------------
!Configuration for HQ: 2600/IOS-c2600-do3s-mz.120-5.T1
!---------------------------------------------------------
enable
config t
!
hostname HQ
!
no ip domain-lookup
ip host REMOTE 192.168.0.6
ip host BRANCH 192.168.0.2
!
interface Loopback0
description Simulated Internet Host
ip address 2.0.0.1 255.255.255.255
!
interface FastEthernet0/0
description HQ LAN
ip address 192.168.1.1 255.255.255.0
no shutdown
!
interface Serial0/0
description Link to Branch Office
ip address 192.168.0.1 255.255.255.252
clockrate 64000
no shutdown
!
router ospf 1
network 192.168.0.0 0.0.0.3 area 0
network 192.168.1.0 0.0.0.255 area 0
default-information originate
!
ip route 0.0.0.0 0.0.0.0 Null0
!
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