10-30-2009 10:49 AM - edited 03-06-2019 08:24 AM
Hello
I have two Vlan (Data 10 and voice 20) configured in my Catalyst switch.
Ip phones are conected to the Catalyst and workstations are connected to the Ip phones , every device receive the correct Ip address .
Now , I should add a new data Vlan (30) and I want to:
Ip phones gets Ip address from Vlan 20
Some Workstations gets Ip address from Vlan 10
Some workstations gets Ip address from Vlna 30
*All workstations shoud be connected to Ip phones.
Thanks in advance.
Solved! Go to Solution.
10-30-2009 01:18 PM
Rodrigo,
Okay, That was an old style configuration. You are mixing something in your configuration. (grin) The opration of the port is Trunk because of a "swi mo trunk" command. No need to have "switch port access vlan 20" there. Okay, go to the point,you just change the native vlan to what you want users to be in.
HTH,
Toshi
10-30-2009 12:22 PM
Rodrigo,
You just do the same way you did before.
- Add a new vlan on the switch you mentioned.
- Add a vlan interface for vlan 30. Including ip helper command on it (if needed).
- Create a new dhcp pool for vlan 30 on the device.
- Modify access vlan for users to be either on vlan 20 or 30.
F.e.
!
int g1/0/1
switchport access vlan 30
switchport mode access
switchport voice vlan 20
!
HTH,
Toshi
10-30-2009 12:56 PM
Thanks for the answer.
It sounds easy ,..
I didn't do the switch config .When I saw runn config for an specific port I could see :
switchport access vlan 20
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
switchport voice vlan 20
So I thought that the trunk port sent tagged packets for the Ip phone and untaged for workstations so I wondered if I shoulded change the native Vlan depending of what worksation is connected. Do you know what I mean?
10-30-2009 01:18 PM
Rodrigo,
Okay, That was an old style configuration. You are mixing something in your configuration. (grin) The opration of the port is Trunk because of a "swi mo trunk" command. No need to have "switch port access vlan 20" there. Okay, go to the point,you just change the native vlan to what you want users to be in.
HTH,
Toshi
11-01-2009 06:04 AM
Hi.
One thing to note: Toshi's reply assumes that the IP Phones are Cisco IP Phones. Then it is correct that you only need this:
switchport mode access
switchport access vlan 30
switchport voice vlan 20
If the IP Phones are of another make, your config looks right and then you will have to make VLAN30 the native VLAN for those interfaces where you want to have VLAN30 as data vlan, as you mention.
HTH, Ingolf
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide