Avocent Cyclades-PR2000 Manuale Utente

Pagina di 136
Cyclades-PR2000
Chapter 9 - Routing Protocols
65
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.
10.0.0.0
Mask: 255.0.0.0
Router 1
10.0.0.1
10.0.0.2
10.0.0.3
192.168.100.2
192.168.100.3
192.168.100.1
142.10.0.2
142.10.0.1
142.10.0.3
142.10.0.4
Router 2
142.10.0.0
Mask: 255.255.0.0
192.168.100.0
Mask: 255.255.255.0
A
B
E
C
D
F
Network 2
Network 3
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.