Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

 
sunilkumar19
Occasional Advisor

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

we have created 4 vlans in the switch i want to bind one particular mac address to one specific IP for one vlan which is not in DHCP range.

Please help me...Thanks id advance.

 

 

5 REPLIES 5
Highlighted
GuruP
Valued Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Creating a dhcp-server static-bind pool in 2920 : and enabling dhcp-server in that vlan should bind IP-to-MAC , config below

dhcp-server pool "test"
   lease infinite
   static-bind ip 192.168.100.10 255.255.255.0 mac 001871-80b914
   exit

vlan 1
   name "DEFAULT_VLAN"
   no untagged 1/1
   untagged 1/2-1/48,2/1-2/48
   ip address 192.168.100.2 255.255.255.0
   dhcp-server
   exit

 

Hope this helps!

 

Highlighted
sunilkumar19
Occasional Advisor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Thanks For your reply.

when i ran the first line commane getting below message ?


DHCP server should be disabled before changing the configuration.

Do i really need to disable the DHCP pool before changing the confguration.

 

 

Highlighted
GuruP
Valued Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Yes, If the DHCP-server is running then it needs to be disabled before making any changes in DHCP. To check the DHCP server status:->

HP-Stack-2920# sh dhcp-server

 Configuration and Status - DHCP Server

  DHCP Server Enabled       : No 
  DHCPv4 Operational Status : Disabled     
  Traps Enabled             : Yes
  Persistent Lease Database : No   
  Conflict Logging Enabled  : No 
  DHCP VLAN Interfaces      :          

HP-Stack-2920#

Highlighted
sunilkumar19
Occasional Advisor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Getting below error while trying the bind command.

Cannot configure static bind address when network address or range is configured.

can someone help on this?

 

Highlighted
Natunoemi
Occasional Visitor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

I have the same issue, can anyone help please?

static-bind ip 192.168.114.225 255.255.255.0 mac aabbcc-112233
Cannot configure static bind address when network address or range is configured.

 

this is my dhcp config

dhcp-server pool "MGMT"
default-router "192.168.114.1"
dns-server "192.168.0.3,192.168.0.4"
domain-name "test.local"
network 192.168.114.0 255.255.255.0
range 192.168.114.100 192.168.114.200
exit