10-23-2023 04:56 PM
If I use the dhcp relay setting in the secondary address setting of SVI, can I assign different addresses to different terminals to receive the data?
I have a dhcp relay setup for vlan3 with a secondary address.
I would like to have the secondary segment address received from the dhcp server and the primary segment address received, depending on the client.
I have configured ip dhcp smart-relay, but the manual says that if it does not receive dhcp discover from the primary address, it will address from the secondary address.
int vlan3
ip add 192.168.1.254 255.255.255.0
ip add 192.168.3.254 255.255.255.0 secondary
ip helper-address 192.168.4.4
!
ip dhcp smart-relay
ip dhcp prefer known-good-server
!
!
10-23-2023 06:08 PM
Not sure I understand your question, but if you’re asking to use secondary IP on vlan3 SVI as source for DHCP relay unicast message, then I don’t think so It’s possible until response from primary address results in no offer.
10-24-2023 08:50 AM
What DHCP server are you using?
Infoblox has a feature called "shared networks" which I've used when working with VLANs with primary and secondary IP Addresses. Some info on Infoblox shared networks is below
https://docs.infoblox.com/space/NAG8/22251987/Managing+DHCP+Data
hth
Andy
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