Specifications

72 Chapter 6 Setting Network Preferences
Statically Configuring Ethernet Interfaces
You can configure your server to define an IPv4 address on an interface that does not
have a live link.
To define an IPv4 address on an interface that does not have a live link:
1 Edit the network preferences file located at /Library/Preferences/SystemConfiguration/
preferences.plist.
In the preferences.plist, navigate to the block that defines the relevant interface
(say, en1), look for the IPv4 configuration block, and add the IgnoreLinkStatus key.
Here is an example:
<key>IPv4</key>
<dict>
<key>Addresses</key>
<array>
<string>10.12.0.7</string>
</array>
<key>ConfigMethod</key>
<string>Manual</string>
<key>IgnoreLinkStatus</key>
<true/>
<key>Router</key>
<string>10.12.0.1</string>
<key>SubnetMasks</key>
<array>
<string>255.255.0.0</string>
</array>
</dict>
2 Save the /Library/Preferences/SystemConfiguration/preferences.plist file.
3 To activate the modified preference, restart your system or use scselect to reselect the
current service (typically named Automatic, for example, scselect Automatic).
Creating, Deleting, and Viewing VLANs
A virtual local area network (VLAN) connects devices that may be on separate physical
LANs to perform and communicate as if they were on the same physical LAN. Use the
networksetup tool to configure and modify a VLAN.
To create a VLAN:
$ networksetup -createVLAN
name
parentdevice
tag
To delete a VLAN:
$ networksetup -deleteVLAN
name
parentdevice
tag
To list available VLANs:
$ networksetup -listVLANs