Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1544757
  • 博文数量: 416
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 3287
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-05 11:12
个人简介

技术在于专研

文章分类

全部博文(416)

文章存档

2021年(3)

2015年(34)

2013年(2)

2012年(1)

2011年(2)

2010年(5)

2007年(344)

2006年(25)

分类: 系统运维

2007-06-18 19:30:40

我用的是R1和R2做的IPV6实验用到的IOS我已经在拓扑图上标出来了
R1
   loopback 0 : 2006:AAAA::1/64
   loopback 1 : 2006:BBBB::1/64
   serial 1/0  :   2007:CCCC::1/64
R2
   loopback 0 : 2008:DDDD::2/64
   serial 1/0   : 2007:CCCC::2/64


.net 文件

autostart=False
[localhost]
port =7200
workingdir=..\workingdir\

[[Router R1]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3001
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-4E
   slot1 = NM-4T
   S1/0 = R2 S1/0
   E0/1 = SW1 F0/1
   E0/2 = SW2 F0/1
[[Router R2]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3002
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-4E
   slot1 = NM-4T
   E0/1 = SW1 F0/2
   E0/2 = SW2 F0/2
   S1/1 = R3 S1/1
   S1/2 = R4 S1/2
[[Router R3]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3003
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-4E
   slot1 = NM-4T
   S1/0 = R4 S1/0
   E0/1 = SW1 F0/3
   E0/2 = SW2 F0/3
[[Router R4]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3004
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-4E
   slot1 = NM-4T
   E0/1 = SW1 F0/4
   E0/2 = SW2 F0/4
[[Router SW1]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3005
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-16ESW
   F0/13 = SW2 F0/13
   F0/14 = SW2 F0/14
   F0/15 = SW3 F0/1
   F0/5 = pc1 E0/0
   F0/6 = pc2 E0/0
[[Router SW2]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3006
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-16ESW
   F0/15 = SW3 F0/2
   F0/5 = pc3 E0/0
   F0/6 = pc4 E0/0
[[Router SW3]]
   image=..\ios\c3640-jk9o3s-mz.123-22.bin
   model=3640
   console=3007
   confreg = 0x2142
   ram=96
   exec_area = 64
   mmap = False
   slot0 = NM-16ESW
[[Router pc1]]
   image=..\ios\unzip-c3620-i-mz.122-37.bin
   model=3620
   console=3008
   confreg = 0x2142
   ram=32
   slot0 = NM-1E
[[Router pc2]]
   image=..\ios\unzip-c3620-i-mz.122-37.bin
   model=3620
   console=3009
   confreg = 0x2142
   ram=32
   slot0 = NM-1E
[[Router pc3]]
   image=..\ios\unzip-c3620-i-mz.122-37.bin
   model=3620
   console=3010
   confreg = 0x2142
   ram=32
   slot0 = NM-1E
[[Router pc4]]
   image=..\ios\unzip-c3620-i-mz.122-37.bin
   model=3620
   console=3011
   confreg = 0x2142
   ram=32
   slot0 = NM-1E

配置文件
R1
Building configuration...
Current configuration : 1156 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
ip audit po max-events 100
ipv6 unicast-routing
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
no ip address
ipv6 address 2006:AAAA::1/64
!
interface Loopback1
no ip address
ipv6 address 2006:BBBB::1/64
!
interface Ethernet0/0
no ip address
shutdown
half-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Serial1/0
no ip address
ipv6 address 2007:CCCC::1/64
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
ip classless
!         
!
ipv6 route 2008:DDDD::/64 Serial1/0
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end


R2
Building configuration...
Current configuration : 1098 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
ip audit po max-events 100
ipv6 unicast-routing
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
no ip address
ipv6 address 2008:DDDD::2/64
!
interface Ethernet0/0
no ip address
shutdown
half-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Serial1/0
no ip address
ipv6 address 2007:CCCC::2/64
serial restart-delay 0
clock rate 128000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
ip classless
!
!
ipv6 route ::/0 Serial1/0
!         
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end


实验验证
R1
R1#show ipv6 interface
Serial1/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::CE00:2FF:FED8:0
  Global unicast address(es):
    2007:CCCC::1, subnet is 2007:CCCC::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:1
    FF02::1:FFD8:0
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.
Loopback0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::CE00:2FF:FED8:0
  Global unicast address(es):
    2006:AAAA::1, subnet is 2006:AAAA::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:1
    FF02::1:FFD8:0
  MTU is 1514 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is not supported
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.
Loopback1 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::CE00:2FF:FED8:0
  Global unicast address(es):
    2006:BBBB::1, subnet is 2006:BBBB::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:1
    FF02::1:FFD8:0
  MTU is 1514 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is not supported
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.

R2
R2#show ipv6 interface
Serial1/0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::CE01:2FF:FED8:0
  Global unicast address(es):
    2007:CCCC::2, subnet is 2007:CCCC::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:2
    FF02::1:FFD8:0
  MTU is 1500 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is enabled, number of DAD attempts: 1
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.
Loopback0 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::CE01:2FF:FED8:0
  Global unicast address(es):
    2008:DDDD::2, subnet is 2008:DDDD::/64
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF00:2
    FF02::1:FFD8:0
  MTU is 1514 bytes
  ICMP error messages limited to one every 100 milliseconds
  ICMP redirects are enabled
  ND DAD is not supported
  ND reachable time is 30000 milliseconds
  Hosts use stateless autoconfig for addresses.

ping验证
R1#ping 2008:DDDD::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2008:DDDD::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/27/52 ms

R2# ping 2006:AAAA::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2006:AAAA::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/27/40 ms
R2# ping 2006:BBBB::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2006:BBBB::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/13/20 ms
阅读(2547) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~