cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1311
Views
5
Helpful
2
Replies

IP Helper between VRFs

perpaal
Level 1
Level 1

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?

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

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

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?