I recently got my Raspberry Pi 2 acting as a NAT'ed access point using hostapd, dnsmasq, iptables.
After reboot the wired interface (eth0) profile with static IP is automatically loaded using netctl, however the wifi interface (wlan0) profile with static IP results in error.
Only until manually issuing $this->bbcode_second_pass_code('', 'ip addr add 192.168.2.1/24 broadcast 192.168.2.255 dev wlan0') does the wlan0 interface come up and the access point works.
/etc/netctl/ethernet-static
$this->bbcode_second_pass_code('', '
Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('192.168.1.11/24' '192.168.1.87/24')
Gateway='192.168.1.1'
')
/etc/netctl/wireless-wpa-static
$this->bbcode_second_pass_code('', '
Description='A simple WPA encrypted wireless connection using a static IP'
Interface=wlan0
Connection=wireless
Security=wpa
ESSID='MYWIFINAME'
Key='MYPASSWORD'
IP=static
Address='192.168.2.1/24'
Gateway='192.168.1.1'
# Uncomment this if your ssid is hidden
#Hidden=yes
')
/etc/hostapd/hostapd.conf
$this->bbcode_second_pass_code('', '
ssid=MYWIFINAME
wpa_passphrase=MYPASSWORD
interface=wlan0
auth_algs=3
channel=7
driver=rtl871xdrv
hw_mode=g
logger_stdout=-1
logger_stdout_level=2
max_num_sta=5
rsn_pairwise=CCMP
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
')
/etc/dnsmasq.conf
$this->bbcode_second_pass_code('', '
no-resolv
interface=wlan0
dhcp-range=192.168.2.200,192.168.2.210,12h
server=208.67.222.222
server=208.67.220.220
log-queries
log-dhcp')