Results 1 to 3 of 3

Thread: How to Enable Ethernet Jumbo Frames on the PCI Gigabit Card

  1. #1
    Join Date
    Oct 2008
    Posts
    74

    How to Enable Ethernet Jumbo Frames on the PCI Gigabit Card

    hello.

    I would like to know how can we Enable Ethernet Jumbo Frames on the PCI Gigabit Card in Mac OS X Server 10.3, Xserve thanks for help

  2. #2
    Join Date
    May 2008
    Posts
    1,822

    Re: How to Enable Ethernet Jumbo Frames on the PCI Gigabit Card

    Here you can follow the steps to solve to enable jumbo frame

    Warnings:
    1. All devices on a local network must be configured to use Jumbo Frames, or loss of connectivity could occur on that network.
    2. All devices on the local network must support use of Jumbo Frames. Few network switches support Jumbo Frames, and sending them to a switch that does not support them may cause the switch to stop operating. Check the specifications of network hardware prior to enabling Jumbo Frames. Even if your devices are Jumbo Frame compatible, Jumbo Frames are not needed under most circumstances. Be sure you have a need for them before using this procedure.
    3. This procedure is intended only for computers with Mac OS X Server and the PCI Gigabit Card, or for the Xserve G5. Jumbo Frames can be used on the built-in Ethernet port only on the Xserve G5.


    Enabling Jumbo Frames
    If you have Mac OS X Server 10.3 or later, you can set up Jumbo Frames via normal administration applications. The steps below would not be needed.

  3. #3
    Join Date
    May 2008
    Posts
    1,822

    Re: How to Enable Ethernet Jumbo Frames on the PCI Gigabit Card

    If you have Mac OS X Server 10.2.4 to 10.2.8, follow these steps to create a script that is executed during startup:

    1. Make sure you are logged in with an administrator account.
    2. Open Terminal (/Applications/Utilities).
    3. Type: mkdir -p /Library/StartupItems/JumboFrame
    4. Press Return.
    5. Type: cd /Library/StartupItems/JumboFrame
    6. Press Return.
    7. Type: pico JumboFrame
    8. Press Return.
    9. In the pico editor, paste in the following text.

      #!/bin/sh

      ##
      # Configure kernel parameters for Jumbo Frame support
      ##

      . /etc/rc.common

      StartService ()
      {
      ConsoleMessage "Configuring for Jumbo Frames"

      if [ "${JUMBOFRAME:=-NO-}" = "-YES-" ]; then

      /usr/sbin/sysctl -w net.inet.raw.maxdgram=16384
      /usr/sbin/sysctl -w net.inet.raw.recvspace=16384
      /usr/sbin/sysctl -w net.inet.tcp.sendspace=65536
      /usr/sbin/sysctl -w net.inet.tcp.recvspace=65536
      /usr/sbin/sysctl -w net.inet.udp.recvspace=65536

      fi

      }

      StopService ()
      {
      return 0
      }

      RestartService ()
      {
      return 0
      }

      RunService "$1"
    10. Save the file (Control-O, Return), and exit pico (Control-X).
    11. Type: chmod 755 JumboFrame
    12. Press Return.
    13. Type: pico StartupParameters.plist
    14. Press Return.
    15. Paste the following text into the pico editor:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
      "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      <key>Description</key>
      <string>Can set Jumbo Ethernet Frames</string>
      <key>OrderPreference</key>
      <string>None</string>
      <key>Provides</key>
      <array>
      <string>JumboFrame</string>
      </array>
      <key>Requires</key>
      <array>
      <string>Network Configuration</string>
      </array>
      </dict>
      </plist>
    16. Save the file (Control-O, Return) and exit pico (Control-X).
    17. Type: chmod 644 StartupParameters.plist
    18. Press Return.
    19. Type: sudo pico /etc/hostconfig
    20. When prompted, enter your account password.
    21. Press Return.
    22. In the pico editor, add this line at the bottom (use the down arrow key to navigate to the file end):


      JUMBOFRAME=-YES-

    23. Save it (Control-O, Return) and exit pico (Control-X).

      When you restart the computer, the script makes the kernel parameter settings necessary to support Ethernet Jumbo Frames. Once that is done, you can enable Jumbo Frames on the PCI Gigabit port using this command:


      sudo networksetup -setMTU en1 9000


      If your PCI Gigabit card has a port name different from "en1", you should change the port name in the command to match. Repeat this command if you have multiple PCI Gigabit cards, substituting the other port names.

      This setting is retained after a restart and does not need to be entered after each startup.

Similar Threads

  1. Can Netgear GS105E router support Jumbo Frames ?
    By mewlyo in forum Networking & Security
    Replies: 3
    Last Post: 15-12-2010, 05:07 AM
  2. Do Intel Gigabit (1000Mbit) cards support 16k Jumbo frames?
    By Casidy in forum Networking & Security
    Replies: 4
    Last Post: 29-06-2010, 10:14 AM
  3. Gigabit ethernet working
    By jassicar in forum Networking & Security
    Replies: 2
    Last Post: 19-08-2009, 11:38 AM
  4. Enable jumbo frame for NIC in windows vista
    By Zayd in forum Operating Systems
    Replies: 3
    Last Post: 03-06-2009, 05:41 PM
  5. Connection for Jumbo frames
    By Xylon in forum Networking & Security
    Replies: 4
    Last Post: 16-03-2009, 10:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,385,684.81332 seconds with 16 queries