刚刚开始学习路由与交换机的配置,里面有很的东西不会,想记录下来供以后复习之用,并把它写出也供初学的朋友们参考。请高手飘过
IPV6静态路由的拓朴图如下:
一、实验的目的
1.了解静态路由的含议
2.理解IPV6编址的基本方法
3.在路由器上配置IPV6地址的方法
4.本地回环地址的配置
二、配置脚本
R1
conf t
ipv6 unicast-routing
interface f1/0
ipv6 address 2009:1212::1/64
no shutdown
interface loopback0
ipv6 address 2010:1111::1/64
interface loopback1
ipv6 address 2011:1111::1/64
exit
ipv6 route 2012:3333::/64 2009:1212::2
ipv6 route 2009:2323::/64 2009:1212::2
end
R2
conf t
ipv6 unicast-routing
interface f1/0
ipv6 address 2009:1212::2/64
no shutdown
interface f1/1
ipv6 address 2009:2323::2/64
no shutdown
exit
ipv6 route 2012:3333::/64 2009:2323::3
ipv6 route 2010:1111::/64 2009:1212::1
ipv6 route 2011:1111::/64 2009:1212::1
end
R3
conf t
ipv6 unicast-routing
interface f1/1
ipv6 address 2009:2323::3/64
no shutdown
interface loopback0
ipv6 address 2012:3333::3/64
exit
ipv6 route 2010:1111::/64 2009:2323::2
ipv6 route 2011:1111::/64 2009:2323::2
ipv6 route 2009:1212::/64 2009:2323::2
end
三、实验调试
1.show ipv6 interface
R1#sh ipv6 interface fastethernet1/0
FastEthernet1/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C80C:1AFF:FE10:1C //接口f1/0启用了IPV6,本地链路地址自动配置为FE80::C80C:1AFF:FE10:1C
Global unicast address(es):
2009:1212::1, subnet is 2009:1212::/64 //可聚合全球单播地址及子网
Joined group address(es): //加入的组播地址
FF02::1 //表示本地链路上的所有节点和路由器
FF02::2 //表示本地链路上的所有路由器
FF02::1:FF00:1 //用于替换ARP机制的被请求节点的多播地址
FF02::1:FF10:1C //与单播地址2009:1212::1相关的被请求节占多播地址
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled //启用ICMP重定向
ND DAD is enabled, number of DAD attempts: 1 //ND(邻居检测)和重复地址检测启动
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds //(邻居检测)可达时间
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
Hosts use stateless autoconfig for addresses. //使用无状态自动配置地址
2.show ipv6 route
R1#sh ipv6 route static
IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S 2009:2323::/64 [1/0]
via 2009:1212::2
S 2012:3333::/64 [1/0]
via 2009:1212::2