IPv6无状态自动配置与OSPFv3配置

1.网络拓扑图
链接:https://pan.baidu.com/s/19VFXNMRqTT252qs1OchTZA
提取码:8888
eNSP
链接:https://pan.baidu.com/s/1wP0vHim4yqVV0bc0wmzhFw
提取码:8888
在这里插入图片描述

2.网络需求
实现PC地址自动配置,在路由器上部署OSPFv3实现PC间通信
3.配置
[Switch-vlanif10] ipv6 address 2001::FFFF 64 #配置接口的IPv6全局单播地址
[Switch-vlanif10] undo ipv6 nd ra halt #激活vlanif10的RA路由器通告消息,也就
是取消RA的抑制。取消之后交换机的vlanif10将开始周期性的发送RA消息

注意:
非windows终端设备大多采用EUI-64的标准生成接口标识符,XP以及之前的Windwos版本也遵循这个标准,但是Vista、Win7等系统则默认不在遵循这个标准,而是使用一个算法随机产生一个接口标识符,这个接口标识符将用于网卡的IPv6地址自动配置
使用如下命令可以关闭这个特性:netsh interface ipv6 set global randomizeidentifiers=disabled

3.1、R1的配置
display current-configuration
[V200R003C00]

sysname R1

snmp-agent local-engineid 800007DB03000000000000
snmp-agent

clock timezone China-Standard-Time minus 08:00:00

portal local-server load portalpage.zip

drop illegal-mac alarm

ipv6

set cpu-usage threshold 80 restore 75

aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher % % K8m.Nt84DZ}e#<0`8bmE3Uw}% %
local-user admin service-type http

ospfv3 1

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001::FFFF/64
undo ipv6 nd ra halt
ospfv3 1 area 0.0.0.0

interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2002::1/64
ospfv3 1 area 0.0.0.0

interface GigabitEthernet0/0/2

interface NULL0

user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20

wlan ac

return
3.2、R2的配置
display current-configuration
[V200R003C00]

sysname R1

snmp-agent local-engineid 800007DB03000000000000
snmp-agent

clock timezone China-Standard-Time minus 08:00:00

portal local-server load portalpage.zip

drop illegal-mac alarm

ipv6

set cpu-usage threshold 80 restore 75

aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher % % K8m.Nt84DZ}e#<0`8bmE3Uw}% %
local-user admin service-type http

ospfv3 1

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2002::2/64
ospfv3 1 area 0.0.0.0

interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2003::FFFF/64
undo ipv6 nd ra halt
ospfv3 1 area 0.0.0.0

interface GigabitEthernet0/0/2

interface NULL0

ipv6 route-static 2001:: 64 2002::1

user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20

wlan ac

return

猜你喜欢

转载自blog.csdn.net/qq_41235506/article/details/109694766