Dhcp client and vlan id

Hi, i’m using an interface eth5 as trunk port for 2 vlans, vlan100 with id 100 and vlan200 with.. id 200 :slight_smile: Untag is done using switch chip vlan feature(eth1,eth2 and eth3 untag for vlan100 and eth4 untag for vlan200), how can i bind the dhcp client on untagged vlan100 for example since on vlan100 i have the dhcp server

Be sure that the vlan also goes to CPU as tagged, then add a VLAN interface to the switch master port, and put IP address and DHCP on the VLAN interface.

Thanks, i have tried this before without any luck
Here is what i have done using ether2 as the untag port for vlan100

/interface ethernet switch print
Flags: I - invalid 
 #   NAME      TYPE            MIRROR-SOURCE    MIRROR-TARGET    SWI
 0   switch1   Atheros-8327    none             none            
 1   switch2   Atheros-8227    none             none



/interface ethernet switch port print
Flags: I - invalid 
 #   NAME                  SWITCH                  VLAN-MODE VLAN-HEADER    DEFAULT-VLAN-ID
 3   ether2       switch1                 secure    always-strip               100
 4   ether4_PPPOE_TEST   switch1                 secure    always-strip               200
 5   ether5_TRUNK 	     switch1                 fallback  leave-as-is               auto
11   switch1-cpu           switch1                 fallback  leave-as-is               auto
12   switch2-cpu           switch2                 disabled  leave-as-is                  0



/interface ethernet switch vlan print
Flags: X - disabled, I - invalid 
 #   SWITCH                                              VLAN-ID PORTS                                            
 0   switch1                                                 100 ether2                                   
                                                                 ether5_TRUNK                           
                                                                 switch1-cpu                                      
 1   switch1                                                 200 ether4_PPPOE_TEST                               
                                                                 ether5_TRUNK



/interface vlan print
Flags: X - disabled, R - running, S - slave 
 #    NAME                                                               MTU ARP        VLAN-ID INTERFACE                                                                                                                
 3    vlan100                                                           1500 enabled        100 ether2



 /ip dhcp-client print
Flags: X - disabled, I - invalid 
 #   INTERFACE                                                                                       USE-PEER-DNS ADD-DEFAULT-ROUTE STATUS        ADDRESS           
 2   vlan100                                                                                         no           no                searching...

Any ideas why this isn’t working? Thanks.