Menu

Allow Oversize Frames / Feature Request

Phil Lewis
2006-04-14
2013-04-25
  • Phil Lewis

    Phil Lewis - 2006-04-14

    We use packEth to test our Ethernet switch hardware/software. We are required to support double-tagged frames of at least 1526 octets in length. Can a parameter be added to allow oversize frames. I had previously tweaked 1.2 to allow this, but now I need to do it again for 1.3.

    thanks
    Phil

     
    • Miha Jemec

      Miha Jemec - 2006-04-18

      Hi Phil,

      regarding packETH, I can remove all the length checking and allow arbitrary packet length. But I don't know what the ethernet card driver will said on that. And since there is different driver for different cards I'm not sure if this will work in general. Anyway, I will do some tests, in the mean time you will have to change the source in 1.3 as you did for 1.2. But the code here didn't change a lot, so you won't have much work.

      Regards, Miha

       
    • Phil Lewis

      Phil Lewis - 2007-04-10

      I would like to modify packETH to allow sending 'jumbo' frames - 1600 bytes.
      Can you suggest a good starting point?

      thanks
      Phil Lewis

       
    • Miha Jemec

      Miha Jemec - 2007-04-11

      Hi Phil!

      One thing is to change packETH to "allow" creation of packets, larger than 1500 bytes (without ethernet header). This is not a problem to change in the code, I think you already did this before.

      Another thing is to have driver that allows this and change the settings. I found on the google (good starting point anyway!) this command:

      "...
      If jumbo frames are supported by the driver:

      ifconfig eth0 mtu xxxx, where xxxx up to 9022 (bytes) or sometimes
      16110 (bytes)
      ..."

      You can try this, maybe it will work.

      Regards, Miha

       

Log in to post a comment.

Auth0 Logo