Cyclades-PR2000
Static Routes
Routers used in very small or simple networks may use static routes as the primary routing method. When RIP or OSPF are used, some static routes may still be needed. Configuration of static routes will be explained using two examples.
Network 2
|
| 142.10.0.0 |
|
|
|
|
| Mask: 255.255.0.0 |
| ||
| 142.10.0.3 |
|
|
| |
| D | 142.10.0.4 |
|
|
|
142.10.0.2 |
| 192.168.100.0 | |||
|
| ||||
C |
| Router 2 | 192.168.100.1 Mask: 255.255.255.0 | ||
Router 1 |
|
|
|
|
|
142.10.0.1 |
|
|
|
|
|
10.0.0.3 |
|
| F | 192.168.100.3 | |
10.0.0.0 |
|
| E | 192.168.100.2 | Network 3 |
|
|
|
| ||
Mask: 255.0.0.0 | B |
|
|
|
|
| 10.0.0.2 |
|
|
| |
A | 10.0.0.1 | Network 1 |
|
|
|
FIGURE 9.1 STATIC ROUTING EXAMPLE 1
In the first example, three networks are connected by 2 routers. The routing table for router 1 will automatically include servers A,B,C, and D, as they are direct links. A static route must be created for access to Network 3. This type of route, a Gateway route, tells the router that any message not intended for hosts A, B, C or D should be sent to Router 2. Details are given in the parameter table that follows.
Chapter 9 - Routing Protocols | 65 |