09-21-2017 06:43 AM - edited 03-08-2019 12:07 PM
Hell all
i'm so sorry, i'm not so good in english
but i have a picture about my network
and i don't know how to config sg500 dhcp and fix ip look like my the picture
please, help me please
Thank you all
09-21-2017 07:10 AM
Hi there,
Do you want clients on VLAN15 to be served DHCP from the SG500 and VLANs 10 and 20 to use static reservations from DHCP server?
cheers,
Seb.
09-21-2017 04:32 PM
Yes, all clients that have dhcp and fix ip on network
and all clients connect on only 1 switch
thank you all
09-22-2017 12:12 AM
OK, by your diagram, switch-2 at the top switch-1 at the bottom, try this config:
SWITCH-2
Set it to router mode:
set system mode router
reload
Then this config
! vlan 10 vlan 15 vlan 20 ! ip dhcp relay enable ip dhcp relay address 192.168.1.254 ! int vlan 1 ip address 192.168.1.1 ! int vlan 10 ip address 192.168.10.1 ! int vlan 15 ip address 192.168.15.1 ! int vlan 20 ip address 192.168.20.1 ! ! int gi2 description SWITCH-1 switchport mode trunk switchport trunk vlan allowed vlan add 10,15,20 ! int gi15 description DHCP_SERVER switchport mode access switchport access vlan 1 spanning-tree portfast !
SWITCH-1
! vlan 10 vlan 15 vlan 20 ! int gi1 description SWITCH-2 switchport mode trunk switchport trunk vlan allowed vlan add 10,15,20 !
For each connect PC, you will need to specify the VLAN ID:
! int giXX switchport mode access switchport access vlan <VLAN_ID> spanning-tree portfast !
Then you will need to define the DHCP scopes on your DHCP server. Collect the MAC address of the devices on VLANs 10 and 20 and confgure the static assignments on the DHCP server.
cheers,
Seb.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide