70

Enabling TCP/IP

Use the serversetup tool to enable or disable TCP/IP on a computer.

To enable TCP/IP on a particular port:

$ serversetup -EnableTCPIP [(devicename"portname")]

If you don’t provide an interface, en0 is assumed.

To disable TCP/IP on a particular port:

$ serversetup -DisableTCPIP [(devicename"portname")]

If you don’t provide an interface, en0 is assumed.

Working with 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

To list the devices that support VLANs:

$ networksetup -listdevicesthatsupportVLAN

IEEE 802.3ad Ethernet Link Aggregation

Apple introduced the implementation of the IEEE 802.3ad Ethernet Link Aggregation standard as part of the ifconfig tool. IEEE 802.3ad is a standard for bonding or aggregating multiple Ethernet ports into one virtual interface. The aggregated ports appear as a single IP address internally to your computer and tools and externally to other clients on the Internet. Any tool or server that relies on your IP address will continue to work seamlessly without any modifications. The advantage of aggregation is that the virtual interface provides increased bandwidth by merging the bandwidth of the individual ports. The TCP connection load is then balanced across the ports. In addition to load balancing, IEEE 802.3ad provides automatic failover in the event any port or cable fails. All traffic that was being routed over the failed port is automatically rerouted to use one of the remaining ports. This failover is completely transparent to the software using the connection. This feature provides increased bandwidth and automatic failover for the server environment.

Chapter 6 Setting Network Preferences

Page 70
Image 70
Apple Mac OS X Server manual Enabling TCP/IP, Working with VLANs, Ieee 802.3ad Ethernet Link Aggregation