Date: Thu, 5 Jan 2006 23:18:07 -0800 (PST) From: kamal kc <kamal_ckk@yahoo.com> To: freebsd <freebsd-net@freebsd.org> Subject: increasing the ethernet MTU greater than 1500 (1502) Message-ID: <20060106071807.87771.qmail@web30008.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
dear everbody, i have working to compress/decompress the packets. i know there are various schemes and facilities to do so in the freebsd, i have developed the compression facility myself. i am just a beginner in freebsd programming and overall in network programming. since i compress packet i add 2 byte custom header. now the problem is when the MTU sized packet is incompressible, i still add my 2 bytes which exceeds the MTU (1500) and the size becomes 1502. there was two options for me : either fragment the packet or increase the mtu. i don't want to fragment the packet as i think that is too much overhead for 2 bytes. rather i want to increase the mtu. i tried -->ifconfig xl1 mtu 1502 but it gave the message: -->ifconfig: ioctl (set mtu): invalid argument How can i increase the MTU ??? Will it have any effect whatsoever ??? i guess ethernet should support MTU of 1502. isn't it correct ?? help !! kamal __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060106071807.87771.qmail>