Address allocation not working correctly

Corley, Kenneth L (Kenny) corley at alcatel-lucent.com
Wed May 7 00:32:25 UTC 2008


Eric,

The Extreme has the following DHCP relay config:

enable bootprelay
configure bootprelay add 10.100.0.2  (10.100.0.2 is the DHCP server)
configure ip-down-vlan-action forward 

I did notice when looking at the DHCP DISCOVER from Set Top Box going
from the Extreme to the DHCP server that the bootp flag - relay agent IP
address - is set to 10.6.0.1.  I assume this is why the DHCP server is
allocating from the 10.6.0.x subnet?  But I have deny statements for the
Set Top box class in the data or 10.6.0.x scope.  

Would you happen to know how to configure the Extreme to send 10.5.0.1
in relay agent field of DISCOVER for STBs and send 10.6.0.1 in relay
agent field of DISCOVER for anything other than STBs (ie. PCs/laptops)?

Appreciate your comments.

Thanks.


--------------------------------
Kenny Corley
Alcatel-Lucent
Technical Sales Engineer
US Strategic Accounts
Office: 972-442-2404
Cell: 214-906-7822
E-Mail: corley at alcatel-lucent.com

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Eric Helm
Sent: Tuesday, May 06, 2008 7:17 PM
To: dhcp-users at isc.org
Subject: Re: Address allocation not working correctly



Corley, Kenneth L (Kenny) wrote:
> The VLANs from the client-side of the network are different for the 
> 10.5.0.0 and 10.6.0.0 subnets and are trunked to an Extreme router.
The
> DHCP server is directly connected to the Extreme.   Could it be a
> problem with DHCP relay in the router (Extreme) or something?  Here's 
> the VLAN definitions on the Extreme:
> 
> # Config information for VLAN test video.
> configure vlan "test" tag 64     # VLAN-ID=0x40  Global Tag 7
> configure vlan "test" protocol "ANY"
> configure vlan "test" qosprofile "QP1" 
> configure vlan "test" qosprofile ingress none configure vlan "test" 
> ipaddress 10.5.0.1 255.255.255.0 configure vlan "test" add port 2:2 
> tagged
> 
> # Config information for VLAN test data.
> configure vlan "testdata" tag 65     # VLAN-ID=0x41  Global Tag 11
> configure vlan "testdata" protocol "ANY"
> configure vlan "testdata" qosprofile "QP1" 
> configure vlan "testdata" qosprofile ingress none configure vlan 
> "testdata" ipaddress 10.6.0.1 255.255.255.0 configure vlan "testdata" 
> add port 2:2 tagged
> 
> How does the DHCP server typically know which subnet to allocate 
> addresses from?

giaddr

> 
> Here are the class definitions you requested...
> 
> -----------------------------------------------------------
> #-- ADB Class defines
> #-----------------------------------------------------------
> 
> # -----------------------------------------------------------
> # -- 3800W LOADER -------------------------------------------
> # -----------------------------------------------------------
> class "adb3800W-bootloader" {
>   match if (substring (option vendor-class-identifier, 0, 11) = 
> "minerva3800");
> 
>     option accp_conf 239,1,2,5,17,193,10; }
> 
> # -----------------------------------------------------------
> # -- 3800W HLCODE -- #
> # -----------------------------------------------------------
> class "adb3800W-hlcode" {
>   match if substring (option vendor-class-identifier, 0, 24) = 
> "udhcp_MRV2X_1_3800W(ADB)";
> 
>   # ------- Minerva boot string --------
>   option option-minerva_bootstring "-bm=0 -ip=10.100.0.165:7780 
> -eip=10.100.0.165:8500 -asr=/dataservices -nnvb=0 -stbm=adb"; }
> 
> #-----------------------------------------------------------
> #-- 5810WX LOADER ------------------------------------------
> #-----------------------------------------------------------
> class "adb5810WX-bootloader" {
>   match if substring (option vendor-class-identifier, 0, 13) = 
> "minerva5810wx";
> 
>     option accp_conf 239,58,10,5,17,193,10; }
> 
> # -----------------------------------------------------------
> # -- 5810WX HLCODE --
> # -----------------------------------------------------------
> class "adb5810WX-hlcode" {
>   match if (substring (option vendor-class-identifier, 0, 24) = "udhcp
> 1.2.2 (ADB 1.2.20)") or 
>            (substring (option vendor-class-identifier, 0, 25) = 
> "udhcp_MRV2X_1_5810WX(ADB)");
>   
>   # ------- Minerva boot string --------
>   option option-minerva_bootstring "-bm=0 -ip=10.100.0.165:7780 
> -eip=10.100.0.165:8500 -asr=/dataservices -nnvb=0 -stbm=adb"; }
> 

Without seeing the DHCP Relay portion of the Extreme config, I suspect 
if the classes are not working, then the Extreme is not configured to 
keep the existing DHCP Option 82 information and either replacing Option

82 with its own bit of information or dropping the Option 82 info before

it relays the packet. The default relay policy is replace.

Use the following command for Extreme XOS:
configure bootprelay dhcp-agent information policy keep


/Eric



More information about the dhcp-users mailing list