Re: Reducing the ethernet MTU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 17, 2001 at 09:00:48AM -0000, avi sefati wrote:
> I need to reduce the MTU of Ethernet drivers on my Linux box. In 
> drivers/net/net_init.c there is a function ether_setup(), where dev->mtu is 
> set (1500). If I change this value for my requirements, will this be 
> sufficient for the stack to do fragmentation according to this new size (I 
> want to use 1496 bytes.) Or are there other things I need to do?

  From the desired MTU size I guess you are trying to play with VLAN tags ?

  Yes, instead of mucking with kernel code, you can do it with the
  'ifconfig'   tool too.  I do use that when I need to do things like that.

  In RedHat 7.1   /etc/sysconfig/network-scripts/  files there are no
  provisions to do the MTU setting explicitely for Ethernets.

  You can create the effect by looking at how ifup-ppp does it, and
  applying the thing into the basic  ifup.

> TIA
> Avichai

/Matti Aarnio
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux