Why can't you browse some websites when connecting to WINDOWS 2000 as a Server?

xiaoxiao2021-03-06  98

Bird's Linux with ADSL private vegetables

2001/11/04

Why can't you browse some websites when connecting to WINDOWS 2000 as a Server?

Q: Why can't I browse some websites when I share with Windows 2000 as Server?

answer:

This issue has been discovered to solve the problem until a while! I am really ignorant!

Problem Description:

In fact, it is not just Windows 2000, which is also generated when using Windows 98 as a cylinders to share tools as a bandwidth sharing tool!

That is, the client cannot browse some websites or unable to send an email containing accessories. The reason for this problem is the problem of MTU! What is MTU? That is the abbreviation of Maximum Transmission Unit! what is that? In fact, I am not very clear, I only know

Different interfaces have different MTU requirements. When the demand of MTU is different from your network interface, there will be a problem! In general, the preset value of the MTU is 1500 units. If you are under the Linux system, you will see the following screen:

eth0 Link encap: Ethernet HWaddr 00: 01: 03: 43: E5: 34 inet addr: 192.168.1.2 Bcast: 192.168.1.255 Mask: 255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 RX packets: 259763 errors: 1 Dropped: 1 Overruns: 1 frame: 0 TX Packets: 95076 Errors: 0 Dropped: 0 overruns: 0 Carrier: 0 Collisions: 0 TXQUEUELEN: 100 Interrupt: 10 Base Address: 0xc000 saw no! ? That is the MTU value of the online card! Ok! Just talking about different online interfaces have different MTU requirements, then the following will list the requirements of the major network interfaces!

Internet interface

Mtuethernet (General Network Interface, this is a preset value) 1500pppoe (ADSL) 1492Dial-Up (MODEM) 576

From the table above, we can know that the preset network interface MTU is 1500, the PPPoE is using 1492, and the natural MTU requirements are not the same, so! There are some webpages, email information, etc., you can't make it reasonable!

Solve the way:

How do you solve it? In fact, as long as the MTU value of the Client side network card can completely solve this problem! And by adjusting the MTU value can also enhance the network efficiency. The top issue is naturally the MTU you can load your online card! So our first step is to find the appropriate MTU:

Find the MTU value:

Under Windows, you must find the MTU value to enter the DOS mode, and you know the IP of your shared host! For example, your host is Windows 2000 and the IP shared in the inner sharing is 192.168.1.2, then you can do this: enter the MS DOS mode; enter ping -f-f 1500 192.168.1.2

C: / windows> ping -f -fl 1500 192.168.1.2 pinging 192.168.1.2 with 1500 bytes of data: packet neseds to be fragment but df set. Packet Needs to be fragment but df set. Packet Needs to Be Fragment But DF Set Packet Needs to Be Fragmented But DF Set. Ping Statistics for 192.168.1.2: Packets: SENT = 4, Received = 0, Lost = 4 (100% Loss), Approximate Round Trip Times in Milli-Seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms The above formula, -L is the lowercase (not 1 喔), 1500 is the MTU value we want to measure, and the result appears Packet Needs to Be Fragmented But Df Set. This thing, that means The MTU value is too big, you need a smaller MTU value! Ok! That assumes that we use 1464 to test:

C: / windows> ping -f -f-f 1464 192.168.1.2 pinging 192.168.1.2 with 1464 bytes of data: reply from 192.168.1.2: bytes = 1464 TIME = 10ms TTL = 128 reply from 192.168.1.2: bytes = 1464 TIME < 10ms TTL = 128 reply from 192.168.1.2: bytes = 1464 TIME <10ms TTL = 128 reply from 192.168.1.2: bytes = 1464 Time <10ms TTL = 128 ping statistics for 192.168.1.2: Packets: SENT = 4, received = 4 Lost = 0 (0% loss), Approximate Round Trip Times in Milli-Seconds: minimum = 0ms, Maximum = 10ms, Average = 2ms results have responded! This means that this MTU value is feasible! However, it is highly recommended to find a feasible maximum MTU value! In this way, the best network rate can be achieved when setting it! Find the MTU value: Use the value found above this method is not MTU! Due to some of the problems above the package, the above value plus 28 is the MTU value we need! Therefore, in the above example, the MTU value we need is 1464 28 = 1492!

Modify the MTU value:

OK! We have found the MTU value, then the next step is naturally modified! How to modify it? In fact, it is also very simple, just modify it through the REGISTRY preset by Windows itself! WINDOWS 98:

In "Start"> "Execute", type , there will be a big frame box; "HKEY_LOCAL_MACHINE"> "System"> "CurrentControlset"> "Services"> "Class"> "NetTrans"> 000n " The last data above is 000n, that n refers to a number, take me as an example, there are two numbers under NetTrans, respectively, 0000 and 0002, if 0000 will display my Gate Way and my online card IP project, as for 0002, there is no information about my online card, so 0000 This is my online card interface! Please choose your situation! After choosing your online card interface (with me as an example, press 0000 The machine code), press "Edit"> "New", then select Add "DWORD" value;

Ten "Maxmtu" in the new machine code, and press the right click on the newly added machine code, select the following screen, select "Ten Enter", enter the one I just found this MTU value:

After you finish it, you should see the following picture! That is successful!

Windows 2000:

In "Start"> "Execution", type , a big frame box will appear (note, it may be regedit32 executable, please work according to your machine); select "HKEY_LOCAL_MACHINE"> "System"> " CurrentControlSet ">" Services ">" TCPIP ">" Parameters ">" Interface ", a bit like the illustration below:

There may be a lot of interfaces under Interface, you will look at it, there will be a interface with your online card IP, that is the interface you have to pick! After the "editing"> "new"> "DWORD value" is selected on the interface, the machine code named "MTU" is then selected, then select the right click "Modification", select ten into the bits, fill in us just find Out of MTU value! Datual!

Basically, this should already solve your problem! Related web supplies you can go to the next page!

http://www.microsoft.com/taiwan/msclub/member/tips/spring_2001/tip1to3/tip1to3_2.htm

Http://redhat.ecenter.idv.tw/bbs/showthread.php?s=&threadid=21620&highlight=mtu

In addition, netizens have a website that is recommended to test the MTU, you can also go to you, but before you go to this page, "

Please let your proxy server set up your proxy server "Otherwise, you will be your proxy instead of your true IP!

http://forums.speedguide.net:8117/

2001 / 12/15 Since the statistics of the statistics Designed by Vbird During 2001-2004. Aerosol Lab.

转载请注明原文地址:https://www.9cbs.com/read-98113.html

New Post(0)