Hi.
I am having a small problem. I wish to have a DHCP server on the router and
having the DHCP scope inside a VRF.
A small configuration example:
the router:
!
ip dhcp excluded-address 10.1.1.1 10.1.1.10
!
ip dhcp pool TEST
vrf TEST
network 10.1.1.0 255.255.255.0
!
ip vrf TEST
!
!
interface FastEthernet0/0
ip vrf forwarding TEST
ip address 10.1.1.1 255.255.255.0
The problem is that the ip dhcp exluded... command does not work. The router
stills assigns ip addresses within the excluded address scope:
*Mar 1 00:16:55.717: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
*Mar 1 00:16:55.726: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,
changed state to up
*Mar 1 00:16:58.754: %DHCP-6-ADDRESS_ASSIGN: Interface Vlan1 assigned DHCP
address 10.1.1.4, mask 255.255.255.0, hostname Switch
And from the router:
R1#sh ip dhcp pool
Pool TEST :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
VRF name : TEST
Total addresses : 254
Leased addresses : 1
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
10.1.1.5 10.1.1.1 - 10.1.1.254 1
R1#sh ip vrf TEST
Name Default RD Interfaces
TEST <not set> Fa0/0
Any good ideas here?
/Martin Kiefer
Blogs and organic groups at http://www.ccie.net
Received on Thu Sep 03 2009 - 12:34:05 ART
This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 07:42:02 ART