• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

S5560-54S-EI vlanif问题

2024-08-19提问
  • 0关注
  • 0收藏,114浏览
粉丝:0人 关注:2人

问题描述:

 

现在需要使用ipv6 与路由器互联,不能影响原ipv4,核心这边需要怎么做

进vlanif100配置一个ipv6的地址吗?

不知道vlanif能不能配置多个IP哦

 

 

S5560-54S-EI 两台堆叠作为核心交换机,核心这么与路由器互联的:

 

1、创建vlan100:

vlan 100

 description TO_RT

 

2、配置管理vlan的vlanif

 

interface vlan-interface100

 ip address 192.168.100.2 255.255.255.0

 

3、创建链路聚合组

interface Bridge-Aggregation999

 port access vlan 100

 link-aggregation mode dynamic

 

1、两个47端口加入vlan100、加入链路聚合组20

interface GigabitEthernet1/0/47

 port link-mode bridge

 port access vlan 100

 port link-aggregation group 20        

 

interface GigabitEthernet2/0/47

 port link-mode bridge

 port access vlan 100

 port link-aggregation group 20

 

路由表:

Destination/Mask   Proto   Pre Cost        NextHop         Interface

0.0.0.0/0          Static  60  0           192.168.100.1   Vlan100

... ... 

 

现在需要使用ipv6 与路由器互联,不能影响原ipv4,核心这边需要怎么做呢?进vlanif100配置一个ipv6的地址吗?不知道vlanif能不能配置多个IP哦

 

组网及组网描述:

核心交换机上已存在的ipv6地址池:

 

 

 ipv6 dhcp pool 1

 network fc00:1003:1005::/64

 dns-server 

 gateway-list  fc00:1003:1005::1

 

 interface Vlan-interface25

 ipv6 dhcp select server

 ipv6 address fc00:1003:1005::1/64

 ipv6 nd autoconfig managed-address-flag

 ipv6 nd autoconfig other-flag

 undo ipv6 nd ra halt

 

有一台胖ap,接在了核心的vlan24,ap的配置是:

[WA4620i-ACN]display current-configuration  

#

 version 5.20, Release 1508P03

#

 sysname WA4620i-ACN

#

 domain default enable system

#

 ipv6

#

 telnet server enable

#

 undo wlan-client-isolation enable

#

 port-security enable

#

 password-recovery enable

#

 undo attack-defense tcp fragment enable

#

vlan 1

#

vlan 24

#

domain system   

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

dhcp server ip-pool ipv6pool

#

user-group system

 group-attribute allow-guest

#

local-user admin

 password cipher $c$3$T/chYu8DJsOyL/UmqAmYUwYBLBZR7dkqduuS2vI=

 authorization-attribute level 3

 service-type telnet

 service-type web

#

wlan rrm

 dot11a mandatory-rate 6 12 24

 dot11a supported-rate 9 18 36 48 54

 dot11b mandatory-sate 1 2

 dot11b supported-rate 5.5 11

 dot11g mandatory-rate 1 2 5.5 11

 dot11g supported-rate 6 9 12 18 24 36 48 54

#               

wlan service-template 1 clear

 ssid service1

#

wlan service-template 2 crypto

 ssid h3c-ipv6

 cipher-suite tkip

 cipher-suite ccmp

 security-ie rsn

 security-ie wpa

 gtk-rekey client-offline enable

 fast-association enable

 service-template enable

#

interface NULL0

#

interface Vlan-interface1

 ip address 192.168.0.50 255.255.255.0

#

interface Vlan-interface24

 undo ipv6 nd ra halt

 ipv6 address dhcp-alloc

#

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

#

interface GigabitEthernet1/0/2

 description ith

 port link-type trunk

 port trunk permit vlan all

#

interface WLAN-BSS1

 port access vlan 24

#

interface WLAN-BSS32

 port link-type hybrid

 port hybrid vlan 1 untagged

 port hybrid pvid vlan 24

 qos trust dot11e

#

interface WLAN-BSS33

 port link-type hybrid

 port hybrid vlan 1 untagged

 port hybrid pvid vlan 24

 qos trust dot11e

#               

interface WLAN-BSS34

 port link-type hybrid

 port hybrid vlan 1 24 untagged

 port hybrid pvid vlan 24

 port-security port-mode psk

 port-security tx-key-type 11key

 port-security preshared-key pass-phrase cipher $c$3$U9akTY5hNJaFoniK8X+VWsmnSYdq5NpG1RshgA==

#

interface WLAN-BSS35

 port link-type hybrid

 port hybrid vlan 1 24 untagged

 port hybrid pvid vlan 24

 port-security port-mode psk

 port-security tx-key-type 11key

 port-security preshared-key pass-phrase cipher $c$3$U9akTY5hNJaFoniK8X+VWsmnSYdq5NpG1RshgA==

