3-tier design/StaticConfig

From Teknologisk videncenter
Jump to: navigation, search

Configure the static Route to point to a host address on the "internet" network

HQFW1><input>en</input>
HQFW1#<input>conf t</input>
Enter configuration commands, one per line.  End with CNTL/Z.
HQFW1(config)#<input>ip route 0.0.0.0 0.0.0.0 80.112.80.1</input>
HQFW1(config)#<input>end</input>
HQFW1#
%SYS-5-CONFIG_I: Configured from console by console

Verify the configuration on HQFW1

HQFW1#<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 80.112.80.1 to network 0.0.0.0

     10.0.0.0/8 is variably subnetted, 17 subnets, 2 masks
C       10.0.0.0/30 is directly connected, FastEthernet0/0
O       10.0.0.4/30 [110/2] via 10.0.0.1, 00:01:11, FastEthernet0/0
C       10.0.0.8/30 is directly connected, FastEthernet0/1
O       10.0.0.12/30 [110/2] via 10.0.0.9, 00:01:11, FastEthernet0/1
O       10.0.1.0/30 [110/2] via 10.0.0.1, 00:01:11, FastEthernet0/0
O       10.0.1.4/30 [110/2] via 10.0.0.1, 00:01:11, FastEthernet0/0
O       10.0.1.8/30 [110/2] via 10.0.0.1, 00:01:11, FastEthernet0/0
O       10.0.1.12/30 [110/2] via 10.0.0.1, 00:01:11, FastEthernet0/0
O       10.0.2.0/30 [110/2] via 10.0.0.9, 00:01:11, FastEthernet0/1
O       10.0.2.4/30 [110/2] via 10.0.0.9, 00:01:11, FastEthernet0/1
O       10.0.2.8/30 [110/2] via 10.0.0.9, 00:01:11, FastEthernet0/1
O       10.0.2.12/30 [110/2] via 10.0.0.9, 00:01:11, FastEthernet0/1
C       10.1.255.0/30 is directly connected, Tunnel0
O E1    10.2.0.0/30 [110/23] via 10.0.0.1, 00:00:16, FastEthernet0/0
                    [110/23] via 10.0.0.9, 00:00:16, FastEthernet0/1
O E1    10.2.0.4/30 [110/23] via 10.0.0.1, 00:00:16, FastEthernet0/0
                    [110/23] via 10.0.0.9, 00:00:16, FastEthernet0/1
C       10.2.255.0/30 is directly connected, Tunnel1
O       10.255.0.0/24 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                      [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
     80.0.0.0/24 is subnetted, 1 subnets
C       80.112.80.0 is directly connected, Ethernet0/0/0
     172.16.0.0/24 is subnetted, 6 subnets
O IA    172.16.10.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                    [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
O IA    172.16.20.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                    [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
O IA    172.16.99.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                    [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
O IA    172.16.110.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                     [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
O IA    172.16.120.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                     [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
O IA    172.16.199.0 [110/3] via 10.0.0.1, 00:01:11, FastEthernet0/0
                     [110/3] via 10.0.0.9, 00:01:11, FastEthernet0/1
     172.18.0.0/24 is subnetted, 3 subnets
O E1    172.18.10.0 [110/23] via 10.0.0.1, 00:00:16, FastEthernet0/0
                    [110/23] via 10.0.0.9, 00:00:16, FastEthernet0/1
O E1    172.18.20.0 [110/23] via 10.0.0.1, 00:00:16, FastEthernet0/0
                    [110/23] via 10.0.0.9, 00:00:16, FastEthernet0/1
O E1    172.18.99.0 [110/23] via 10.0.0.1, 00:00:16, FastEthernet0/0
                    [110/23] via 10.0.0.9, 00:00:16, FastEthernet0/1
<notice>S*   0.0.0.0/0 [1/0] via 80.112.80.1</notice>
HQFW1#