13 Şub 2009

ROUTING

ROUTING
There are three ways to control routing decisions on your router:
1-Static routes
2-Default routes
3-Dynamic routes

1-Static Routes :
A static route is the basic kind of routing that is used in Cisco routers.
The working principle of Static Routing depends on the manually defined paths. To route a packet to the pre-defined destination, the routes on the Cisco routers should be manually defined.
The area of usage is especially small networks that have small bandwidths. This kind of routing is useful only if the routing paths are not changing rapidly. Please keep in mind that, rapidly changing routes causes network connectivity failures which results packet losses. If you change the route, please change the routing path that you defined in the Cisco Router.

Router(config)#ip route destination network address [subnet mask] {next-hop-address interface} [distance]




RTA(config)#interface s0/0
RTA(config-if)#ip address 172.16.0.10 255.255.0.0
RTA(config-if)#clock rate 64000
RTA(config-if)#no shutdown
RTA(config-if)#exit
RTA(config)#interface fa0/0
RTA(config-if)#ip address 192.168.100.1 255.255.255.0
RTA(config-if)#no shutdown
RTA(config-if)#exit
RTA(config)# ip route 192.168.10.0 255.255.255.0 172.16.0.20

RTB(config)#interface s0/0
RTB(config-if)#ip address 172.16.0.20 255.255.0.0
RTB(config-if)#no shutdown
RTB(config-if)#exit
RTB(config)#interface fa0/0
RTB(config-if)#ip address 192.168.10.1 255.255.255.0
RTB(config-if)#no shutdown
RTB(config-if)#exit
RTB(config)# ip route 192.168.100.0 255.255.255.0 172.16.0.10









Hiç yorum yok:

Yorum Gönder