cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
447
Views
5
Helpful
3
Replies

Multi-vrf DHCP: giaddr and egress interface are set incorrectly

cisco_eng_1
Level 1
Level 1

Hello, we have the following:

Cisco IOS XE Software, Version 16.12.04
Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.4, RELEASE SOFTWARE (fc5)

 

1. dhcp client + switch a + vrf a using helper ip  source loopback b from vrf b >>>>REQUEST>>>>> dhcp server in vrf b 

                                                              

2. dhcp client + switch a + vrf a using source loopback b from vrf b <<<<OFFER<<<<< dhcp server in vrf b

 

3. Relay is successful and offer is received at loopback b but giaddr and egress interface are set incorrectly

 

Can anyone help?

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @cisco_eng_1 ,

 

Try setting the VPN information in option 82 using the following command.

 

ip dhcp relay information option vpn

 

You will also need to match that additional information on the DHCP server side.

 

With IOS as the DHCP server, you would do the following:

 

ip dhcp pool test
vrf A

 

But I am not sure what is your DHCP server.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

3 Replies 3

...

Hello

Post config of switch please


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Harold Ritter
Cisco Employee
Cisco Employee

Hi @cisco_eng_1 ,

 

Try setting the VPN information in option 82 using the following command.

 

ip dhcp relay information option vpn

 

You will also need to match that additional information on the DHCP server side.

 

With IOS as the DHCP server, you would do the following:

 

ip dhcp pool test
vrf A

 

But I am not sure what is your DHCP server.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking products for a $25 gift card