Overview ------------ ------------
Static Routing (English: Static routing), A route way, routing entries (routing entry) by the manual configuration, rather than dynamic decision. Unlike dynamic routing, static routing is fixed and will not change, even if network conditions have changed or re-configuration. Generally, static routes are itemized by the network administrator added to the routing table.
First, the configuration environment
1, the required use the command
config terminal (enter the global mode)
interface the FastEthernet (enter interface mode)
ip address (configure the IP address)
NO the shutdown (open interfaces)
do Show ip interface (inter-modal view address)
do Show ip route (inter-modal routing table)
ip route (network configuration No.)
2, configure routing
(1)> Open GNS3 add two routers and two VPC the operating table, and I tag address needs to be configured.
(2) configure the router
R1 configuration:
1, input into the global config terminal mode.
2, into the input interface fastethernet 0/0 0/0.
3, the input address 192.168.10.10 255.255.255.0 IP
. 4, enter the shutdown NO
. 5, arranged next f0 / 1, the input interface fastethernet 0/1, enter f0 / 1 port.
6, the input ip address 192.168.9.10 255.255.255.0 arranged f0 / 1 port.
7, enter the no shutdown.
8, input do show ip interface b. Once you've configured view the address
9, then configure a static route ( must be configured in global mode ), type exit, exit to global mode.
10, input route 192.168.8.0 255.255.255.0 192.168.9.11 ip
11, input do show ip route routing table, RI on configuration finished.
12, R2 and R1 are the same configuration.
13, then set the IP address of R1 and R2.
------------Test Results-----------
1, the ping 192.168.8.11 on PC1, see if interoperability.
.