为啥solaris9的MTU值和我要求的不一样???

发表于:2007-06-09来源:作者:点击数: 标签:
有些服务要求的MTU值和默认的不一样,下面是改MTU值的方法 Anbsp;hasamaximumtransmissionunit(MTU),whichisthelargestpacket thatcanbetransportedoverthatphysicalnetworkinEthernetnetworks.The defaultvalueforaMTUis1500,theMaximumvalueoftheMTUcanbese

有些服务要求的MTU值和默认的不一样,下面是改MTU值的方法
.network has a maximum transmission unit (MTU), which is the largest packet 
that can be transported over that physical network in Ethernet networks. The 
default value for a MTU is 1500, the Maximum value of the MTU can be set as 
high as 1514. Beyond the MTU size of 1514 the Ethernet will break.  If you 
have to increase MTU size beyond 1514 then it is not supported to Ethernet. 
Only Jumbo Frame can support the bigher MTU size then 1514.  Since Jumbo Frame 
is NOT an industry standard yet, it is not supported in Solaris yet.  You may 
desire to change the MTU. If the traffic travels from a network with a large 
MTU - such as an FDDI network with an MTU of 4500 bytes - through a network 
with a smaller MTU like an Ethernet, the smaller MTU size may be best in order 
to avoid packet fragmentation. You may also desire to change the MTU to reduce 
buffer overruns or similar problems. 

To change the MTU, use the mtu command-line argument:

      # ifconfig hme0 129.46.66.2 netmask 255.255.255.0 mtu 256

This forces the hme interface on 129.46.66.2 to use an MTU of 256 bytes.

 fanfan 回复于:2003-03-09 15:24:55
这个能随便该吗?会不会影响网络的传输效率?

 procrus 回复于:2003-03-09 16:45:59
重启之后是不是又变回来了

 南非蜘蛛 回复于:2003-03-09 21:34:22
当然可以随便改了,在freebsd下adsl老有问题,只要改MTU值才可以,上次我们的一个客户用adsl连我们的邮件服务器,一台solaris7就没有问题,solaris8就有问题,最后改了MTU值才搞定

要是害怕从其丢失,写到/etc/rc2.d/下的那个网卡启动脚本里就可以了

 race 回复于:2003-03-09 22:02:23
前两年流行的猫加速之类的软件,就是改的MTU

 mirnshi 回复于:2003-03-10 12:42:46
[quote:c1885f98ab="fanfan"]这个能随便该吗?会不会影响网络的传输效率?[/quote:c1885f98ab]
不恰当的mtu,会影响网络的传输效率,对于普通的以太,使用缺省的就可以了,如果是千兆或者是ppp/slip,可能就要修改mtu了,对于千兆,可以将mtu修改得很大,如9000,这样对于传送大包,是非常有利的(避免碎片过多)。

 mmmmn 回复于:2003-03-10 13:07:08
1500足够了,你改大了,只要中间通过的网络中有小的,也是没办法

 iricyan 回复于:2003-03-10 13:17:07
长知识啊长知识

 starwang 回复于:2003-03-10 13:36:09
389

 siyeclover 回复于:2003-03-10 14:00:58
[quote:0782f2bf26="mmmmn"]1500足够了,你改大了,只要中间通过的网络中有小的,也是没办法[/quote:0782f2bf26]
有些时候,还得改再小一点.

以上
siyeclover

 laowu99 回复于:2003-05-09 14:53:46
[quote:c90f59ef99="siyeclover"]
有些时候,还得改再小一点.

以上
siyeclover[/quote:c90f59ef99]


please什么时候需要改小呢?

 arche 回复于:2003-05-14 23:58:08
[quote:072304b1f5="南非蜘蛛"]当然可以随便改了,在freebsd下adsl老有问题,只要改MTU值才可以,上次我们的一个客户用adsl连我们的邮件服务器,一台solaris7就没有问题,solaris8就有问题,最后改了MTU值才搞定

要是害怕从其丢失,写到/etc/rc..........[/quote:072304b1f5]


  [简直就是说wo啊, 蛛,还有mtu值不对的话,有可能 给ftp数据造成莫名其妙得slow得情况]

 williamw2000 回复于:2003-09-29 01:53:08
This is good stuff for sure. I ever changed MTU of Solaris 9 for a client to 1280 becuase they wanted to aclearcase/" target="_blank" >ccess to that box through a specific VNN.

原文转自:http://www.ltesting.net