Hi,
as you might know it is possible to assing a VLAN ID to IP based phones (VoIP). So when they start they request an IP address in the untagged VLAN, will get an IP together with a VLAN ID. Then they do not ACK the offered IP, instead restart a request, now with the given VLAN ID tag. The DHCP server in the VLAN now answers the request and the phone will use the IP from the correct VLAN. So basically you will need settings like this in your dhcp-server:
My UCS serves the local (untagged) VLAN and a second dhcp server serves the taggen VoIP-VLAN. The phone boots and everything works perfectly, because I have it configured a while ago.
Unfortunately I was so lame not to document what I have done and I would like to change the number of my VLAN…
So I have configured my UCS dhcp in some way to provide this information as my IP phone picks it up and runs fine. But: WHERE is it configured?
So I did:
root@ucs:/etc/dhcp# ucr dump| grep dhcpd
dhcpd/autostart: yes
dhcpd/options/voip-vlan/132: string
dhcpd/restart/listener: yes
I see I have added the option 132 as string here which means I would have to assign the VLAN ID to this option…
The dhcpd.conf got rewritten through ucr commit /etc/dhcp/dhcpd.conf and shows this option. But not more.
I checked through udm and any policies in the subnets but did not find any hint how it gets theVLAN ID.
So I’d say I am currently a little bit dumb assuming it is very easy to figure out. I just do not see it…
Please, give me a hint where I configured the VLAN ID!
Thanks a lot!
/KNEBB