You are on page 1of 4

GV: ThS.

Đặng Ngọc Cường 27/01/2014 Lớp: CS421B

2024::/64

Configure for R1
- Cấu hình IP cho Interface Loopback 0
R1>enable
R1#configure terminal
R1(config)#interface loopback 0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#exit
- Cấu hình IP cho Interface s0/1
R1(config)#interface s0/1
R1(config-if)#no shutdown
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#exit
- Cấu hình IP cho Interface e1/1
R1(config)#interface e1/1
R1(config-if)#no shutdown
R1(config-if)#ipv6 address 2013::1/64
R1(config-if)#exit
R1(config)#
- Cấu hình định tuyến RIPv2
GV: ThS. Đặng Ngọc Cường 27/01/2014 Lớp: CS421B

R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto-summary
R1(config-router)#network 192.168.12.0
R1(config-router)#network 192.168.1.0
R1(config-router)#exit
R1(config)#
- Cấu hình IP một đường hầm 6to4 tự động để kết nối với R2
R1(config)#interface tunnel 12
R1(config-if)#no ip address
R1(config-if)# ipv6 address 2002:C0A8:101::/128
R1(config-if)#tunnel source loopback 0
R1(config-if)#tunnel mode ipv6ip 6to4
R1(config-if)#exit
- Cấu hình định tuyến IPv6
R1(config)#ipv6 unicast-routing
R1(config)# ipv6 route 2002::/16 Tunnel12
R1(config)# ipv6 route 2024::/64 2002:C0A8:201::
R1(config)#

Configure for R2
- Cấu hình IP cho Interface Loopback 0
R2>enable
R2#configure terminal
R2(config)#interface loopback 0
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)#exit
- Cấu hình IP cho Interface s0/2
R2(config)#interface s0/2
R2(config-if)#no shutdown
R2(config-if)#ip address 192.168.12.2 255.255.255.0
GV: ThS. Đặng Ngọc Cường 27/01/2014 Lớp: CS421B

R2(config-if)#exit
- Cấu hình IP cho Interface e1/2
R2(config)#interface e1/2
R2(config-if)#no shutdown
R2(config-if)#ipv6 address 2024::2/64
R2(config-if)#exit
R2(config)#
- Cấu hình định tuyến RIPv2
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#no auto-summary
R2(config-router)#network 192.168.12.0
R2(config-router)#network 192.168.2.0
R2(config-router)#exit
R2(config)#
- Cấu hình IP một đường hầm 6to4 tự động để kết nối với R1
R2(config)#interface tunnel 12
R2(config-if)#no ip address
R2(config-if)# ipv6 address 2002:C0A8:201::/128
R2(config-if)#tunnel source loopback 0
R2(config-if)#tunnel mode ipv6ip 6to4
R2(config-if)#exit
- Cấu hình định tuyến IPv6
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 route 2002::/16 Tunnel12
R2(config)#ipv6 route 2013::/64 2002:C0A8:101::
R2(config)#

Cấu hình cho R3


- Cấu hình IPv6 cho Interface e0/3
R3#conf t
GV: ThS. Đặng Ngọc Cường 27/01/2014 Lớp: CS421B

R3(config)#interface e0/3
R3(config-if)#no shutdown
R3(config-if)#ipv6 address 2013::3/64
R3(config-if)#exit
- Cấu hình default route
R3(config)#ipv6 route ::/0 2013::1
- Lưu cấu hình
R3#wr

Cấu hình cho R4


- Cấu hình IPv6 cho Interface e0/0
R4#conf t
R4(config)#interface e0/0
R4(config-if)#no shutdown
R4(config-if)#ipv6 address 2024::4/64
R4(config-if)#exit
- Cấu hình default route
R4(config)#ipv6 route ::/0 2024::2
- Lưu cấu hình
R4#write

Kiểm tra kết nối và 6to4 tunnel

You might also like