Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Voice & Data vLan set-up assistance sought

Status
Not open for further replies.

pea123

Technical User
Aug 26, 2009
380
Hie to you all.

Need help with a scenario were PCs connect to the back of IP phones. The phones in turn plug into Cisco 2960 switches.
Want to create a Voice vLan (vlan 20 <10.10.20.0/24>) for the phones & a Data vLan (vlan 2 <10.10.2.0/24>)for the PCs.

The 3300’s DHCP is enable & also have a Windows DHCP enabled. I also have a router for inter vlan switching.
I have seen some closely similar posts on how to achieve this but they don’t quite nail it.

Could you please help me with full details on the switch & router configs for this situation.
Will be taking ccna certification in 3 months & this will give me a good practice.

Thank you.
 
Not a 100% sure how to do this in Cisco world but I will explain in HP world see if it gets you in the right track. FYI CCNA will not help with this because they don't really get into vlans at the CCNA level. The way I would do this while having both handing out DHCP is to program my switches accordingly. Lets say I have a 24 port switch and i'm using 22 of those ports for pcs and phones.
I would untag vlan 2 on ports 1-22 and tag vlan 20 1-22 and also tag it for voice. Then I would untagg vlan 2 on port 23 and plug this into my windows network. Then I would untagg vlan 20 on port 24 and plug this into my Mitel. This is a very quick setup, so in my switch I would do...
#config
#vlan 2
#name Data
#untag 1-23
#vlan 20
#name Voice
#tag 1-22
#untag 24
#voice
#wr mem

Very Simple HP config of course you could go into a lot more detail but this would get you going in the right direction.
 
You will need DHCP helper on VLAN 2 to point you IP phones to VLAN 20 also unless you plan to use CDP
 
The IP Phone and the CISCO switch can communicate via CDP during boot up. This enables the IP phones to auto boot onto VLAN 20 by issuing this command on the interface:

Switch2960>en
Switch2960#config t
Switch2960(config)#interface fa0/X or this: interface range fa0/X - Y (ie fa0/1 - 10)
Switch2960(config-if)#switchport mode access
Switch2960(config-if)#switchport access vlan 2
Switch2960(config-if)#switchport voice vlan 20

Name your VLANs using these commands
Switch2960(config)#vlan 2
Switch2960(config-vlan)#name DATA
Switch2960(config-vlan)#vlan 20
Switch2960(config-vlan)#name MITELVOICE

Assuming your MS DHCP server is connected to a port that is dedicated only to VLAN 2 (switchport mode access, switchport access vlan 2), connect the 3300 to a port that is dedicated only to VLAN 20 (switchport mode access, switchport access vlan 20).

If you have access to MoL, read TB 12-5191-00261. It has important information about how the IP Phones handle VLAN tagging.

Configuring intra-vlan ROUTING is another topic all together. Short version:
1. Configure an 802.1Q trunk port on the switch, connected it to the router interface
2. Configure sub-interfaces on the router, assign the IP address of the default gateway (DHCP option 3) for each subnet to the sub-interface.
 
Follow BRiBob's method. You won't be sorry.

Star worthy details

**********************************************
What's most important is that you realise ... There is no spoon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top