pppoe这边拨号已经获取的ipv6的地址以及前缀(60位),而且运营商给的ipv6地址会变动,导致原本手动写的静态没法用了,由于想要内网设备都获取全球单播地址,vlan10,20网关都在sw上面,路由器和交换机之间用vlan99连接,要怎么让下面的pc获取到全球单播地址.
自己尝试了一下前缀方法,但只能使vlan99获取ipv6,别的vlan就拿不到。拓扑和配置如下
R:
ipv6 dhcp pool stateless
option-group 1
interface Dialer0
ipv6 address auto
ipv6 address auto link-local
ipv6 dhcp client pd 1 rapid-commit option-group 1
interface Vlan-interface99
ipv6 mtu 1280
ipv6 dhcp select server
ipv6 dhcp server apply pool stateless
ipv6 address 1 0:0:0:1::1/63
undo ipv6 nd ra halt
ipv6 nd autoconfig other-flag
ipv6 nd ra interval 60 10
ipv6 nd ra dns server 240C::6644 sequence 0
sw:
ipv6 dhcp pool 10
option-group 1
interface Vlan-interface99
ipv6 mtu 1280
ipv6 dhcp select server
ipv6 address 1 0:0:0:1::2/63
ipv6 address auto
ipv6 address auto link-local
ipv6 dhcp client pd 1 rapid-commit option-group 1
interface Vlan-interface10
ipv6 mtu 1280
ipv6 dhcp select server
ipv6 dhcp server apply pool 10
ipv6 address 1 0:0:0:2::1/63
ipv6 address auto
ipv6 address auto link-local
undo ipv6 nd ra halt
ipv6 nd autoconfig other-flag
ipv6 nd ra interval 60 10
ipv6 nd ra dns server 240C::6644 sequence 0
interface Vlan-interface20
ipv6 mtu 1280
ipv6 dhcp select server
ipv6 dhcp server apply pool 10
ipv6 address 1 0:0:0:3::1/63
ipv6 address auto
ipv6 address auto link-local
undo ipv6 nd ra halt
ipv6 nd autoconfig other-flag
ipv6 nd ra interval 60 10
ipv6 nd ra dns server 240C::6644 sequence 0
我看了sw的地址获取情况,只有vlan99有2408开头的,其他都是本地链路地址
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论