VoIP 交换机设置问题

网络工程 网络电话
2021-07-12 16:14:11

我有一个带有以下配置的 Brocade icx 6450。电脑直接连接到手机。

我有端口 1/1/48 进入另一个交换机,该交换机具有用于数据网络的 dhcp 服务器,而端口 1/2/1 则进入另一个具有用于 voip 网络的 dhcp 服务器的交换机。

现在 pc 的 dhcp 请求正常,但电话不工作。请告诉我我做错了什么。

global-stp
!
!
!
vlan 1 name DEFAULT-VLAN by port
!
vlan 100 name DATA_VLAN by port
 tagged ethe 1/1/1 to 1/1/45 ethe 1/1/47
 untagged ethe 1/1/48
 router-interface ve 100
 spanning-tree 802-1w
!
vlan 150 name VOIP_VLAN by port
 tagged ethe 1/1/1 to 1/1/45 ethe 1/1/47 ethe 1/2/1
 untagged ethe 1/1/46
 router-interface ve 150
 spanning-tree 802-1w
!
!
!
!
!
!
!
!
!
!
!
!
boot sys fl sec
enable telnet password .....
enable super-user-password .....
no ip forward-protocol udp dns

!
!
interface ethernet 1/1/1
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/2
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/3
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/4
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/5
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/6
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/7
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/8
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/9
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/10
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/11
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/12
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/13
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/14
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/15
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/16
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/17
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/18
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/19
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/20
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/21
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/22
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/23
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/24
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/25
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/26
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/27
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/28
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/29
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/30
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/31
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/32
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/33
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/34
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/35
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/36
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/37
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/38
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/39
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/40
 dual-mode  100
   spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/41
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/42
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 inline power
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/43
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/44
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/45
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/46
 spanning-tree 802-1w admin-edge-port
 trust dscp
!
interface ethernet 1/1/47
 dual-mode  100
 spanning-tree 802-1w admin-edge-port
 voice-vlan 150
 trust dscp
!
interface ethernet 1/1/48
 spanning-tree 802-1w admin-edge-port
 trust dscp
!
interface ethernet 1/2/1
 speed-duplex 1000-full-master
 spanning-tree 802-1w admin-pt2pt-mac
 trust dscp
!
interface ve 100
 ip helper-address 1 192.168.16.205
!
interface ve 150
 ip helper-address 1 10.50.1.1
!
!
!
!
!
end

任何的想法?

2个回答

将 IP 地址(网关)添加到ve接口。这样它就有一个源地址来路由 DHCP 请求。

IE

interface ve 100
 ip address 192.168.16.x 255.255.255.x
 ip helper-address 1 192.168.16.205
!
interface ve 150
 ip address 10.50.1.x 255.255.255.x
 ip helper-address 1 10.50.1.1
!

或您使用的任何子网。

我不特别了解 Brocade 的设备,但配置看起来很简单。

您是否使用中继 (802.1Q) 在交换机之间拥有多个 VLAN?您似乎在交换机上有多个 VLAN(150 + 默认),但在您的上行链路端口上只有默认 VLAN。

如果是这种情况并且 Brocade 自动将电话置于 VLAN 150(语音 VLAN)上,除非您使用 IP 助手,否则他们的 DHCP 请求将永远无法到达另一台交换机,在这种情况下,您似乎在你的 vlan 接口。

因此,如果您要切换到 DHCP 服务器,则会出现 VLAN 问题(缺少 802.1q),而如果路由到 DHCP 服务器,则任何接口上都没有 IP 地址,这意味着它无法发送/接收 IP 数据包(无IP接口,无IP通信)

其它你可能感兴趣的问题