Tải bản đầy đủ (.docx) (31 trang)

Báo cáo Bảo trì hệ thống mạng OSPFv3 và Dual-Stack trong IPv6

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (2.11 MB, 31 trang )

-



-----

-----

– Stack
trong IPv6

C13QM15
13204301
13204285
13204296


Trang 2


sử d
t trị
j



nh t SPF (Shortest-Path F

) ể

tin c



a



d
Engineering Task Force). Chuẩn mở ở

ó

thiết bị

ịnh tuyến c a nhi

Nế
tuyến n

i (IGP) t

chậ
q

ế
ểm c
pv

m ng nhỏ

ế


Trang 3


1.2 Hoạ động của OSPFv3

ư

m
state quyế

Tr
ó

am
ết bị m

,

im

(LSAs). M

t tậ

link-state (LSDB). N

i dung từ

kết quả cu


Trang 4


d

li
ư c biế

(area). M

ả ế
tuyế
ABR. Router gi
System Boundary Router - ASBR.
o sán
- OSPFv3 sử d
ó
link-state request (LSR), link-state update (LSU),
link-state
link-state advertisment (LSA).
j
- Ho

ng c
ú

-

ó


-

Trang 5


2
- Giao thức OSPFv3 xử ý
V


is



m

ó ể giao tiếp v

subnet m
-

ế
trị ch

thu

c v nhi

Sử d
-


ịa chỉ link-local cho m
ịa chỉ
+ FF02::5 -i di n cho t t cả
224.0.0.5 trong OSPFv2.
+ FF02::6 - i di n cho t t cả designated routers (DR). Tư

chỉ 224.0.0.6 trong OSPFv2.
- OSPFv3 lo i bỏ

ịa chỉ ng

ĩ

+

ịa chỉ

+ Router+
+
-

ế chứng th

chứng th

b

bảo mậ
Payload (ESP)


ể ảm bả

tuyến.

Trang 6


- ị

ó



ổ õ

ư
ó,

ng

ư

"

"

"




bị lo i bỏ trong header c
"

i LSA c

ó

ó
ư

Sequence Number.
1.4 Cấ

ìn

rên

ết bị Cisco

, ể

,

ả bậ

ử ý ó

b
Router(config)#ipv6 unicast-routing



ìn

on

ế

ipv6 unicast-routing
!
ipv6 router ospf 1
router-id 2.2.2.2

Router>enable
Router#configure terminal
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router ospf 1
Router(config-rtr)#router-id 2.2.2.2
Router(config-rtr)#end

Trang 7

2 ấ ìn

Router(config)#interface
[type-number]

rên n





Router(config-if)#ipv6 enable
Router(config-if)#ipv6 address
[address]/[prefix-length](eui-64)
Router(config-if)#ipv6 ospf
process-id area area-ip
Router(config-if)#ipv6 ospf
cost cost
Router(config-if)#ipv6 ospf
priority priority-number

subnet-mark

interface
fastEthernet0/0 ipv6
address
2002:1000:1::1/64
ipv6 ospf 1 area
0 ipv6 ospf
priority 20 ipv6
ospf cost 20
ế
Router>enable
Router#configure terminal
Router(config)#interface fa0/0
Router(config-if)#ipv6 enable
Router(config-if)#ipv6 address 2002:1000:1::1/64
Router(config-if)#ipv6 ospf 1 area 0
Router(config-if)#ipv6 ospf priority 20

Router(config-if)#ipv6 ospf cost 20

Tran
g8


ìn

-

ê
+






-





n

-

+




Interface loopback

R1
R1>enable
R1#config
R1(config)#int loopback0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#ipv6 address 2002:1::1/64
R1(config-if)#ex
R1(config-if)#ex

Trang 9


R2
R2>enable
R2#config
R2(config)#int loopback0
R2(config-if)#ip address 10.1.2.1 255.255.255.0

R2(config-if)#ipv6 address 2002:2::1/64
R2(config-if)#ex

R3
R3>enable
R3#config
R3(config)#int loopback0
R3(config-if)#ip address 10.1.3.1 255.255.255.0


R3(config-if)#ipv6
address 2002:3::1/64
R3(config-if)#ex



Interface Serial

R1
R1(config)#interface
serial1/0 R1(configif)#ipv6 enable
R1(config-if)#ipv6
address 2000:12::1/64
R1(config-if)#no
shutdown R1(configif)#ex

R1(config)interface
serial1/1 R1(configif)#ipv6 enable
R1(config-if)#ipv6
address 2000:13::1/64
R1(config-if)#no
shutdown R1(configif)#ex

