Apple Xserve Up Mac OS X Server Specifikace Strana 72

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 329
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 71
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
Zobrazit stránku 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 328 329

Komentáře k této Příručce

Žádné komentáře