????????? RIP, OSPF, EGP, BGP - PowerPoint PPT Presentation

About This Presentation
Title:

????????? RIP, OSPF, EGP, BGP

Description:

Title: 10. Author: Olifer Last modified by: Natalia Olifer Created Date: 8/2/2000 2:40:21 PM – PowerPoint PPT presentation

Number of Views:174
Avg rating:3.0/5.0
Slides: 93
Provided by: Oli60
Category:
Tags: bgp | egp | ospf | rip | community | gated

less

Transcript and Presenter's Notes

Title: ????????? RIP, OSPF, EGP, BGP


1
????????? ?????????????
  • ?????????? ? ??????? ????????? ?????????????
  • ????????? RIP, OSPF, EGP, BGP
  • ?????????? ??????? ? ?????????? ?????????

2
(No Transcript)
3
?????????? ??????
?????????????? ?????? ??? ????????????
????????, ??????????? ?????????????? ?????? ?
??????????????? ??????? ??? ????
C
B
F
G
D
K
H
A
E
  • ? ??????? ?????????? ????????? ??????????????
    ?????? ?????????????
  • ????????? ???? ??????? ????????????? (Net - Next
    Hop)
  • ????????? ???????????? ???????????? ???????
    ??????? ????????? ???? ?????????? ? ????????
    ?????? ? ??????????????

4
????????????-????????? ?????????Distance-Vector
Algorithms, DVA
C
B
F
G
A, 1E, 1 D, 2 C, 3 H, 2
D
D, 1
K
H, 1
G, 1
A, 1E, 1
A, 1E, 1
H
A
E
H, 1
  1. 2. ??????? ??????? ?? ???????,
    ????????????? ????????? ????? ?????????? ? ?????
    ???? ?????? ? ????????? ????? ??????????
    ???????????? ?? 1 (??? ??????? ?????? ?????)
    ???? ? ????? ? ??? ?? ???? ????? ???????
    ??????? ??????????, ?? ?????????? ???? ?
    ??????????? ??????????????? ?????? ? ?????????
    ????? gt ??????? ?????????????
  1. 3. ??????? ?????? ????????? ??????????
    ???????????? ??????????? ????????????? ????????
    ????????? ????????? ????

1. ?????? ????????????? ????????? ????
???????????????? ??????? ?????? ?????????? ??
????????? ??? ????? ?????????? (???????) ?
????? (????????????? ??????????????) ??? ?
???????? ????????, ??????????? ??????????
??????????? ??????? ?????
5
(No Transcript)
6
????????? ????????? ??????Link State
Algorithms, LSA
C
M
B
N
L
G
F
R
D
P
T
K
S, U, upS, A, upS, E, up S, T, upS, L, up
S
U
H
A
E
  1. 1. ?????????????? ????????????
    ??????????? ? ????????? ???? ??? ??????????
    ??????? ?????. ??????? ?????????????? ? ????
    (A, B, C, , S, T, U). ?????????? ?????????? ?
    ?????? ????? ????????? ?????.

7
????????? ????????? ??????Link State
Algorithms, LSA
C
M
B
N
L
G
F
R
D
P
T
K
S, U, upS, A, upS, E, up S, T, upS, L, up
S
U
H
A
E
  1. 2. ?????? ????????????? ????? ?????????
    ???????? ?????? ??????????? ????? ??????????????
    ?????????? ?????? ????. ????? ????
    ??????????????? ?????????.
  2. ????? ????????????? ?????????? ?????? ???
    ????????? ????????? ????? (up -gt down)
  3. ????????????? ???????????? ????? - hello

8
????????? ????????? ??????Link State
Algorithms, LSA
C
M
B
N
L
G
F
R
D
P
T
K
S, U, upS, A, upS, E, up S, T, upS, L, up
S
U
H
A
E
  1. 3. ?????? ????????????? ?? ?????? ?????
    ?????? ???? ??????? ????????????? - ??????? ??
    ???? ?????????? ??????? ?? ?????? ????-
    ?????????? ?? ????? ???????? ?????? ????????? ???

