You are on page 1of 3

LAB 3: ĐỊNH TUYẾN TĨNH VỚI MẠNG IPV6

Yêu cầu:
- Có 2 site được phân cách bởi 2 router.
- Thực hiện định tuyến tĩnh trên hai router để PC A có thể thực hiện lệnh ping tới PC B.
Các bước thực hiện:
Bước 1: Đặt địa chỉ cho các PC A và B
PC A: netsh interface ipv6 set address “local area connection” 2001::a
PC B: netsh interface ipv6 set address “local area connection” 2003::b
Bước 2: Cấu hình cho các interface của router R1, R2
Đối với R1:
R1(config)#ipv6 enable
R1(config)#ipv6 unicast-routing /*cho phép router hoạt động
định tuyến với IPv6*/
R1(config)#interface F0/0
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 address 2001::1/64
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface S0/0
R1(config-if)# clock rate 64000
R1(config-if)# ipv6 address 2002::1/64
R1(config-if)#no shutdown
R1(config-if)#^Z
Đối với R2:
R2(config)#ipv6 enable
R2(config)#ipv6 unicast-routing
R2(config)#interface F0/0
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address 2003::1/64
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface S0/0
R2(config-if)#ipv6 address 2002::2/64
R2(config-if)#no shutdown
R2(config-if)#^Z
Bước 3: Cấu hình định tuyến tĩnh
Trên R1:
R1(config)#ipv6 route 2003::/64 2002::2
R1(config)#exit
Trên R2:
R2(config)#ipv6 route 2001::/64 2002::1
R1(config)#exit
Cấu hình tham khảo:
R1#show run
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001::1/64
!
interface Serial0/1/0
no ip address
ipv6 address 2002::1/64
clock rate 64000
!
ip classless
!
ip http server
no ip http secure-server
!
ipv6 route 2003::/64 2002::2
!
R2#show run
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2003::1/64
!
interface Serial0/1/0
no ip address
ipv6 address 2002::2/64
!
ipv6 route 2001::/64 2002::1
!
Bước 4: Kiểm tra các thông số và thực hiện lệnh ping
- Địa chỉ trên PC B:

R2#show ipv6 interface brief


FastEthernet0/0 [up/up]
FE80::218:18FF:FE9C:A7A0
2003::1
Serial0/1/0 [up/up]
FE80::218:18FF:FE9C:A7A0
2002::2
- Từ PC B, thực hiện lệnh ping tới PC A có địa chỉ 2001::a để kiểm tra kết nối

You might also like