IPv6 静态路由基本配置

230阅读 0评论2013-08-26 wfeng
分类:系统运维

目的:使用将全网互联。

R1 Configuration:

!
unicast-routing
!
!
interface Loopback0
no ip address
ipv6 address 1111::1/128
!
interface Ethernet0/0
no ip address
half-duplex
ipv6 address 1212::1/64
!

!
ipv6 route 2323::/64 1212::2
ipv6 route 2424::/64 1212::2
ipv6 route 3333::3/128 1212::2
ipv6 route 4444::4/128 1212::2
!
!


R2 configuration:

!
ipv6 unicast-routing
!
interface Ethernet0/0
no ip address
half-duplex
ipv6 address 1212::2/64
!
!
interface Ethernet0/2
no ip address
half-duplex
ipv6 address 2323::2/64
!
interface Ethernet0/3
no ip address
half-duplex
ipv6 address 2424::2/64
!
!
ipv6 route 1111::1/128 1212::1
ipv6 route 3333::3/128 2323::3
ipv6 route 4444::4/128 2424::4
!


R3 Configuration:


!
ipv6 unicast-routing
!
!
interface Loopback0
no ip address
ipv6 address 3333::3/128
!
!
interface Ethernet0/2
no ip address
half-duplex
ipv6 address 2323::3/64
!
!
ipv6 route 1111::1/128 2323::2
ipv6 route 1212::/64 2323::2
ipv6 route 2424::/64 2323::2
ipv6 route 4444::4/128 2323::2
!
!


R4 Configuration:


!
ipv6 unicast-routing
!
!
interface Loopback0
no ip address
ipv6 address 4444::4/64
!
interface Ethernet0/3
no ip address
half-duplex
ipv6 address 2424::4/64
!
!
ipv6 route 1111::1/128 2424::2
ipv6 route 1212::/64 2424::2
ipv6 route 2323::/64 2424::2
ipv6 route 3333::3/128 2424::2
!
!
control-plane
!
!


-------------------

Inspect:(R1):

r1#
r1#
r1#ping ipv6 4444::4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4444::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/84/156 ms
r1#
r1#ping ipv6 3333::3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/72/176 ms
r1#


Inspect:(R2):

r2#
r2#
r2#ping ipv6 1111::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1111::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/40/104 ms
r2#
r2#ping 3333::3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/44/96 ms
r2#
r2#ping ipv6 4444::4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4444::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/54/112 ms
r2#

Inspect:(R3):

r3#
r3#ping ipv6 1111::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1111::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/83/160 ms
r3#
r3#ping ipv6 4444::4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4444::4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/68/204 ms
r3#


Inspect:(R4):

r4#
r4#ping ipv6 1111::1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1111::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/79/132 ms
r4#
r4#ping ipv6 3333::3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/91/160 ms
r4#


Notice: IPV6时,一定先敲“ipv6 unicast-routing”。

when configure IPV6, you must enter "ipv6 unicast-routing" first !!!

上一篇:CISCO 3550配置dhcp
下一篇:cisco交换机的日常管理