9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
13
RIP-?????????? ???????? ?????? ???????????????
?????? 30 ?????? (T??????.)
14
(No Transcript)
15
??????? ?????????? ??????? ????????????? ?? RIP
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
M1
...
M2
????? ?????????!
t
30 ???
M3
????? ????????????? ????? (16/2-1) x 30 210 c
3,5 ???
20
(No Transcript)
21
(No Transcript)
22
M1
Split horizon
...
M2
?
M4
M3
M4 ????? ? 1 ?? M3
????? ???????????? 4 ? 30 120 ???
23
(No Transcript)
24
(No Transcript)
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
(No Transcript)
32
(No Transcript)
33
?????? ???? ? ???????????????? OSPF
  • C???? ???? "????????????? - ?????????????"
  • ???? - ?????
  • ???? - ???
  • ??? - ?????
  • ????? - ????
  • ???? -????
  • C???? ???? "????????????? - ????"
  • ???? - 201.106.14.0
  • ????? - 201.106.15.0
  • ???? - 195.46.17.0
  • ???? - 195.46.17.0
  • ??? - 195.46.17.0
  • ????? - 129.35.0.0
  • ???? - 197.13.58.0.

34
(No Transcript)
35
??????? ? ??????????? ?????????? ????????? ?????
  • ? OSPF ??? ????????? ?????
  • 1) "????-???? - ??????? ?? ?????? ??????
  • 2) "????????? ???? - ???????, ????????????
    ?????? ? ?????? ??????????????
  • 3) "?????????? ???? - ???????, ???????????? ?
    ????? ??? ?????? ??????????????.
  • ????????????? ??????????????? "?????? ? ??????"
    ?? ?????????? ????
  • ???????? ???? N(N-1) ???
  • ????????????? ? "??????????" ???????????????
  • ???????? ???? 2N ???

36
(No Transcript)
37
(No Transcript)
38
(No Transcript)
39
?) ????? ? ????????? ????? ? ?????????????
????????
RT4
RT3
N2
RT5
RT6
40
(No Transcript)
41
(No Transcript)
42
(No Transcript)
43
?) ?????????? ? ?????? ??????????????
D)?????????? ? ?????? ????
??????? ? ??????????? ?? ???? ?? ??????????????
?????? ????? 0
44
(No Transcript)
45
(No Transcript)
46
G) ??????? ???????? ? ??????? RT6
47
(No Transcript)
48
(No Transcript)
49
(No Transcript)
50
(No Transcript)
51
(No Transcript)
52
(No Transcript)
53
(No Transcript)
54
(No Transcript)
55
??????????, ???????????? ????????????
???????????????? ?? ??????? 1 ? ??????????
??????????, ??????????? RT3 ? RT4 ?? ?????????
??????????? ???????????????
56
??????????, ???????????? ????????????
???????????????? RT3 ? RT4 ??????????
??????????????? ??????? 1
57
(No Transcript)
58
(No Transcript)
59
?????????? ??????? ? ??????? ???????????????
out
in
serial 1
serial 0
?????? ?? ????????? (in) ??? ?? ??????????
(out) ??????, ??????????????? ????????????
?????????
???? ?????????? ??????????????? Cisco Systems 1.
??????????? ?????? ??????? access-list
access-list-number deny permit
source-address source-wildcard any
log interface serial 0 ip access-group 1
in ?????????? ?????? ??????? ???????????
?????? ??????? access-list 1 deny
192.78.46.0 0.0.255 access-list 1 deny host
193.24.15.8 access-list 1 permit any
access-list 1 deny any ??????? ???????? ?
????? ??????? ??????
60
?????????? ??????? ? ??????? ??????????????? (????
???????)
out
in
serial 1
serial 0
?????? ?? ????????? (in) ??? ?? ??????????
(out) ??????, ??????????????? ????????????
?????????
???? ?????????? ??????????????? Cisco Systems 1.
??????????? (extended) ?????? ???????
access-list list number permitdeny
protocolprotocol key word source address
source-wildcard mask source port
destination address destination-wildcard mask
destination port log options ????????? ??
?????? 101 ?????? ? ??????? 192.78.46.8 ?? TCP,
???????? ????????? ?????? ?? IP? access-list
101 permit IP any host 192.78.46.8 access-list
101 deny TCP any host 192.78.46.8 ?????? ping
????? 192.78.46.8 access-list 101 deny ICMP any
host 192.78.46.8 eq 8
61
?????????? ?????????? ?????????? ?????????????
in
serial 1
serial 0
?????????????? Cisco Systems
  • ?????????? ???????? ?????????? ?? ????????????
    ??????????
  • passive-interface serial 0
  • ?????????? ??????????? ???????????? ?????????
  • distribute-list 2 out serial 1
  • access-list 2 deny 194.12.34.0 0.0.0.255
  • access-list 2 deny 132.7.0.0 0.0.255.255
  • access-list 2 permit any
  • ?????????? ??????? ???????????? ?????????
  • distribute-list 2 in serial 1
  • ? ?? Unix gated ???????????? ???? ??????????
    ??????????

