From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,24cf50543a8050f1 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-15 07:50:06 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uhog.mit.edu!news.kei.com!world!mbg From: mbg@world.std.com (Megan) Subject: Re: MTU size setting Message-ID: Organization: The World Public Access UNIX, Brookline, MA References: <2tlep6$om@pandion.eyrie.Werj.com.au> Date: Wed, 15 Jun 1994 14:46:31 GMT davidb@eyrie.Werj.com.au (David Burren) writes: >In rvd@rsred.rbc.cl (Roberto Valdovinos) writes: >> I need to change the MTU size on my ethernet interface (ln0) on a >>DECStation running Ultrix 4.3. I 'm trying out Semaphore's Encription Unit >>and I need to change my MTU size to no more than 1400 Bytes to get >>better performance. Can anyone help me out, because I haven't been >>able to find out how to change it from the default 1500. >Well, there isn't really a way to do it (not officially anyway). >By making a patch to if_ln.o to change the value of if_mtu and then >recompiling your kernel you can change the MTU _of_all_"ln"_interfaces_. >You can't change only a single interface. What about writing a program for your system which walks the chain of ifnet structures until it finds the one you want and then modifies the if_mtu field. This could then be done on a per-unit basis and could also be used to alter the mtu of other devices, if you should need it. Megan Gentry Former RT-11 Developer Current Ultrix Developer