![]() |
| | #1 |
| Registered User Join Date: Jun 2005
Posts: 1
| How to send Jumbo frames ? I intend to develope a small utility that can send Jumbo Frames (frames that have size larger than 1500 octets). I can send normal frame only. I appreciate any suggestions. Thanks for reading the message. |
| thaipham is offline | |
| | #2 |
| Registered User Join Date: Jan 2002 Location: Cardiff
Posts: 2,219
| what are you talking about |
| Brian is offline | |
| | #3 |
| Registered User Join Date: Dec 2003
Posts: 164
| perhaps this should be in networking and I'm assuming that by larger than 1500, you mean packets like Ethernet which have a larger data section ?? (MTU is 1500 for TCP)
__________________ Open source isn't a matter of life or death...... .......its much more important than that!! SuSE Linux - GCC 3.4.2 XP Pro - Visual Studio 2005 TS, MinGW 3.4.2 Last edited by eth0; 06-06-2005 at 10:44 AM. |
| eth0 is offline | |
| | #4 |
| Registered User Join Date: Sep 2004
Posts: 197
| Yea, GigE can handle jumbo frames, but this has nothing to do with the program, Ill explain. As a programmer, you simply work with the API given, normally Sockets or Winsock depending on platoform, and at that level, all you care about is Layer 3 and up (IP mainly). When you send something via sockets, the OS will determine how its sent at layer 2 (Gigabit Ethernet in this case I would say), now if your NIC and Switch supports jumboframes, as well as the destination, the OS will determin weather or not jumbo frames is usable (at least this is my understanding). Basicly its not up to you, but up to the OS and its implementation of IP and the Ethernet standard. Plus, if the packet is going outside of the LAN, it should default to the normal MTU size (1500). Basicly, don't worry about trying to use Jumbo frames, the OS will take care of that.
__________________ If any part of my post is incorrect, please correct me. This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted. |
| Xipher is offline | |
| | #5 |
| Registered User Join Date: Dec 2003
Posts: 164
| Whatever technique you use, your jumbo frames will be fragmented anyway when they hit the WAN, as ATM can't handle anything over 53 bytes, and cuts them down. (note, when I said "MTU is 1500 for TCP", I meant ethernet)
__________________ Open source isn't a matter of life or death...... .......its much more important than that!! SuSE Linux - GCC 3.4.2 XP Pro - Visual Studio 2005 TS, MinGW 3.4.2 |
| eth0 is offline | |
| | #6 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| eth, what about MPLS? how much can it handle?
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #7 |
| Registered User Join Date: Oct 2003
Posts: 94
| The network stack takes care of frame size for you. If you allow jumbo frames, as root type: ifconfig eth0 mtu 9000 Remember that only other computers with jumbos enable can receve what you send. -Jack Carrozzo http://www.crepinc.com/ |
| crepincdotcom is offline | |
| | #8 | |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| Quote:
I think you're forgetting something very simple, like the network itself! The fact that you can set your system's mtu path means nothing, that's why it's usually recommended to either use the default ethernet setting, or allow the mtu value to be set by the dhcp. In shot, unless you connect the two computers with a crossover cable you get nothing by setting the mtu size to 9000, since the network devices are most likely ethernet based.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. | |
| Devil Panther is offline | |
| | #9 |
| Registered User Join Date: Oct 2003
Posts: 94
| But a managed switch can be changed to allow a larger MTU.
__________________ -Jack C jack {at} crepinc.com http://www.crepinc.com |
| crepincdotcom is offline | |
| | #10 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| Well yes, of course! But why should you?! Also, it will get fragmented once it gets out of your adminitrative network, it's not like you have a closed huge network like the CIA or something ![]() Plus I don't think that thaipham is a network administrator.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tuncated uint8_t | Coens | C Programming | 14 | 11-24-2008 07:57 AM |
| sending n no of char data uning send() function, | thebrighter | Windows Programming | 1 | 08-22-2007 12:26 PM |
| Jumbo Frames - sort of working | bj00 | Networking/Device Communication | 1 | 07-23-2007 10:29 AM |
| pointers | InvariantLoop | C Programming | 13 | 02-04-2005 09:32 AM |
| LISP (DrScheme) any one? | Jeremy G | A Brief History of Cprogramming.com | 5 | 03-31-2004 12:52 PM |