62
????? ????? ?????????? ??????????? ?????????????
ethernet 0
serial 0
interface serial 0 ip address 130.93.1.1
255.255.255.0 ! interface ethernet 0 ip
address 130.94.1.1 255.255.255.0 ! router ospf
9000 network 130.93.0.0 0.0.255.255 area 0
redistribute rip metric 1 ! router rip network
130.94.0.0 0.0.255.255 area 0 redistribute ospf
9000 metric 1
63
(No Transcript)
64
(No Transcript)
65
(No Transcript)
66
(No Transcript)
67
(No Transcript)
68
(No Transcript)
69
(No Transcript)
70
(No Transcript)
71
?????????? ?????? ? BGP
150.10.30.1
150.10.30.2
  1. ?????????? RTA-gtRTB AS100 NH150.10.30.1
    Net150.10.0.0 255.255.0.0
  2. ?????????? RTB-gtRTC AS200, AS100 NH
    160.10.20.1 Net150.10.0.0 255.255.0.0
  3. ?????????? RTCgtRTA AS300, AS200, AS100 NH
    150.10.20.2 Net150.10.0.0 255.255.0.0
    ???????????????, ??? ??? ? ???? ?????????? ?????
    ????? AS

72
??????? ? ?????????? ????????????? BGP Exterior
BGP ????? AS Interior BGP ?????
???????????????? ????? AS
RTA router bgp 100 ( ????? AS) neighbor
129.213.1.1 remote-as 200 RTB router bgp
200 neighbor 129.213.1.2 remote-as 100 neighbor
175.220.1.2 remote-as 200
RTC router bgp 200 neighbor 175.220.212.1
remote-as 200
73
?????????? ?????????? ? BGP
match as-path match community match clns match
interface match ip address match ip
next-hop match ip route-source match metric match
route-type match tag
RTC router bgp 300 neighbor 2.2.2.2 remote-as
100 neighbor 2.2.2.2 route-map STOPUPDATES
out route-map STOPUPDATES permit 10 match ip
address 1 access-list 1 deny 170.10.0.0
0.0.255.255 access-list 1 permit 0.0.0.0
255.255.255.255
74
(No Transcript)
75
(No Transcript)
76
(No Transcript)
77
(No Transcript)
78
(No Transcript)
79
(No Transcript)
80
(No Transcript)
81
(No Transcript)
82
(No Transcript)
83
(No Transcript)
84
(No Transcript)
85
(No Transcript)
86
??????
1
A
B
1
??????? ????
1
1
C
10
D
???? ??????????
?????? ? ???? ? ???? ?????????? D direct, metric
1 B route via D, metric 2 C route via B, metric
3 A route via B, metric 3
87
1
A
B
????? B-D ?????????? ?????????????? ??
???????????? Split Horizon ??? ?????????? ? ????
??? ????????? ????????????? ???????????
1
1
1
C
10
D
???? ??????????
?????? ? ???? ? ???? ?????????? D dir, 1 dir, 1
B 16 C B, 3 A B, 3
88
(No Transcript)
89
(No Transcript)
90
?????????? ?????? ? BGP
150.10.30.1
150.10.30.2
  1. ?????????? RTA-gtRTB AS100 NH150.10.30.1
    Net150.10.0.0 255.255.0.0
  2. ?????????? RTB-gtRTC AS200, AS100 NH
    160.10.20.1 Net150.10.0.0 255.255.0.0
  3. ?????????? RTCgtRTA AS300, AS200, AS100 NH
    150.10.20.2 Net150.10.0.0 255.255.0.0
    ???????????????, ??? ??? ? ???? ?????????? ?????
    ????? AS

91
??????? ? ?????????? ????????????? BGP Exterior
BGP ????? AS Interior BGP ?????
???????????????? ????? AS
RTA router bgp 100 ( ????? AS) neighbor
129.213.1.1 remote-as 200 RTB router bgp
200 neighbor 129.213.1.2 remote-as 100 neighbor
175.220.1.2 remote-as 200
RTC router bgp 200 neighbor 175.220.212.1
remote-as 200
92
?????????? ?????????? ? BGP
match as-path match community match clns match
interface match ip address match ip
next-hop match ip route-source match metric match
route-type match tag
RTC router bgp 300 neighbor 2.2.2.2 remote-as
100 neighbor 2.2.2.2 route-map STOPUPDATES
out route-map STOPUPDATES permit 10 match ip
address 1 access-list 1 deny 170.10.0.0
0.0.255.255 access-list 1 permit 0.0.0.0
255.255.255.255
Write a Comment
User Comments (0)
About PowerShow.com