Skip to content

Instantly share code, notes, and snippets.

@atomspring
Last active September 13, 2023 19:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save atomspring/fb4401edf4c534808a2e4d5f3279bab6 to your computer and use it in GitHub Desktop.
Save atomspring/fb4401edf4c534808a2e4d5f3279bab6 to your computer and use it in GitHub Desktop.
Aerohive AP230 wireless client bridge

AP230 Wireless Client Bridge Setup

This is a quick guide to setting up your AP230 as a wireless client bridge, allowing any devices plugged in via eth0 to communicate with the network of the connected SSID. Note that this config uses NAT, and I cannot figure out how to set a static IP for the "WAN" interface, so DHCP it is.

Setup steps

  1. Connect a console cable to to the "console" port (or do step two, SSH into the address which appears on your network)
  2. After providing power to the AP (either with PoE or 12v/1a connector), hold the reset button for 30s (or login and execute reset config bootstrap, reset config)
  3. Default login: admin:aerohive
  4. Basic Administravia:
No capwap client enable
Ntp enable
Ntp server us.pool.ntp.org
Console timeout 0
Clock time-zone -7
admin root-admin <desired admin username> password <long password>
Console page 50
Config version 1
  1. DNS Stuff
dns server-ip 1.1.1.1 
dns server-ip 1.0.0.1 second 
  1. Radio stuff
Radio profile radio_client
Radio profile radio_client acsp use-last-selection
Radio profile radio_client frameburst
Radio profile radio_client short-preamble
Radio profile radio_client short-guard-interval
Radio profile radio_client phymode 11ng

Interface wifi0 radio tx-power-control auto
Interface wifi0 mode wan-client
Interface wifi0 radio profile radio_client

Interface wifi1 sensor

client-mode ssid <desired_SSID_to_connect_to> passphrase ascii <WPA2 key of SSID to connect to>
client-mode ssid <desired_SSID_to_connect_to> priority 17

Interface eth0 mode bridge-access
Interface eth0 mac-learning enable
  1. LAN Interface setup
interface mgt0 ip 10.20.30.1/24
Interface mgt0 vlan 1
Interface mgt0 native-vlan 1
interface mgt0 default-ip-prefix 10.20.30.0/24
no interface mgt0 dhcp client

interface mgt0 dhcp-server options dns1 1.1.1.1
interface mgt0 dhcp-server options dns2 9.9.9.9
interface mgt0 dhcp-server ip-pool 10.20.30.30 10.20.30.35
interface mgt0 dhcp-server enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment