Address allocation not working correctly

Eric Helm helmwork at ruraltel.net
Wed May 7 00:17:18 UTC 2008



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