Hi all,
Our users have two types of devices. We need to distribute different options to different devices. That is, when user 1 and user 2 access the network through the same BAS interface, domain, and IP address pool, can the following conditions be met?
Option 42 is transmitted to user 1; Option 43 is not transmitted to user 1.
Option 43 is transmitted to user 2; Option 42 is not transmitted to user 2.
The configuration is follows:
#
ip pool test bas local
gateway xx.xx.xx.xx 255.255.255.248
section 0 xx.xx.xx.xx xx.xx.xx.xx
dns-server xx.xx.xx.xx
lease 0 0 10
option 42 ip xx.xx.xx.xx
option 43 hex 01 xx xx xx xx xx xx xx xx xx xx
option force-reply 42 43
frame-ip lease manage
#
ip pool-group dhcp-pool-static bas
ip-pool dhcp-pool-static
#
domain test
authentication-scheme radius
accounting-scheme radius
radius-server group radius
ip-pool dhcp-pool-static
dns primary-ip xx.xx.xx.xx
dns second-ip xx.xx.xx.xx
user-group group-policy-internet
quota-out online
#
interface Eth-Trunk11.32
statistic enable
user-vlan 210 qinq 1996
remote-backup-profile xx
bas
#
access-type layer2-subscriber default-domain test
client-option82
option-61 hardware-type 0
option82-relay-mode include allvalue
dhcp lease-proxy renew-packet through-time 5
authentication-method bind
arp-proxy
user detect retransmit 3 interval 30
dhcp reply trust broadcast-flag
#