cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
590
Views
0
Helpful
1
Replies

vlans and routing

isaaco001
Level 3
Level 3

Dear Community, I have created vlan 2 for data and voice.The switch is the dhcp server for data and the router dns-server. I need to create a separate vlan for voice only with separate dhcp server for voice on the switch.Is this possible?If yes, what do i need to configure for this setup to work.Examples will be really helpful in my case.Please find the running configs for the router and switch.NOTE:OPEN WITH NOTEPAD ++ Thanks.

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

voice and data port should be connected one interface like below to save port space connect pc to phone then to port

Just examples to go by

create vlans

vlan 10

name data

vlan 2

name voice

set ports

interface x/x

switch access vlan 10

switchport voice vlan 2

spanning-tree portfast

spanning-tree bpduguard enable

On your router if there L3 ports you need to use sub-interfaces as your vlan breakouts as i dont see a switching module for a trunk so router side will be sub-ints switch side trunk

see this doc for clear example

http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/336-cisco-router-8021q-router-stick.html

DHCP

you already have 1 pool just create another one , one for each subnet then your gateway will be the sub-interface for each vlan from the doc above

dont use the router as DNS server wont work well , use google in your dhcp pool or another actual dns server

Let me know if you get stuck

View solution in original post

1 Reply 1

Mark Malone
VIP Alumni
VIP Alumni

voice and data port should be connected one interface like below to save port space connect pc to phone then to port

Just examples to go by

create vlans

vlan 10

name data

vlan 2

name voice

set ports

interface x/x

switch access vlan 10

switchport voice vlan 2

spanning-tree portfast

spanning-tree bpduguard enable

On your router if there L3 ports you need to use sub-interfaces as your vlan breakouts as i dont see a switching module for a trunk so router side will be sub-ints switch side trunk

see this doc for clear example

http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/336-cisco-router-8021q-router-stick.html

DHCP

you already have 1 pool just create another one , one for each subnet then your gateway will be the sub-interface for each vlan from the doc above

dont use the router as DNS server wont work well , use google in your dhcp pool or another actual dns server

Let me know if you get stuck