beautypg.com

Inter-vrf route leaking and dhcp relay – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 615

background image

5. Navigate to the source VRF address family context for configuring static route leak.

switch(config)# rbridge-id 1

switch(conf-rbridge-id-1)# vrf Red

switch(conf-vrf-Red)# address-family ipv4 max-route

6. Configure the route leak for a network (using the IP address and subnet mask), by mentioning the

destination next-hop VRF name and the next hop in the destination VRF.

switch(vrf-ipv4)# ip route 10.55.2.0/24 next-hop-vrf Green 10.55.1.1

7. For bidirectional route leak traffic, configure a route leak from VRF "Green" to VRF "Red".

Inter-VRF route leaking and DHCP relay

In a DHCP relay setting, route leaking is controlled through a single DHCP server (which may be on a
different VRF); this permits multiple VRFs to communicate with that server, something that would
normally be not permitted. DHCP Relay deployments in a data center can use Inter-VRF route leaking
to achieve server consolidation; this permits clients in multiple VRFs to communicate with a single
DHCP server in a different VRF (normally this is not permitted as VRFs provide route/traffic isolation).

The illustration below shows four VRFs, with three of them connecting to the fourth for DHCP services.
For more information on working with DHCP IP Relay, refer to

Configuring IP DHCP Relay

on page

651.

FIGURE 71 Inter-VRF route leak example for connecting clients to a DHCP server in a different VRF.

The following example shows setting up Inter-VRF route leaking and DHCP between the red VRF and
the blue VRF.

1. Set up the VRF forwarding.

switch(config)# interface ve 100

switch(conf-ve-100)# no shutdown

switch(conf-ve-100)# vrf forwarding red

<- interface is in vrf "red" ->

switch(conf-ve-100)# ip address 10.1.1.1/24

switch(conf-ve-100)# ip dhcp relay address 20.1.1.2 use-vrf blue

<- server is in vrf "blue" ->

2. Configure the leaked route on vrf red.

switch(config) rbridge-id 1

switch(conf-rbridge-id-1)# vrf red

switch(conf-vrf-red)# address-family ipv4 max-route

switch(vrf-ipv4)#ip route 20.1.1.2/32 next-hop-vrf blue 20.2.1.2

Inter-VRF route leaking and DHCP relay

Network OS Administrator’s Guide

615

53-1003225-04