close

e-Lab
ip route 172.16.3.0 255.255.255.0 192.168.2.1 255

ping 192.168.3.0不通
檢查步驟
show ip interface brief
show ip route
configure terminal
ip route 192.168.3.0 255.255.255.0 192.168.2.2


copy running-config startup-config == write memory

default route

ip route 0.0.0.0 0.0.0.0 s1

show running-config

show ip route

用ping跟traceroute檢查網路是否有通

==============================================================================
1.distance vector routing algorithm 使用Bellman-Ford algorithm每個route只會知
道自己跟鄰近route的距離

而不紀錄全部的route

2.The link-state algorithm is also known as Dijkstra's algorithm or as the
shortest path first (SPF) algorithm

==============================================================================
1.Path determination occurs at the network layer

2.The switching function is the internal process used by a router to accept a
packet

on one interface and forward it to a second interface on the same router

==============================================================================
router RIP

network 要加入routing的ip

RIP was originally specified in RFC 1058. Its key characteristics include the
following:
1.It is a distance vector routing protocol.
2.Hop count is used as the metric for path selection
3.If the hop count is greater than 15, the packet is discarded
4.Routing updates are broadcast every 30 seconds, by default

IGRP is a proprietary protocol developed by Cisco. Some of the IGRP key
design characteristics are as follows:
1.It is a distance vector routing protocol.
2.Bandwidth, load, delay and reliability are used to create a composite
metric.
3.Routing updates are broadcast every 90 seconds, by default

OSPF is a nonproprietary link-state routing protocol
1.It is a link-state routing protocol.
2.It is an open standard routing protocol described in RFC 2328.
3.The SPF algorithm is used to calculate the lowest cost to a destination.
4.Routing updates are flooded as topology changes occur.

EIGRP is a Cisco proprietary enhanced distance vector routing protocol. The
key characteristics of EIGRP are as follows:
1.It is an enhanced distance vector routing protocol.
2.It uses unequal cost load balancing.
3.It uses a combination of distance vector and link-state features.
4.It uses Diffusing Update Algorithm (DUAL) to calculate the shortest path
5.Routing updates are multicast using 224.0.0.10 triggered by topology changes

Border Gateway Protocol (BGP) is an exterior routing protocol. The key
characteristics of BGP are as follows:
1.It is a distance vector exterior routing protocol
2.It is used between ISPs or ISPs and clients.
3.It is used to route Internet traffic between autonomous systems.

結論:除了OSPF是link-state之外,其餘都是vector distance
BGP是外部路由協定,其餘都是內部路由協定


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 yuan0258 的頭像
    yuan0258

    如果有夢在心中,那就去追尋吧!

    yuan0258 發表在 痞客邦 留言(0) 人氣()