Skip to main content

4 Messages

 • 

100 Points

Thu, Mar 8, 2018 12:37 PM

Data and Voice Vlan

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.

Responses

20 Messages

 • 

290 Points

3 years ago

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

4 Messages

 • 

100 Points

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

15 Messages

 • 

226 Points

3 years ago

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.

4 Messages

 • 

100 Points

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

4 Messages

 • 

100 Points

3 years ago

20 Messages

 • 

290 Points

3 years ago

Could you be more specific on which parts are not working? Do you have an option 150 in the DHCP pool to point the phone to the PBX or are your phones statically configured? DO the PCs get an IP Address on the Data VLAN? Do the switches have basic communication between each other? If you only plug in a PC does it get an IP and work?