날짜: 03-10-2025 11:14 AM
Hello
I am configuring a DHCP pool to use a Cisco 2960 switch as a DHCP server.
If the device IP of the 2960 switch and the IP range used for the DHCP pool are different, routing functionality is required.
Since the 2960 is an L2 switch, I understand that an IP helper address must be used to forward DHCP requests to an L3 device.
Is this correct?
There is a Nexus device installed above the 2960 switch.
In this case, where should the helper address be configured?
Additionally, when configuring the DHCP server, why are the connected device ports set as access ports?
Would it not work if they were set to trunk mode?
I have reviewed related materials, but I do not fully understand the reasoning.
해결되었습니다! 솔루션으로 이동.
날짜: 03-10-2025 02:29 PM
Hello @sh-door
Since the Nexus switch is the L3 device, the ip helper-address should be configured on the SVI of that Nexus that corresponds to the vlan where the DHCP clients exist.
C2960 is an L2 switch, it can not perform routing.
Also, access ports are used for end devices because typical client devices (PCs, phones, printers) do not send VLAN-tagged frames. An access port ensures that the connected device is placed in the correct vlan without requiring any vlan awareness from the device. If the port were set to trunk mode, the DHCP request might not reach the DHCP server correctly because untagged frames could be dropped or placed into an unintended VLAN. Trunk mode is only necesary when a device needs access to multiple VLANs, such as another switch, an AP, or a server running multiple services on different VLANs...
날짜: 03-10-2025 02:29 PM
Hello @sh-door
Since the Nexus switch is the L3 device, the ip helper-address should be configured on the SVI of that Nexus that corresponds to the vlan where the DHCP clients exist.
C2960 is an L2 switch, it can not perform routing.
Also, access ports are used for end devices because typical client devices (PCs, phones, printers) do not send VLAN-tagged frames. An access port ensures that the connected device is placed in the correct vlan without requiring any vlan awareness from the device. If the port were set to trunk mode, the DHCP request might not reach the DHCP server correctly because untagged frames could be dropped or placed into an unintended VLAN. Trunk mode is only necesary when a device needs access to multiple VLANs, such as another switch, an AP, or a server running multiple services on different VLANs...
새로운 아이디어를 발견하고 저장하세요. 전문가 답변, 단계별 가이드, 최근 주제 등 다양한 내용을 확인해 보세요.
처음이신가요? 아래 팁들을 확인해 보세요. 시스코 커뮤니티 사용하기 새 멤버 가이드