10-06-2011 04:20 AM - edited 03-07-2019 02:38 AM
Hi
I have set up several VRFs in my network:
VRF Management
VRF Users
VRF Guests
In VRF management I have a DHCP server.
On the VLANs witch are member of VRF Users and Guests I have set up :
# ip helper-address vrf Management 10.1.22.10
And on the DHCP server I can see in the log that the requests from the clients come in (DHCPDISCOVER)
The DHCP server replys sending the client an address (DHCPOFFER)
But the client never gets the address.
What is wrong here?
10-06-2011 05:28 AM
Hi,
By default each vrf has a separate routing table and do not talk to each other. You have to use vrf import/export, so vrf management can talk to vrf gusts and users. So, you would need to setup something like this:
ip vrf mgmt
rd 1:1
route-target export 1:1
route-target import 1:1
route-target import 2:2
route-target import 3:3
!
ip vrf users
rd 2:2
route-target export 2:2
route-target import 2:2
route-target import 1:1
!
ip vrf gusts
rd 3:3
route-target export 3:3
route-target import 3:3
route-target import 1:1
HTH
10-06-2011 06:45 AM
Thanks Reza Sharifi
This seems to be the solution.
Is it possible to add a static route just to the DHCP server between the VRFs, so that noting alse is reachable?
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