Grandstream GXP1628 and dnsmasq


#1

Hi,

I’m trying assign a Grandstream GXP1628 (version 1.0.4 140) with a VLAN tag via DHCP. I’m using dnsmasq as the DHCP server but can’t find a way to send option 132 to the phone so that when the phone boots it configures itself to attach to the voice VLAN (VLAN 3 in this case).

TIA


#2

I believe the GXP series phones use LLDP and not Option 132 to set VLANS. See the manual below.


#3

Thanks for guide - I’ll take a look.

As far as DHCP/VLAN goes the sample below from the dnsmasq log shows the phone is requesting option 132 form the DHCP server and server offering a response (last line)…

Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 vendor class: Grandstream dslforum.org
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 client provides name: xxxx.xxxx.xx
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 DHCPREQUEST(enp0s25) 10.0.0.28 00:0b:82:f9:14:0f
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 tags: default, ipphones, cpewan-id, enp0s25
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 DHCPACK(enp0s25) 10.0.0.28 00:0b:82:f9:14:0f extn200
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 requested options: 15:domain-name, 28:broadcast, 43:vendor-encap,
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 requested options: 125:vendor-id-encap, 132, 133
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 next server: 10.0.0.2
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 1 option: 53 message-type 5
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 54 server-identifier 10.0.0.2
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 51 lease-time 12h
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 58 T1 6h
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 59 T2 10h30m
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 1 netmask 255.255.255.192
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 28 broadcast 10.0.0.63
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 6 dns-server 10.0.0.2
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 8 option: 15 domain-name csmo.net
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 7 option: 12 hostname extn200
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 4 option: 3 router 10.0.0.1
Oct 20 08:23:21 dnsmasq-dhcp[26033]: 2909378643 sent size: 1 option:132 03