R2
R2(config)#interface
serial1/0 R2(configif)#ipv6 enable
R2(config-if)#ipv6
address 2000:12::2/64
R2(config-if)#no

shutdown R2(configif)#ex

R2(config)interface
serial1/1 R2(configif)#ipv6 enable
R2(config-if)#ipv6
address 2000:13::2/64
R2(config-if)#no
shutdown R2(configif)#ex

R3
R3(config)#interface
serial1/0 R3(configif)#ipv6 enable
R3(config-if)#ipv6
address 2000:13::3/64
R3(config-if)#no
shutdown R3(configif)#ex

R3(config)interface
serial1/1 R3(configif)#ipv6 enable
R3(config-if)#ipv6
address 2000:23::3/64
R3(config-if)#no
shutdown R3(configif)#ex


Trang 10


+


v

-

ịa chỉ link-local mặ
ết bị
ư

interface interface ể

Sử d
c

ịnh t
q

ịa chỉ linkịnh sẵ
E8

t cả interface nh
ưct

/

ửd

ịa chỉ link-local mặ ị

nh ipv6 address address link-local ể


ết n i
ừ b ịnh danh
nh show ipv6

t interface.



ị mặ

ịnh

ịa chỉ link-

Trang 11


Kiểm tra l
l nh ping ể chắc r

Trang 12

+


Mặ



ó


ể bắ

E
R1(config)# ipv6 unicast-routing
R1(config)# ipv6 cef
R2(config)# ipv6 unicast-routing
R2(config)# ipv6 cef
R3(config)# ipv6 unicast-routing
R3(config)# ipv6 cef


R1(config)#interface loopback0
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#interface serial 1/0
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#interface serial 1/1
R1(config-if)#ipv6 ospf 1 area 0
R2(config)#interface loopback0
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#interface serial 1/0
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#interface serial 1/1
R2(config-if)#ipv6 ospf 1 area 0
R3(config)#interface loopback0
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#interface serial 1/0
R3(config-if)#ipv6 ospf 1 area 0
R3(config-if)#interface serial 1/1
R3(config-if)#ipv6 ospf 1 area 0


Trang 13




Trang 14


bả



ế

Trang 15




ó

Trang 16


2

-STACK TRONG IPv6

2


Dual-

ức th c thi TCP/IP bao g m cả t ng IP c

IPv6. Thiết bị hỗ tr cả 2 giao thứ
l a ch n m t trong hai giao thức cho từ
n cho IPv6 ở

,

é

a
ứng d ng
ẩn mặ ị

ưu

ó ể sử d ng IPv6).

-Stack
-

ú


ẽ ó bả








ó ẽ ó

bả











ó

)

,

bả



ỗ bả


ó

ỏ ế





















ế







ỏ ế






ế qả





ó



ó







ể ỏ ế

bả


bả ghi A



)

b

ế qả
b











ế






,


ó


ế


ó

ó



ó


ế


ó



ế



Trang 17

R t nhi u ứng d


ết bị hi n


2.2 Dual-stack trong h đ

n W nd

Th c tế, th t
Driver c a th

t

2.3 Dual-stack trong Cisco

Trang 18


2

ìn

Trang 19


-


- Show config
PC1

!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PC1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
Trang 20


SERVER_1
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SERVER_1
!
boot-start-marker
boot-end-marker

!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!

interface FastEthernet0/0
no ip address
shutdown
duplex half
!

interface FastEthernet1/0
ip address 20.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
router rip
version 2
network 20.0.0.0
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!

control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end

Trang 21


Zone_1
!
version 12.4
service timestamps debug datetime msec

service timestamps log datetime msec
no service password-encryption
!
hostname Zone_1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
!
!
!
!
!
!

!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half

!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
ipv6 address 2001:1::2/64
ipv6 ospf 1 area 0
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto

!
!
no ip http server
no ip http secure-server
!
!
ipv6 router ospf 1
router-id 1.1.1.1
log-adjacency-changes
!
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0

stopbits 1
line vty 0 4
login
!
!
end
Trang 22


Zone_2
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Zone_2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
!
ip cef
no ip domain lookup
!
!
!

ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!


interface FastEthernet1/0
no ip address
duplex auto
speed auto
ipv6 address 2002:1::2/64
ipv6 enable
ipv6 ospf 1 area 0
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
!
no ip http server
no ip http secure-server
!
!
ipv6 router ospf 1
router-id 2.2.2.2
log-adjacency-changes
!
!
!
!
!
control-plane
!
!

!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
!
end
Trang 23


×