Terminal command to check Apple router status. natutil
There is a terminal command that allows you to see some details of what your Apple router is up to.. !!
It is not hugely useful.. very little of the info is absent from the airport utility but I did discover one interesting thing.
It is also returning some mixed up or wrong info.
The command is listed here.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/ man8/natutil.8.html
or in terminal type man natutil
It took me a bit to get output from it.
But this did work.
$ natutil -v -s
Searching for Internet Gateway Devices...
2 IGDs found
Getting IGD status...ok
WAN connection details:
Connection type: Ethernet
Link status: Up
Download bps: 10000000
Upload bps: 10000000
(this is the only really useful bit to me.. I can see with pppoe the link speed to the modem which is slow).
WAN IP connection details:
Connection type: IP_Routed
Connection status: Connected
IP address: 202.6x.xx.1xx
Uptime: 2025
RSIP Available: false
NAT Enabled: true
LAN DHCP configuration:
Configurable DHCP: true
Forwarding DHCP: false
Low IP: 10.0.1.2 (This info is wrong)
High IP: 10.0.1.200 (This info is wrong)
Netmask: 255.255.255.0
DNS domain: (unknown)
Getting IGD status...ok
WAN connection details:
Connection type: Ethernet
Link status: Down
Download bps: 0
Upload bps: 0
WAN IP connection details:
Connection type: IP_Bridged
Connection status: Disconnected
IP address: 192.168.2.109
Uptime: 336564
RSIP Available: false
NAT Enabled: false
LAN DHCP configuration:
Configurable DHCP: true
Forwarding DHCP: false
Low IP: 10.0.1.2 (This info is wrong)
High IP: 10.0.1.200 (This info is wrong)
Netmask: 255.255.255.0
DNS domain: (unknown)
The wrong info is interesting.. because it actually implies some of the things are hard coded and why people have issues.. maybe.
You can alter the output to get XML and you do get a tiny bit more info.
natutil -vx -s
Searching for Internet Gateway Devices...
2 IGDs found
Getting IGD status...ok
WAN connection details:
Connection type: Ethernet
Link status: Up
Download bps: 10000000
Upload bps: 10000000
WAN IP connection details:
Connection type: IP_Routed
Connection status: Connected
IP address: 202.xxx.xx.xxx
Uptime: 2404
RSIP Available: false
NAT Enabled: true
LAN DHCP configuration:
Configurable DHCP: true
Forwarding DHCP: false
Low IP: 10.0.1.2
High IP: 10.0.1.200
Netmask: 255.255.255.0
DNS domain: (unknown)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>status</key>
<dict>
<key>lan</key>
<dict>
<key>dhcpConfigurable</key>
<true/>
<key>dhcpForwarding</key>
<false/>
<key>ipRange</key>
<dict>
<key>high</key>
<string>10.0.1.200</string>
<key>low</key>
<string>10.0.1.2</string>
</dict>
<key>netMask</key>
<string>255.255.255.0</string>
</dict>
<key>ssid</key>
<string>TC24ghz</string>
<key>usb</key>
<dict>
<key>usbFlags</key>
<integer>1104</integer>
</dict>
<key>wan</key>
<dict>
<key>DNSServers</key>
<array>
<string>203.24.100.125</string>
<string>202.76.170.40</string>
</array>
<key>connection</key>
<string>Ethernet</string>
<key>domain</key>
<string></string>
<key>downSpeed</key>
<integer>10000000</integer>
<key>ipAddress</key>
<string>202.xx.xx.xx</string>
<key>ipConnection</key>
<string>IP_Routed</string>
<key>ipLink</key>
<string>Connected</string>
<key>link</key>
<string>Up</string>
<key>nat</key>
<true/>
<key>rsip</key>
<false/>
<key>upSpeed</key>
<integer>10000000</integer>
<key>uptime</key>
<integer>2404</integer>
</dict>
</dict>
</dict>
</plist>
Getting IGD status...ok
WAN connection details:
Connection type: Ethernet
Link status: Down
Download bps: 0
Upload bps: 0
WAN IP connection details:
Connection type: IP_Bridged
Connection status: Disconnected
IP address: 192.168.2.109
Uptime: 336944
RSIP Available: false
NAT Enabled: false
LAN DHCP configuration:
Configurable DHCP: true
Forwarding DHCP: false
Low IP: 10.0.1.2
High IP: 10.0.1.200
Netmask: 255.255.255.0
DNS domain: (unknown)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>status</key>
<dict>
<key>lan</key>
<dict>
<key>dhcpConfigurable</key>
<true/>
<key>dhcpForwarding</key>
<false/>
<key>ipRange</key>
<dict>
<key>high</key>
<string>10.0.1.200</string>
<key>low</key>
<string>10.0.1.2</string>
</dict>
<key>netMask</key>
<string>255.255.255.0</string>
</dict>
<key>ssid</key>
<string>TC24ghz</string>
<key>usb</key>
<dict>
<key>usbFlags</key>
<integer>1104</integer>
</dict>
<key>wan</key>
<dict>
<key>DNSServers</key>
<array>
<string>192.168.2.1</string>
</array>
<key>connection</key>
<string>Ethernet</string>
<key>domain</key>
<string></string>
<key>downSpeed</key>
<integer>0</integer>
<key>ipAddress</key>
<string>192.168.2.109</string>
<key>ipConnection</key>
<string>IP_Bridged</string>
<key>ipLink</key>
<string>Disconnected</string>
<key>link</key>
<string>Down</string>
<key>nat</key>
<false/>
<key>rsip</key>
<false/>
<key>upSpeed</key>
<integer>0</integer>
<key>uptime</key>
<integer>336944</integer>
</dict>
</dict>
</dict>
</plist>
It seems to allow you to set ports to open or closed and to check port forwarding.. that could be useful.
I only post it as it seems no one has listed the info.
I am running standard Mountain Lion not server.
Mac mini, OS X Mountain Lion (10.8.5), 2011 base model