DHCP option 78 for IdentiFi APs

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi.

If a customer has 2 controllers in HA mode connected to S4 and wishes to delegate the DHCP services for the APs at the S4, if he wants to use option 78 in order to tell the APs what are the controllers IP address (2 IP addresses), what is the CLI command regarding option 78 at the S4 under dhcp pool?

Let's say the controllers IP addresses are 10.113.5.5 and 10.113.5.6. Must the values be entered in hex?...

Or, since the controllers data port and APs are in the same VLAN/subnet (same broadcast domain - 10.113.5.0/24), it is better to use the controllers data port DHCP server capabilities in order to assign IPs to the APs (allowing AP registration in the data port, of course)?

Thanks in advance.
Photo of Tavares, Goncalo

Tavares, Goncalo, Employee

  • 330 Points 250 badge 2x thumb

Posted 5 years ago

  • 0
  • 1
Photo of Jason Parker

Jason Parker, Employee

  • 3,038 Points 3k badge 2x thumb
To start, I am providing option 78

--Option 78 broken down...
                                   Dec to Hex
You have to do 01 then each value broken out... c0=192 -- a8=168 -- 2e=46 -- 03=3
  option 78 instance 0 hex 01c0a82e03  

-Config that we used on a S to be a DHCPserver

S3 Chassis(su)->show run

!configure terminal
 interface vlan.0.196
  ip address 10.58.196.241 255.255.255.0 primary
  ip dhcp server
  no shutdown
  exit
!
# Static routes configured on routed interfaces
 ip route 0.0.0.0/0 10.26.196.1 interface vlan.0.196 1
!
 ip dhcp send-all-options
 ip local pool Extremenetworks 10.58.196.0 255.255.255.0
  exclude 10.58.196.1 20
  exclude 10.58.196.241 1
 exit
 ip dhcp pool Extremenetworks

  bootfile dhcpboot
  domain-name Extremenetworks.com
  lease 100 0 0
  option 78 instance 0 hex 01c0a82e03 
  default-router 10.58.196.241

  dns-server 1.1.1.1
 exit

Jason






Photo of David Gibb

David Gibb

  • 174 Points 100 badge 2x thumb
Hey guys, sorry to revive a year old thread, but do you know if this same approach would be used on an extreme XOS switch?  Doing some research about setting up the x460 switch as a dhcp server for some APs and came across this thread.  I see the user guides show the setup for windows server and using the byte code/array option and couldn't figure out how to map that to XOS.  Hoping I can just use HEX as you've described above?
Photo of David Gibb

David Gibb

  • 174 Points 100 badge 2x thumb
Thank you sir!
Photo of Jason

Jason, Employee

  • 3,608 Points 3k badge 2x thumb
Goncalo, 

I believe the CLI command would be similar to this below, and in hex. 

option 78 instance 0 hex <ip address in hex> 

This is taken from a test config from a S3, but I believe the syntax would be the same:

S3 Chassis(su)->show run
!configure terminal
 interface vlan.0.196
  ip address 10.58.196.241 255.255.255.0 primary
  ip dhcp server
  no shutdown
  exit
!
# Static routes configured on routed interfaces
 ip route 0.0.0.0/0 10.26.196.1 interface vlan.0.196 1
!
 ip dhcp send-all-options
 ip local pool ap 10.58.196.0 255.255.255.0
  exclude 10.58.196.1 20
  exclude 10.58.196.241 1
 exit
 ip dhcp pool ap

  bootfile dhcpboot
  domain-name test.com
  lease 100 0 0
  option 78 instance 0 hex 01c0a82e03  
  option 72 ip 10.1.1.1
  default-router 10.58.196.241

  dns-server 1.1.1.1
 exit

Thanks, 
Jason

Photo of Jason

Jason, Employee

  • 3,608 Points 3k badge 2x thumb
I should have "refreshed" -  Thanks Jason!