#

interface WLAN-Radio1/0/1

 service-template 2 interface wlan-bss 34

#

interface WLAN-Radio1/0/2

 radio-type dot11g

 channel 6

 service-template 1 interface wlan-bss 33

 service-template 2 interface wlan-bss 35

#

 undo info-center enable

#

 dhcp enable

#

 arp-snooping enable

#

 load xml-configuration

#

user-interface con 0

user-interface vty 0 4

 authentication-mode scheme

#

return

[WA4620i-ACN] 

[WA4620i-ACN]

[WA4620i-ACN]sa fo

[WA4620i-ACN]sa force .......

 Configuration is saved to device successfully.

[WA4620i-ACN]dis cu

[WA4620i-ACN]dis current-configuration 

#

 version 5.20, Release 1508P03

#

 sysname WA4620i-ACN

#

 domain default enable system

#

 ipv6

#

 telnet server enable

#

 undo wlan-client-isolation enable

#

 port-security enable

#

 password-recovery enable

#

 undo attack-defense tcp fragment enable

#

vlan 1

#

vlan 24

#

domain system   

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

dhcp server ip-pool ipv6pool

#

user-group system

 group-attribute allow-guest

#

local-user admin

 password cipher $c$3$T/chYu8DJsOyL/UmqAmYUwYBLBZR7dkqduuS2vI=

 authorization-attribute level 3

 service-type telnet

 service-type web

#

wlan rrm

 dot11a mandatory-rate 6 12 24

 dot11a supported-rate 9 18 36 48 54

 dot11b mandatory-rate 1 2

 dot11b supported-rate 5.5 11

 dot11g mandatory-rate 1 2 5.5 11

 dot11g supported-rate 6 9 12 18 24 36 48 54

#

wlan service-template 1 clear

 ssid service1

#

wlan service-template 2 crypto

 ssid h3c-ipv6

 cipher-suite tkip

 cipher-suite ccmp

 security-ie rsn

 security-ie wpa

 gtk-rekey client-offline enable

 fast-association enable

 service-template enable

#

interface NULL0

#

interface Vlan-interface1

 ip address 192.168.0.50 255.255.255.0

#

interface Vlan-interface24

 undo ipv6 nd ra halt

 ipv6 address dhcp-alloc

#               

interface GigabitEthernet1/0/1

 port link-type trunk

 port trunk permit vlan all

#

interface GigabitEthernet1/0/2

 description ith

 port link-type trunk

 port trunk permit vlan all

#

interface WLAN-BSS1

 port access vlan 24

#

interface WLAN-BSS32

 port link-type hybrid

 port hybrid vlan 1 untagged

 port hybrid pvid vlan 24

 qos trust dot11e

#

interface WLAN-BSS33

 port link-type hybrid

 port hybrid vlan 1 untagged

 port hybrid pvid vlan 24

 qos trust dot11e

#

interface WLAN-BSS34

 port link-type hybrid

 port hybrid vlan 1 24 untagged

 port hybrid pvid vlan 24

 port-security port-mode psk

 port-security tx-key-type 11key

 port-security preshared-key pass-phrase cipher 

#

interface WLAN-BSS35

 port link-type hybrid

 port hybrid vlan 1 24 untagged

 port hybrid pvid vlqn 24

 port-security port-moee psk

 port-security tx-key-type 11key

 port-security preshared-key pass-phrase cipher 

#

interface WLAN-Radio1/0/1

 service-template 2 interface wlan-bss 34

#

interface WLAN-Radio1/0/2

 radio-type dot11g

 channel 6      

 service-template 1 interface wlan-bss 33

 service-template 2 interface wlan-bss 35

#

 undo info-center enable

#

 dhcp enable

#

 arp-snooping enable

#

 load xml-configuration

#

user-interface con 0

user-interface vty 0 4

 authentication-mode scheme

#

return

[WA4620i-ACN]                                     qu

[WA4620i-ACN]quit 

 

 

胖ap就是做二层使用的,手机与胖ap可以得到来自核心的地址

1 个回答
已采纳
粉丝:226人 关注:1人

双栈

ipv4保持不动

ipv6重新配置一遍


请问下可以这样配置吗:核心:int vlan 100 ipv6 address FC00:1002:1005::/64 eui-64 路由器:ipv6 address FC00:1002:1004::/64 eui-64 谢谢

zhiliao_z8EprJ 发表时间:2024-08-19

FC地址就不要用了,配置全球单播地址

叫我靓仔 发表时间:5天前

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明