So I think everything is configured right on my edgeswitch and ERL. I do see macs both ways on vlan 30 but for some reason my device (smarthings) is not getting a ip from dhcp. What am I missing?
(UBNT EdgeSwitch) #show mac-addr-table vlan 30
MAC Address Interface Status
----------------- ----------------------- ------------
24:FD:5B:00:11:07 0/10 Learned
80:2A:A8:4D:52:EB 0/24 Learned
interface 0/10
description 'Samsung Smarthings'
spanning-tree edgeport
no spanning-tree port mode
switchport mode access
switchport access vlan 30
exit
interface 0/24
description 'Uplink to ERL'
no spanning-tree port mode
switchport mode trunk
switchport trunk allowed vlan 1,30
exit
ERL:~$ show interfaces ethernet eth1.30 brief
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth1.30 10.0.30.1/24 u/u IOT
ERL:~$ show configuration commands | match .30
set interfaces ethernet eth1 vif 30 address 10.0.30.1/24
set interfaces ethernet eth1 vif 30 description IOT
set service dhcp-server shared-network-name IOT subnet 10.0.30.0/24 default-router 10.0.30.1
set service dhcp-server shared-network-name IOT subnet 10.0.30.0/24 dns-server 10.0.30.1
set service dhcp-server shared-network-name IOT subnet 10.0.30.0/24 lease 86400
set service dhcp-server shared-network-name IOT subnet 10.0.30.0/24 start 10.0.30.2 stop 10.0.30.254
set service dns forwarding listen-on eth1.30
ERL:~$ show dhcp leases pool IOT
IP address Hardware Address Lease expiration Pool Client Name
---------- ---------------- ---------------- ---- -----------