3-tier design/OSPFRedistConfig

From Teknologisk videncenter
Jump to: navigation, search
HQFW1#<input>show run</input>
Building configuration...
<notice><-- Output Omitted --></notice>
router ospf 1
 log-adjacency-changes
 network 10.0.0.0 0.0.0.3 area 0
 network 10.0.0.8 0.0.0.3 area 0
 network 10.1.255.0 0.0.0.3 area 0
 network 10.2.255.0 0.0.0.3 area 0
 <notice>default-information originate</notice>

Verify the other routers get the default route

HQD1D2#<input>show ip route</input> 
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 10.0.1.5 to network 0.0.0.0

     10.0.0.0/8 is variably subnetted, 17 subnets, 2 masks
O       10.0.0.0/30 [110/2] via 10.0.1.5, 00:07:25, FastEthernet0/23
O       10.0.0.4/30 [110/2] via 10.0.1.5, 00:07:25, FastEthernet0/23
O       10.0.0.8/30 [110/2] via 10.0.2.5, 00:07:25, FastEthernet0/24
O       10.0.0.12/30 [110/2] via 10.0.2.5, 00:07:25, FastEthernet0/24
O       10.0.1.0/30 [110/2] via 10.0.1.5, 00:07:25, FastEthernet0/23
C       10.0.1.4/30 is directly connected, FastEthernet0/23
O       10.0.1.8/30 [110/2] via 10.0.1.5, 00:07:25, FastEthernet0/23
O       10.0.1.12/30 [110/2] via 10.0.1.5, 00:07:25, FastEthernet0/23
O       10.0.2.0/30 [110/2] via 10.0.2.5, 00:07:25, FastEthernet0/24
C       10.0.2.4/30 is directly connected, FastEthernet0/24
O       10.0.2.8/30 [110/2] via 10.0.2.5, 00:07:25, FastEthernet0/24
O       10.0.2.12/30 [110/2] via 10.0.2.5, 00:07:25, FastEthernet0/24
O       10.1.255.0/30 [110/1002] via 10.0.1.5, 00:07:25, FastEthernet0/23
                      [110/1002] via 10.0.2.5, 00:07:25, FastEthernet0/24
O E1    10.2.0.0/30 [110/23] via 10.0.1.5, 00:06:15, FastEthernet0/23
                    [110/23] via 10.0.2.5, 00:06:15, FastEthernet0/24
O E1    10.2.0.4/30 [110/23] via 10.0.1.5, 00:06:15, FastEthernet0/23
                    [110/23] via 10.0.2.5, 00:06:15, FastEthernet0/24
O       10.2.255.0/30 [110/1002] via 10.0.1.5, 00:07:25, FastEthernet0/23
                      [110/1002] via 10.0.2.5, 00:07:25, FastEthernet0/24
O       10.255.0.0/24 [110/3] via 10.0.1.5, 00:07:25, FastEthernet0/23
                      [110/3] via 10.0.2.5, 00:07:25, FastEthernet0/24
     172.16.0.0/24 is subnetted, 6 subnets
C       172.16.10.0 is directly connected, Vlan10
C       172.16.20.0 is directly connected, Vlan20
C       172.16.99.0 is directly connected, Vlan99
O IA    172.16.110.0 [110/3] via 10.0.1.5, 00:07:10, FastEthernet0/23
                     [110/3] via 10.0.2.5, 00:07:10, FastEthernet0/24
O IA    172.16.120.0 [110/3] via 10.0.1.5, 00:07:10, FastEthernet0/23
                     [110/3] via 10.0.2.5, 00:07:10, FastEthernet0/24
O IA    172.16.199.0 [110/3] via 10.0.1.5, 00:07:10, FastEthernet0/23
                     [110/3] via 10.0.2.5, 00:07:10, FastEthernet0/24
     172.18.0.0/24 is subnetted, 3 subnets
O E1    172.18.10.0 [110/23] via 10.0.1.5, 00:06:15, FastEthernet0/23
                    [110/23] via 10.0.2.5, 00:06:15, FastEthernet0/24
O E1    172.18.20.0 [110/23] via 10.0.1.5, 00:06:15, FastEthernet0/23
                    [110/23] via 10.0.2.5, 00:06:15, FastEthernet0/24
O E1    172.18.99.0 [110/23] via 10.0.1.5, 00:06:15, FastEthernet0/23
                    [110/23] via 10.0.2.5, 00:06:15, FastEthernet0/24
<notice>O*E2 0.0.0.0/0 [110/1] via 10.0.1.5, 00:02:23, FastEthernet0/23
               [110/1] via 10.0.2.5, 00:02:23, FastEthernet0/24</notice>
HQD1D2#<input>show ip route 0.0.0.0</input>
Routing entry for 0.0.0.0/0, supernet
Known via "ospf 1", distance 110, metric 1, candidate default path
  Tag 1, type extern 2, forward metric 1
  Last update from 10.0.1.5 on FastEthernet0/23, 00:02:31 ago
  Routing Descriptor Blocks:
  * 10.0.1.5, from 80.112.80.10, 00:02:31 ago, via FastEthernet0/23
      Route metric is 1, traffic share count is 1
    10.0.2.5, from 80.112.80.10, 00:02:31 ago, via FastEthernet0/24
      Route metric is 1, traffic share count is 1
HQD1D2#