Αναγν. άρθρου: 319661 - Τελευταία αναθεώρηση: Τρίτη, 21 Δεκεμβρίου 2010 - Αναθεώρηση: 4.0

Ζητήματα σύνδεσης σε υπολογιστές-πελάτες κοινόχρηστης σύνδεσης στο Internet κατά τη χρήση μιας σύνδεσης PPPoE σε ένα Host των Windows XP κοινόχρηστης σύνδεσης στο Internet

Συμβουλή συστήματοςΑυτό το άρθρο ισχύει για διαφορετικό λειτουργικό σύστημα από αυτό που χρησιμοποιείτε. Το περιεχόμενο του άρθρου που ενδέχεται να μην σας αφορά έχει απενεργοποιηθεί.
Ανάπτυξη όλων | Σύμπτυξη όλων

Συμπτώματα

Ενδέχεται να μην μπορείτε να αναζητήσετε μερικές τοποθεσίες Web ή να στείλετε ηλεκτρονικό ταχυδρομείο μηνύματα που περιέχουν συνημμένα από μια σύνδεση Internet κοινής χρήσης του υπολογιστή-πελάτη, αν η εξερχόμενη σύνδεση είναι μέσω ενός υπολογιστή κεντρικού υπολογιστή με Windows XP κοινόχρηστης σύνδεσης στο Internet που χρησιμοποιεί το πρωτόκολλο Point-to-Point μέσω Ethernet (PPPoE).

Αιτία

Αυτό το ζήτημα ενδέχεται να προκύψει, εάν το που βασίζεται σε Windows XP κοινόχρηστης σύνδεσης στο Internet κεντρικού υπολογιστή χρησιμοποιεί μια μικρότερη μέγιστη μονάδα μετάδοσης (MTU) μεγέθους στη δημόσια διασύνδεση (σύνδεση PPPoE με το Internet) από χρησιμοποιεί στην ιδιωτική διασύνδεση (η σύνδεση Ethernet στον υπολογιστή-πελάτη Κοινόχρηστης σύνδεσης στο Internet). Εάν ένα πακέτο είναι μεγαλύτερο από το μέγεθος MTU στη δημόσια διασύνδεση, ο υπολογιστής-πελάτης στέλνει μια Internet Control Message Protocol (ICMP) σφάλμα στον εξωτερικό διακομιστή για να ζητήσετε ότι ο διακομιστής διαπραγματεύονται το TCP Maximum τμήμα μέγεθος (MSS). Ωστόσο, αυτό το μήνυμα μπορεί να εμποδίζεται από ορισμένα τείχη προστασίας. Όταν συμβεί αυτό, το πακέτο απορρίπτεται.

Προτεινόμενη αντιμετώπιση

Για να επιλύσετε αυτό το ζήτημα, εγκαταστήστε το Windows XP Service Pack 1 (SP1) στον κεντρικό υπολογιστή κοινόχρηστης σύνδεσης στο Internet. Η Κοινόχρηστη σύνδεση στο Internet έχει ενημερωθεί στο Windows XP SP1 για να επιλύσετε αυτό το ζήτημα, χρησιμοποιώντας μια διαδικασία που ονομάζεται MSS clamping. Σύνδεση στο Internet έχει ως αποτέλεσμα το MSS clamping κοινής χρήσης για να ορίσετε την τιμή MSS χαμηλή ώστε να ταιριάζει με την εξωτερική επιφάνεια εργασίας.

Εναλλακτικός τρόπος αντιμετώπισης

