cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1805
Views
11
Helpful
8
Replies

DHCP over L3 MPLS VPN

how to configure a L3 MPLS VPN over which DHCP should get accessed. I have created L3 MPLS VPN between 2 locations. In locaton "A" DHCP server is located and at Location "B" DHCP client is located. As per the requirement client host should get the ip address from the DHCP server.

I configured the PE router which is at client side as DHCP Relay agent but no result. the main problem is i don't know the trouble shooting commands using which i can come to know where the problem is exactly.

I don't have proper material also for the entire configuration and trouble shooting....

if any body have the configuration plz provide me....

Regards,

RAj

8 Replies 8

n.nandrekar
Level 4
Level 4

hi!

How did you configure relay on the PE. Did you configure it for VRF?

Look at the following link for details of how to configure :

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftdhmpls.html

Please rate the post if helpful.

Regards,

Niranjan

Hi Niranjan,

Thanks for your document, but this document shows only how to configure can you plz provide any document which shows how to trouble shoot..

Just for testing sake i connected both DHCP Server and the client to the same PE router.

i kept both server and client in the same vrf and configured the helper address in the interface facing towards client.

when i enaled debug in PE as well as DHCP server,what i noticed is client is sending the DHCP request but from the debug information of DHCP server there is no hit of DHCP request.

plz find below mentioend debug info of PE router..

Jun 7 07:49:06.915: DHCPD: table id 66 = vrf Dhcp_HYD

*Jun 7 07:49:06.915: DHCPD: Selected subnet=1.1.1.0

*Jun 7 07:49:06.915: DHCPD: Server-id-override=1.1.1.1

*Jun 7 07:49:06.915: DHCPD: giaddr changed to 192.168.3.2

*Jun 7 07:49:07.759: DHCPD: Sending notification of DISCOVER:

*Jun 7 07:49:07.759: DHCPD: htype 1 chaddr 0011.5c32.7ec0

*Jun 7 07:49:07.759: DHCPD: remote id 020a0000c0a80201f7000000

*Jun 7 07:49:07.759: DHCPD: circuit id ffffffff

configuration :

dhcp relay information option vpn

ip vrf Dhcp_HYD

rd 10201:307

route-target export 10201:307

route-target import 10201:307

interface GigabitEthernet1/29

description ### DHCP SERVER PORT ###

ip vrf forwarding Dhcp_HYD

ip address 192.168.3.2 255.255.255.0

interface FastEthernet2/1

description ### TESTING ###

ip vrf forwarding Dhcp_HYD

ip address 1.1.1.1 255.255.255.252

ip helper-address 192.168.3.1

DHCP SERVER IP ADDRESS : 192.168.3.1

hi!

Under int fa2/1, can you try the command as,

# ip helper-address vrf Dhcp_HYD 192.168.3.1

I think that without the vrf option the helper address might be looked up in the global table. Not very sure. The config doc provides with this detail.

I am sorry but i dont have an troubleshooting doc for this specific feature. I guess you will have to apply regular DHCP / mplsvpn toroubleshooting skills to find the problem.

Verify through counters / span of whether the request is forwarded to the server thru gi1/29, and what are the addresses set in that.

Regards,

Niranjan

Hi,

The 'vrf VRF-A' after the ip helper-address disappears if its the same VRF as the interface is.

But the command syntax is correct. it should be

!

interface Ethernet1

ip vrf forwarding VRF-A

ip address 1.2.3.4 255.255.255.0

ip helper-address 192.1.1.2

!

for example..

Hi Niranjan,

As kjarri said, The 'vrf after the ip helper-address disappears if its the same VRF as the interface is.

Regards,

RAj

Ok. So were you able to troubleshoot as per my earlier post to see at which point it is failing. Whether the request is sent to the server, whether the server is responding and if the response is getting dropped, the ip addresses in the request response... if they are as expected?

Regards, Niranjan

Hi Niranjan,

DHCP Server is not receiving Discover messages

there is no debug information generated in DHCP server as it is not even receivn the hit of DHCP request....

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftdhmpls.html

more over i noticed from cisco document ( link is mentioned above) that 7606 Router platform will not support DHCP relay agent over MPLS VPN.. pls put ur comments on this..

Regards,

RAjesh.M

hi Raj!

DHCP Relay Agent - MPLS vpn support is not present in the 7600 / 6500 series. You wont be able to use this feature on these devices if you are planning to do so.

The link you mentioned doesnot show these devices under supported platforms and I also checked in the feature navigator.

Regards,

Niranjan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: