Static routes are also ideal for a stub network providing a single dedicatedpoint-to-point WAN connection outside the network to an upstream ISP (InternetService Provider) providing Internet access. Generally there is no reason toadvertise your company's internal subnetworks out to the world through thisconnection, as most companies are concerned about having their network hackedinto by intruders. The connection should only provide internal users access toInternet resources and traveling users with the capability to access networkresources and e-mail via the Internet. Probably the only outsider entry youwant is someone accessing the corporate Web site. This situation provides aperfect example of where static routing is needed. You can configure a"default route" directed at the upstream router, which keeps yourcompany's internal subnetworks from being advertised while still providinginside users with a way out. Default routes are discussed later in thischapter.
Perfect Mask 5.2 Seriall
Figure 3.12 Three static routes have been added to Router A. The output in Figure 3.12 is a view of the configuration of Router A (a Cisco router). As you can see Router A has been configured with three static routes using the ip route command. The first two statements indicate that to get to network 199.10.4.0 and 199.10.5.0 with the mask 255.255.255.0, use 199.10.2.2 as the next hop router. The last statement says that to get to network 199.10.6.0, mask 255.255.255.0 use 199.10.6.2 as the next hop router. After configuration, Router A now has a path to each of these networks. To verify the routes were entered properly we will view the route table (see Figure 3.13).
Figure 3.14 The values for the destination network and subnet mask fields are all zeros. The zeros represent any unknown destination. In Figure 3.14 a default route statement has been added to a router. The default route specifies that to get to any unknown network, with any mask, the router should use 199.10.2.1 as its Default Router. Figure 3.15 shows a router's route table with a default route. 2ff7e9595c
Comments