从设备上看好像是从1开始累加
vlan接口
Vlan-interface1
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54af
Vlan-interface2
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54b0
Vlan-interface3
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54b1
Vlan-interface10
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54b8
Vlan-interface4094
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cc
三层聚合口
Route-Aggregation1
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cd
Route-Aggregation2
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cd
光口
Ten-GigabitEthernet1/0/49
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cd
Ten-GigabitEthernet1/0/50
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cd
Ten-GigabitEthernet1/0/51
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-5500
Ten-GigabitEthernet1/0/52
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-5501
电口
GigabitEthernet1/0/1
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54ce
GigabitEthernet1/0/2
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54cf
GigabitEthernet1/0/3
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54d0
GigabitEthernet1/0/4
IP packet frame type: Ethernet II, hardware address: 5098-b8b3-54d1
二层聚合口
Bridge-Aggregation1
IP packet frame type: Ethernet II, hardware address: 600b-038a-a395
Bridge-Aggregation2
IP packet frame type: Ethernet II, hardware address: 600b-038a-a395
似乎有点规律,但到底是如何生成的呢?前缀是写死在设备里的?后面依次累加?这样设计的目的是什么呢?
(0)
最佳答案
前缀都是一样的,接口MAC是按顺序加1,逻辑口MAC都是一样的MAC。
(0)
vlan虚接口的mac也是全球唯一的吗?这样一台交换机就要消耗至少4094个mac地址。
所有的vlan虚接口mac都是相同的,全球唯一。解决请采纳
vlan虚接口的mac相同?这样不怕冲突吗?而且我上面贴出来的结果看mac是递增的
为何会冲突,同一个网段的MAC不冲突就可以了,不同虚接口是不同网段的
评论不能附加图片,我要发挥下杠精精神了。入网如下:
GW配置
vlan 10
vlan 20
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
interface Vlan-interface20
ip address 192.168.20.1 255.255.255.0
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 20
SW1 和SW2都是没开启STP的空配置交换机,这种情况下PC4和5都能ping通网关,延迟还很稳定,这是一种不太合理但是又可以偷懒的组网结构。
--- Ping statistics for 192.168.10.1 --- 1000 packet(s) transmitted, 1000 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.000/1.618/6.000/0.617 ms
--- Ping statistics for 192.168.20.1 --- 1000 packet(s) transmitted, 1000 packet(s) received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.000/2.599/15.000/0.860 ms
但是此时 SW1上的mac地址:
<H3C>dis mac-address
MAC Address VLAN ID State Port/Nickname Aging
3651-5f37-0102 1 Learned GE1/0/1 Y
3651-8d8b-0406 1 Learned GE1/0/3 Y
3651-8f49-0506 1 Learned GE1/0/4 Y
<H3C>dis mac-address
MAC Address VLAN ID State Port/Nickname Aging
3651-5f37-0102 1 Learned GE1/0/2 Y
3651-8d8b-0406 1 Learned GE1/0/3 Y
3651-8f49-0506 1 Learned GE1/0/4 Y
mac地址表一直在频繁刷新,只能说设备真强大。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
为何会冲突,同一个网段的MAC不冲突就可以了,不同虚接口是不同网段的