cancel
Showing results for 
Search instead for 
Did you mean: 

Data and Voice Vlan

delphin_t
New Contributor II
I have a two windows 2016 dhcp server  One for voice (172.16.0.0/24) and one for data (10.10.8.0/21) vlan. Phone and a PC on the same port. Can you pleas help me to 
1. Configure Vlan(Data and Voice)
2. Once i connect phone automatically pick IP from voice dhcp and PC will pick IP from Data dhcp
3. trunk between two switch (ICX7150-48ZP-E2X10G)
Thank you.
6 REPLIES 6

david_ellis_h2n
New Contributor II
basic layer 2 configuration:

using e 1/2/1 as an uplink and e 1/1/1 to 1/1/22 as PC/Phone ports. Ports 1/1/23 to 1/1/24 are for the two DHCP servers. 1/1/23 - Data and 1/1/24 - Voice.

vlan 10 name data
tagged e 1/1/1 to 1/1/22 e 1/2/1
untagged e 1/1/23
!
vlan 20 name voice
tagged e 1/1/1 to 1/1/22 e 1/2/1
untagged e 1/1/24
!
interface e 1/1/1 to 1/1/22
port-name Connection_to_PC/Phone
dual-mode 10
!
interface e 1/1/23
port-name Connection_to_Data_DHCP
!
interface e 1/1/24
port-name Connection_to_Voice_DHCP
!
interface e 1/2/1
port-name Uplink_Connection

Thanks for your update. unfortunately it didn't work.

SW 1:

interface ethernet 1/1/2 = Data DHCP Server (10.10.8.0/21)
interface ethernet 1/1/4 = Voice DHCP Server (172.16.0.0/24)
interface ethernet 1/1/6 = FreePBX
interface ethernet 1/1/8 = AD Server
interface ethernet 1/1/10 = Fil Server

interface ethernet 1/1/13 to 1/1/46 = SIP phone and PC
interface ethernet 1/2/6 = trunk to SW 3
interface ethernet 1/2/8 = trunk to SW 2

SW 2:

interface ethernet 1/1/1 to 1/1/46 = SIP phone and PC
nterface ethernet 1/2/2 = trunk to SW 1
interface ethernet 1/2/4 = trunk to SW 3

SW 3:

interface ethernet 1/1/1 to 1/1/46 = SIP phone and PC
nterface ethernet 1/2/2 = trunk to SW 2
interface ethernet 1/2/4 = trunk to SW 1
Image_ images_messages_5f91c469135b77e247a6f666_2a53480f351a8461d74242734beba71f_RackMultipart201803111206781u1-04f4c9ec-df8e-4b73-aca2-620dad82a6f1-89594601.jpg1520754209

david_chavarri1
Moderator
Moderator

I would like to add for best practice configuration and ensure voice traffic works correctly:





vlan 130 name FreePbx_Uplink by port


 tagged ethe 1/1/48


!


vlan 133 name Data by port


 tagged ethe 1/1/48


!


vlan 136 name VOIP by port


 tagged ethe 1/1/48


!


interface ethernet 1/1/3


 port-name 6739i_aastra_phone_PC


 inline power


 voice-vlan 136


!


interface ethernet 1/1/4


 port-name Phone6867i_aastra_pc


 inline power


 voice-vlan 136


!


interface ethernet 1/1/48


 port-name Uplink_CampusMgmt_FreePBX


!


lldp med network-policy application voice tagged vlan 136 priority 5 dscp 46 ports ethe 1/1/3 to 1/1/4


lldp run


!


end


Make sure to run LLDP, and CDP (if using CISCO phones)  Also LLDP MED creates a policy to ensure priority for Voice traffic.


I hope this sample helps.


Regards.

Thanks for your update. unfortunately it didn't work.

SW 1:

interface ethernet 1/1/2 = Data DHCP Server (10.10.8.0/21)
interface ethernet 1/1/4 = Voice DHCP Server (172.16.0.0/24)
interface ethernet 1/1/6 = FreePBX
interface ethernet 1/1/8 = AD Server
interface ethernet 1/1/10 = Fil Server

interface ethernet 1/1/13 to 1/1/46 = SIP phone and PC
interface ethernet 1/2/6 = trunk to SW 3
interface ethernet 1/2/8 = trunk to SW 2

SW 2:

interface ethernet 1/1/1 to 1/1/46 = SIP phone and PC
nterface ethernet 1/2/2 = trunk to SW 1
interface ethernet 1/2/4 = trunk to SW 3

SW 3:

interface ethernet 1/1/1 to 1/1/46 = SIP phone and PC
nterface ethernet 1/2/2 = trunk to SW 2
interface ethernet 1/2/4 = trunk to SW 1