Re: DHCP Address Allocation Using Option 82

From: nowy1981 <freemaxis_at_gmail.com>
Date: Wed, 13 May 2009 12:04:26 +0200

Hi!

Any thoughts for this?

nowy1981 pisze:
>
> Hi GS
>
> Im testing DHCP Address Allocation Using Option 82 and unfortunately
> router does not want to assigne IP address from the pool based on the
> Option 82. To all packets option 82 is inserted by SW2, SW 4 has clear
> config.
> With both DHCP class configuration server always assigned IP based on
> the POOL, not pool R6 that should be assigned to client.
>
> My question, based on my inputs what is wrong, I guess tha HEX value is
> wrong configured.
>
> Do you have any thoughts?
>
>
> I have following topology
>
> R6 --- gi1/0/6 SW2 --- SW4 ---fa0/4---R4
>
> R4 is DHCP server
> R6 is a client with ip address dhcp
>
> R4 config
>
> ip dhcp relay information trust-all
> ip dhcp excluded-address 155.1.146.1 155.1.146.10
> !
> ip dhcp pool R6
> class CLASS
> address range 155.1.146.106 155.1.146.106
> !
> ip dhcp pool POOL
> network 155.1.146.0 255.255.255.0
> !
> ip dhcp class CLASS
> relay agent information
> relay-information hex 0107524f55544552360209010753574954434832
> !
>
> interface FastEthernet0/0
> mac-address 0000.4444.4444
> ip address 204.12.1.4 255.255.255.0
>
> This is what R4 receives
>
> 07E3CC40: 00000000 00000000 00000000 00000000 ................
> 07E3CC50: 00000000 00000000 00000000 00000000 ................
> 07E3CC60: 00000000 00000000 00000000 00000000 ................
> 07E3CC70: 00000000 00000000 00000000 00000000 ................
> 07E3CC80: 63825363 35010339 0204803D 1F006369 c.Sc5..9...=..ci
> 07E3CC90: 73636F2D 30303030 2E363636 362E3636 sco-0000.6666.66
> 07E3CCA0: 36362D46 61302F30 2E313436 36049B01 66-Fa0/0.1466...
> 07E3CCB0: 92043204 9B019210 33040001 51800C02 ..2.....3...Q...
> 07E3CCC0: 52363708 01060F2C 0321962B 52160109 R67....,.!.+R...
> 07E3CCD0: 0107524F 55544552 36020901 07535749 ..ROUTER6....SWI
> 07E3CCE0: 54434832 FF TCH2.
>
> with second option Ive configured class like below
>
>
> ip dhcp class CLASS
> relay agent information
> relay-information hex
> 63825363350103390204803d1f00636973636f2d303030302e363636362e363636362d4661302f302e31343636049b01920432049b0192103304000151800c025236370801060f2c0321962b521601090107524f55544552360209010753574954434832
>
>
>
> SW2
>
> ip dhcp snooping vlan 146
> ip dhcp snooping information option format remote-id string SWITCH2
> ip dhcp snooping
>
> interface GigabitEthernet1/0/6
> switchport trunk encapsulation dot1q
> switchport trunk allowed vlan 67,146
> switchport mode trunk
> ip dhcp snooping vlan 146 information option format-type circuit-id
> string ROUTER6
>
> interface GigabitEthernet1/0/21
> descr TO-SW4
> switchport mode dynamic desirable
> ip dhcp snooping trust

Blogs and organic groups at http://www.ccie.net
Received on Wed May 13 2009 - 12:04:26 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:42 ART