# Setup DHCP for cnMatrix EX2028-P for beginner

**URL:** <https://community.cambiumnetworks.com/t/setup-dhcp-for-cnmatrix-ex2028-p-for-beginner/91250>\
**Category:** cnMatrix\
**Created:** [February 22, 2023, 11:13am UTC](https://community.cambiumnetworks.com/t/setup-dhcp-for-cnmatrix-ex2028-p-for-beginner/91250 "2023-02-22T11:13:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viet\_VU](https://d10gw3vjmzyp8.cloudfront.net/user_avatar/community.cambiumnetworks.com/viet_vu/32/27048_2.png) [@Viet\_VU](https://community.cambiumnetworks.com/u/Viet_VU)\
**Post date:** [February 22, 2023, 11:13am UTC](https://community.cambiumnetworks.com/t/setup-dhcp-for-cnmatrix-ex2028-p-for-beginner/91250/1 "2023-02-22T11:13:51Z")

</div>

Hi team.  
Maybe i questions here bit ugly cos i don’t have much knowledge about Network . Please don’t mind.

- I have 1 router Draytek 3910 . What do i want is turn off DHCP from this router and move it to EX2028P.
- I have 1 Core Switch EX2028P. I want setup DHCP server in this Switch with 2 VLAN  
192.168.1.x and 192.168.2.x

What i have tried

- Turn off DHCP on router
- Setup DHCP with VLAN 192.168.1.x & 192.168.2.x on switch
- Switch can assign IP for my devices.
- But switch can’t communicate w/ router ( mean i can’t access internet at all ).

What i know and guess is

- I need setup static IP from switch matched w/ router . For example Router will use 192.168.0.1 and switch setup static IP 192.168.0.2  
( But how to do - i don’t know yet ).

And if switch have 2 VLAN 192.168.1.x & 192.168.2.x than how can it routing to router w/ 192.168.0.1 ;

Any guide really respected .

Thank you,  
Viet VU

---

<div class="post-metadata">

**Author:** ![IT\_Admin3](https://d10gw3vjmzyp8.cloudfront.net/letter_avatar_proxy/v4/letter/i/f6c823/32.png) [@IT\_Admin3](https://community.cambiumnetworks.com/u/IT_Admin3)\
**Post date:** [March 17, 2023, 5:25pm UTC](https://community.cambiumnetworks.com/t/setup-dhcp-for-cnmatrix-ex2028-p-for-beginner/91250/2 "2023-03-17T17:25:26Z")

</div>

You have to setup routing between your VLAN 192.168.1.x, VLAN 192.168.2.x and 192.168.0.x  
And Default Gateway have to be 192.168.0.1 (your Draytek).
