01-20-2016 07:11 PM - edited 03-08-2019 03:29 AM
Hi,
I have DCHP server configured on Cisco 6506-E switch with supervision module VS-SUP2T-10G. It will only provide DHCP to the clients in the specified VRF. I had do some research at the forum and found that below config need to add as part of work around for this. But unluckily the highlight command was not allow to configure in the switch.The running IOS version is s2t54-adventerprisek9_npe-mz.SPA.150-1.SY2.bin. Is it the IOS not support DHCP per VRF?Anyone was facing this issue before? thanks.
vrf example
rd 100:0
!
ip dhcp use vrf connected
!
ip dhcp pool pool1
network 192.168.1.0 255.255.255.0
default-router 192.168.2.5
dns-server 4.2.2.2
vrf example
thanks
Cguy
01-20-2016 07:55 PM
Hi,
ip dhcp use vrf connected is not supported on IOS versions for the 6500 or 6800 series.
HTH
01-20-2016 08:04 PM
Hi Reza
Thanks on your prompt reply. Since it is not support, do you have any idea to achieve the DHCP per VRF in Cisco 6500 or 6800 series?
thanks
Cguy
01-20-2016 08:15 PM
Hi Cguy,
You are trying to use "DHCP pool" per vrf is that right?
If yes, I am not sure if there is way to do this on the 6500.
One way to do this is not to use the switch as DHCP server and use an external device (server) as a DHCP server and just add helper address to the vlan to point to the external server.
(ip helper address <server ip>)
and also add the SVI for that vlan to a vrf.
HTH
01-20-2016 11:03 PM
Hi Reza
Yes, I am trying to use DHCP pool per vrf in switch. Thanks on your suggestion.
BR
Cguy
01-21-2016 09:26 AM
Can you show us the multiple DHCP pool/network statements for each of the VLAN's?
Remember each vrf needs its own DHCP pool definition and parameters. Only those with matching information are going to get DHCP leases.
01-21-2016 06:33 PM
hi pwwiddicombe,
The dhcp pool and vlan interface configuration as below. But the vrf clients not able to get DHCP lease.
vrf test1
rd 100:0
!
ip dhcp pool test1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 4.2.2.2
!
interface vlan 100
ip address 192.168.1.1 255.255.255.0
ip vrf forwarding test1
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