ΣημαντικόΑυτή ενότητα, μέθοδο ή εργασία περιέχει βήματα που θα σας πληροφορήσει πώς να τροποποιήσετε το μητρώο. Ωστόσο, ενδέχεται να προκύψουν σοβαρά προβλήματα εάν δεν τροποποιήσετε σωστά το μητρώο. Κατά συνέπεια, βεβαιωθείτε ότι ακολουθείτε προσεκτικά τα εξής βήματα. Για επιπλέον προστασία, δημιουργήστε αντίγραφα ασφαλείας του μητρώου προτού το τροποποιήσετε. Με αυτόν τον τρόπο, μπορείτε να επαναφέρετε το μητρώο εάν προκύψει πρόβλημα. Για περισσότερες πληροφορίες σχετικά με τον τρόπο δημιουργίας αντιγράφων ασφαλείας και επαναφοράς του μητρώου, κάντε κλικ στον αριθμό του άρθρου παρακάτω για να προβάλετε το άρθρο της Γνωσιακής βάσης της Microsoft:
322756  (http://support.microsoft.com/kb/322756/ ) Τρόπος δημιουργίας αντιγράφων ασφαλείας και επαναφοράς του μητρώου στα Windows

Για να αντιμετωπίσετε προσωρινά αυτό το ζήτημα, μειώσετε το μέγεθος MTU από το εσωτερικό υπολογιστές-πελάτες κοινόχρηστης σύνδεσης στο Internet σε 1490.

ΣΗΜΕΙΩΣΗ: Use this temporary workaround only in cases in which a Windows XP-based computer is both an Internet Connection Sharing host (or gateway) and is connected to the Internet by using PPPoE.

To modify the MTU on the internal Internet Connection Sharing client computers, follow these steps.

To Identify the correct MTU size:
  1. Start a command prompt, and then use the Ipconfig utility to determine the default gateway of the Internet Connection Sharing server.
  2. At a command prompt on a client, type the following line, and then press ENTER:
    ping -f -lMTU_size default_gateway_IP_address
    Start with an MTU size of 1,490.
  3. If you receive an error message that indicates that the message must be fragmented, repeat step 2 by using a smaller MTU size. Repeat this process until thePingcommand succeeds.
After you determine the largest supported MTU size, follow these steps to manually set the MTU on the Internet Connection Sharing client computer or computers:
  1. Κάντε κλικStart, τοποθετήστε το δείκτηΣτοιχείο ελέγχου πίνακα, τοποθετήστε το δείκτηΔίκτυο και συνδέσεις Internet, and then click theΣυνδέσεις δικτύουΦάκελος.
  2. If the Network Connections folder contains more than one network connection, check the IP address for each network connection to determine which is the Internet connection.

    To check the IP address for a network connection, double-click theNetwork Connectionicon, click theΥποστήριξηtab, and then note the IP address.

    The connection with an IP address that starts with 192.168 is the Internet network connection. Note the name of the Internet connection (for example, "Local Area Connection 2").
  3. Ξεκινήστε τον Επεξεργαστή Μητρώου (Registry Editor).
  4. Locate and then click the following key in the registry, whereAdapterIDNumberis a hexadecimal number:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{AdapterIDNumber}\Connection
  5. ΣτοΣύνδεσηkey, check theNAMEvalue to determine if it matches the name of the Internet connection that you found in step 2.

    Αν υπάρχει ήδη ο φάκελοςNAMEvalue matches the name of the Internet connection, note the name of the{AdapterIDNumber}Κλειδί.

    Αν υπάρχει ήδη ο φάκελοςNAMEvalue does not match the name of the Internet connection, repeat this step to check theNAMEvalue in the next{AdapterIDNumber}\Connectionkey in the registry.
  6. Locate and then click the following key in the registry, whereAdapterIDNumberis the hexadecimal ID number of the Internet connection that you noted in step 5:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Interfaces\{AdapterIDNumber}
  7. Στο διακομιστήΕπεξεργαστείτε τη διαδρομήμενού, κάντε κλικ στο κουμπίΠροσθήκη τιμής, and then add the following registry value, whereMaxMTUSizeis the maximum supported MTU size that you discovered earlier in the Ping tests:
    Όνομα τιμής:MTU
    Τύπος δεδομένων:Reg_DWORD
    Βάση (Radix):Δεκαδική (Decimal)
    Δεδομένα τιμής:MaxMTUSize
  8. Κλείστε τον Επεξεργαστή Μητρώου.
ΣΗΜΕΙΩΣΗ: If you still experience problems when you visit some Web sites, you may have to change theMTUvalue setting to a lower number. Reduce theMTUvalue setting in increments of 10 until the issue is resolved.

For additional information about how to manually set the MTU size, click the following article number to view the article in the Microsoft Knowledge Base:
314053  (http://support.microsoft.com/kb/314053/EN-US/ ) TCP/IP and NBT Configuration Parameters for Windows XP
PPPoE is described in Request for Comments ( RFC) document 2516. Currently, some digital subscriber line (DSL) service providers use PPPoE to maintain the familiar "dial-up" experience for users who use a DSL modem to connect to the Internet.

Κατάσταση

Η Microsoft έχει επιβεβαιώσει ότι πρόκειται για ζήτημα το οποίο παρουσιάζεται στα προϊόντα της που αναφέρονται στην αρχή αυτού του άρθρου. This problem was first corrected in Windows XP Service Pack 1.

Περισσότερες πληροφορίες

On Windows XP, PPPoE connections use a Maximum Transmission Unit (MTU) size of 1,490 to account for the additional PPP header information that is transmitted over the Ethernet network. Because the TCP MSS is negotiated during the TCP handshake by the two end systems, the end systems may set an MSS that is based on a local link MTU of 1,500 if both systems are connected to Ethernet networks. If the Internet Connection Sharing host cannot pass the traffic to and from the internal Internet Connection Sharing client because the packet is too large, the Internet Connection Sharing computer sends the appropriate ICMP message that states that fragmentation is required and that the "Don't Fragment" bit was set. The Windows XP-based Internet Connection Sharing host also includes the MTU size of the PPPoE link; the recipient of the ICMP message can initiate a renegotiation of the MSS. This process fixes the problem and is transparent to users.

The problem that is described in this article occurs when the external host blocks ICMP messages. In practice, this is typically a Web server that blocks ICMP messages at the firewall. If the internal Internet Connection Sharing client sends only small requests (such as HTTP requests), the client's packets may never become large enough to have to be fragmented by Internet Connection Sharing. However, the Web server may send back a large file or image that fills a single or multiple packets to capacity. Internet Connection Sharing sends the appropriate ICMP "fragmentation required" message back to the Web server. If this message never reaches the Web server (because it is blocked by a firewall), the Web server does not become aware that the session MSS must be renegotiated. Unless the external server is using PMTU Black Hole Router discovery (by default, this is disabled in Microsoft Windows 2000), the data never reaches the internal Internet Connection Sharing client.

Οι πληροφορίες σε αυτό το άρθρο ισχύουν για:
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
Λέξεις-κλειδιά: 
kbnetwork kbwinxpsp1fix kbmt KB319661 KbMtel
Μηχανικά μεταφρασμένοΜηχανικά μεταφρασμένο
ΣΗΜΑΝΤΙΚΟ: Αυτό το άρθρο είναι προϊόν λογισμικού μηχανικής μετάφρασης της Microsoft και όχι ανθρώπινης μετάφρασης. Η Microsoft σάς προσφέρει άρθρα που είναι προϊόντα ανθρώπινης αλλά και μηχανικής μετάφρασης έτσι ώστε να έχετε πρόσβαση σε όλα τα άρθρα της Γνωσιακής Βάσης μας στη δική σας γλώσσα. Ωστόσο, ένα άρθρο που έχει προκύψει από μηχανική μετάφραση δεν είναι πάντα άριστης ποιότητας. Ενδέχεται να περιέχει λεξιλογικά, συντακτικά ή γραμματικά λάθη, όπως ακριβώς τα λάθη που θα έκανε ένας μη φυσικός ομιλητής επιχειρώντας να μιλήσει τη γλώσσα σας. Η Microsoft δεν φέρει καμία ευθύνη για τυχόν ανακρίβειες, σφάλματα ή ζημίες που προκύψουν λόγω τυχόν παρερμηνειών στη μετάφραση του περιεχομένου ή χρήσης του από τους πελάτες της. Επίσης, η Microsoft πραγματοποιεί συχνά ενημερώσεις στο λογισμικό μηχανικής μετάφρασης.
Η αγγλική έκδοση αυτού του άρθρου είναι η ακόλουθη:319661  (http://support.microsoft.com/kb/319661/en-us/ )