ក្រុមការងារយើងខ្ញុំនិងខិតខំសិក្សារស្រាវជ្រាវចំនេះដឹងបន្ថែមទៀតសំរាប់លោកអ្នក សូមអរគុណសំរាប់ការគាំទ្រ !

Static Routes and Configuration with Next Hop IP

Static Routes and Configuration with Next Hop IP
Static Routes Overview
Routers forward packets using either route info from route table entries that you simply manually configure or the route
info that’s calculated using dynamic routing algorithms.
Static routes, that outline specific ways between 2 routers, can’t be mechanically updated; you need to manually
reconfigure static routes bandwidth network changes occur. Static routes use less information measure than dynamic
routes. No cpu cycles are wont to calculate and analyze routing updates.
You can supplement dynamic routes with static routes wherever applicable. you’ll be able to redistribute static routes
into dynamic routing algorithms however you can’t redistribute routing info calculated by dynamic routing algorithms
into the static routing table.
You should use static routes in environments wherever network traffic is inevitable and wherever the network style is
easy. you ought to not use static routes in giant, perpetually changing networks as a result of static routes cannot react
to network changes. Most networks use dynamic routes to speak between routers however may need one or 2 static
routes configured for special cases. Static routes are helpful for specifying a gateway of last resort (a default router to
that all unroutable packets are sent).
Topology



Link download file : Link 

Static Routes Configuration
R1
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface fastEthernet 1/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastEthernet 1/1
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.3.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip route 192.168.4.0 255.255.255.0 192.168.3.2
R1(config)#ip route 192.168.5.0 255.255.255.0 192.168.3.2
R2
Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.3.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastEthernet 1/0
R2(config-if)#ip address 192.168.4.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastEthernet 1/1
R2(config-if)#ip address 192.168.5.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
R2(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.1
PC
Assign IP address and gateway on all PC
Verified connection by ping from PC to PC


EmoticonEmoticon