>Ну тогда вот это на интерфейсе подойдет:
> ip dhcp relay information option subscriber-id subscriber45
> ip dhcp relay information option-insert У меня 2851, пытаюсь сделать тоже самое.
На интерфейсе ставлю ip dhcp relay information option subscriber-id vlan95
Команды ip dhcp relay information option-insert не обнаружилось (ios 12.4(13r)T)
В логи циска пишет:
Oct 19 15:14:33 192.168.1.8 615826: Oct 19 04:14:33.769: DHCPD: Sending notification of DISCOVER:
Oct 19 15:14:33 192.168.1.8 615827: Oct 19 04:14:33.769: DHCPD: htype 1 chaddr 0090.f52c.da5a
Oct 19 15:14:33 192.168.1.8 615828: Oct 19 04:14:33.769: DHCPD: remote id 020a00000a0101fe0000005f
Oct 19 15:14:33 192.168.1.8 615829: Oct 19 04:14:33.769: DHCPD: circuit id 00000000
Oct 19 15:14:33 192.168.1.8 615830: Oct 19 04:14:33.769: DHCPD: Seeing if there is an internally specified pool class:
Oct 19 15:14:33 192.168.1.8 615831: Oct 19 04:14:33.769: DHCPD: htype 1 chaddr 0090.f52c.da5a
Oct 19 15:14:33 192.168.1.8 615832: Oct 19 04:14:33.769: DHCPD: remote id 020a00000a0101fe0000005f
Oct 19 15:14:33 192.168.1.8 615833: Oct 19 04:14:33.769: DHCPD: circuit id 00000000
Oct 19 15:14:33 192.168.1.8 615834: Oct 19 04:14:33.769: DHCPD: Adding binding to hash tree
Oct 19 15:14:33 192.168.1.8 615835: Oct 19 04:14:33.769: DHCPD: relay binding created for client 0100.90f5.2cda.5a.
Oct 19 15:14:34 192.168.1.8 615836: Oct 19 04:14:33.769: DHCPD: Keeping state for received DHCPDISCOVER, from UNNUM-IF
Oct 19 15:14:34 192.168.1.8 615837: Oct 19 04:14:33.769: DHCPD: setting giaddr to 10.1.1.254.
Oct 19 15:14:34 192.168.1.8 615838: Oct 19 04:14:33.769: DHCPD: adding relay information option.
Oct 19 15:14:34 192.168.1.8 615839: Oct 19 04:14:33.773: DHCPD: BOOTREQUEST from 0100.90f5.2cda.5a forwarded to
Однако, на сервер пакет приходит вот в таком виде:
BOOTP/DHCP, Request from 00:90:f5:2c:da:5a, length 318, hops 1, xid 0xaa6be8a1, secs 768, Flags [none]
Gateway-IP 10.1.1.254
Client-Ethernet-Address 00:90:f5:2c:da:5a
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
NOAUTO Option 116, length 1: Y
Client-ID Option 61, length 7: ether 00:90:f5:2c:da:5a
Hostname Option 12, length 9: "grfmobile"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 11:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Vendor-Option Option 43, length 2: 220.0
Agent-Information Option 82, length 22:
Unknown SubOption 2, length 12:
0x0000: 020a 0000 0a01 01fe 0000 005f
Unknown SubOption 6, length 6:
0x0000: 766c 616e 3935
Т.е. опция 82 вроде бы есть, но suboption не опознаются как circuit-id и т.д.
Хотя suboption 6, по всей видимости, содержит тот самы subscriber-id
Куда копать, кто подскажет?