How to Show and Display IP Routing Table in Windows or Linux Ako zobraziť a zobrazenie IP Smerovacie tabuľka v systéme Windows alebo Linux
Every computer on TCP/IP network (ie connect to Internet or LAN) depends on IP routing table to make routing decisions. Každý počítač na TCP / IP siete (napr. pripojenie k internetu alebo LAN), závisí na IP smerovacie tabuľky, aby sa rozhodnutie o smerovaní. Routing table, otherwise also known as Routing Information Base (RIB), is an electronic table (file) or database type object that is stored in a router or a networked computer to store the routes, and in some cases, metrics associated with those routes to particular network destinations, ie IP address. Smerovacie tabuľky, inak tiež známy ako Routing Information Base (RIB), je elektronické tabuľky (súboru) alebo typ databázy, objekt, ktorý je uložený v routri alebo sieťového počítača na ukladanie trás, av niektorých prípadoch, metriky spojené s týmito linky na konkrétne sieť destinácií, tj IP adresu.
Routing table is important for troubleshooting or identifying network problem, when all other components such as network cable, LAN connectivity, Ethernet (or FastEthernet or GigabitEthernet) port appear to have no error or issue. Smerovacie tabuľky sú dôležité pre riešenie problémov a identifikácia sietí problém, keď všetky ostatné komponenty ako sieťový kábel, pripojenie LAN, Ethernet (alebo FastEthernet a GigabitEthernet) port Zdá sa, že žiadna chyba alebo problém. In rare cases, the routing table may point to incorrect interface to route, or has other routing problems, especially in the case of system with two or multiple NIC cards or network adapters. V zriedkavých prípadoch môže smerové tabuľky na nesprávne miesto rozhraní na trase, alebo má iné smerovanie problémov, najmä pokiaľ ide o systém s dvoma alebo viacerými sieťovej karty alebo sieťové adaptéry.
To view, show or display the routing table in Windows or Linux (works on most Linux and Unix such as Ubuntu, RedHat, CentOS, etc.) operating system, use the following commands. Pre zobrazenie, zobraziť alebo zobrazenie smerovacie tabuľky v systéme Windows alebo Linux (funguje na väčšine Linux a Unix, ako je Ubuntu, RedHat, CentOS, atď), operačný systém, použite nasledujúce príkazy. In Windows, open a command prompt to issue the command: V systéme Windows spustite príkazový riadok s príkazom:
netstat -rn netstat-rn
Alternatively, just type the following command in Linux: Prípadne, zadajte nasledujúci príkaz v Linuxe:
route trasa
Or, the following command in Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008 and etc: Alebo nasledujúci príkaz v systéme Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008 a etc:
route print route print
In Windows Server based operating system, administrator can also view the content of routing table by using Routing And Remote Access GUI management console, accessible from Administrative Tools of Control Panel . V systéme Windows Server operačný systém založený správca môže tiež zobraziť obsah smerovacie tabuľky pomocou služby Smerovanie a vzdialený prístup GUI management konzole, prístupné z Nástroje pre správu v Ovládacom paneli. After Configure and Enable Routing and Remote Access for LAN routing (under custom configuration), administrator can expand the node to view the routing table, and then expand IP Routing on the console tree. Po Nakonfigurovať a povoliť smerovanie a vzdialený prístup pre smerovanie LAN (pod vlastné nastavenie), môže správca rozbaľte uzol pre zobrazenie smerovacie tabuľky a potom položku Smerovanie protokolu IP v strome konzoly. Then, right click on Static Routes and select Show IP Routing Table from the context menu. Potom kliknite pravým tlačidlom na statické trasy a vyberte Zobraziť IP Routing tabuľky z kontextového menu. The entries in the routing table are displayed in the right pane of the Routing And Remote Access console. Záznamy vo smerovacie tabuľke sú zobrazené v pravom okne Smerovanie a vzdialený prístup konzoly.
The output or the routing table looks something similar with table below: Výstupu alebo smerovacie tabuľky vyzerá niečo podobné sa nasledujúca tabuľka:
IPv4 Route Table IPv4 Trasa Tabuľka =========================================================================== ================================================== ========================= Active Routes: Aktívne smerovanie: Network Destination Netmask Gateway Interface Metric Letovisko sieti Sieťová maska Brána Rozhranie Metrika 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.2 281 192.168.1.0 255.255.255.0 On-link 192.168.1.2 281 192.168.1.2 255.255.255.255 On-link 192.168.1.2 281 192.168.1.2 255.255.255.255 On-link 192.168.1.2 281 192.168.1.255 255.255.255.255 On-link 192.168.1.2 281 192.168.1.255 255.255.255.255 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 192.168.1.2 281 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.2 281 255.255.255.255 255.255.255.255 On-link 192.168.1.2 281 =========================================================================== ================================================== =========================
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 10.10.10.1 0.0.0.0 255.255.255.192 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 10.0.0.0 10.14.42.129 255.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1 Kernel IP routing tabuľky Destination Gateway Genmask Vlajky MSS Window irtt iface 192.168.1.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 10.10.10.1 0.0.0.0 255.255.255.192 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 10.0.0.0 10.14.42.129 255.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1 Brief explanation and description of the columns in the routing table Stručné vysvetlenie a popis stĺpcov v smerovacie tabuľke
Network destination or Destination: The destination host, subnet address, network address, or default route. Siete určenie alebo cieľ: cieľový hostiteľ, adresa podsiete, adresa siete alebo predvolenú trasa. The destination for a default route is 0.0.0.0. Jezdím na predvolené trasy je 0.0.0.0.
Netmask or Genmask: The subnet mask that is applied to the destination IP address when matching it to the value in the network destination. Maska siete alebo Genmask: Maska podsiete, ktorá sa používa na určenie IP adresy, ak to zodpovedá hodnote v sieti určenia. Used in conjunction with the destination to determine when a route is used. Použité v spojení s cieľovou určiť, kedy je použitá cesta.
Gateway: The IP address that the local host uses to forward IP datagrams to other IP networks. Gateway: IP adresa lokálneho počítača, ktorý používa na prenos datagramov IP na inej IP siete. This is either the IP address of a local network adapter or the IP address of an IP router (such as a default gateway router) on the local network segment. To je buď adresa IP lokálneho sieťového adaptéra alebo IP adresa routeru IP (ako predvolená brána smerovače) na lokálnom segmente siete.
Interface or iFace: The interface indicates the LAN or demand-dial interface (ie its IP address that is configured on the local computer for the local network adapter) that is to be used to reach the next router when an IP datagram is forwarded on the network. Rozhranie alebo IFAC: označuje rozhranie LAN alebo dopytu po-volanie rozhranie (tj IP adresu, ktorá je nakonfigurovaný v miestnom počítači pre lokálne sieťový adaptér), ktorá má byť použitá na dosiahnutie ďalšej router, keď je IP datagram postúpi na sieť.
Metric: Indicates the cost of using a route, which is typically the number of hops or the number of routers to cross to reach to the IP destination, Anything on the local subnet is one hop, and each router crossed after that is an additional hop. Metric: Označuje cenu za použitie cesty, ktorá je zvyčajne číslo chmeľ alebo počet smerovačov prejsť na oslovenie cieľovej IP, niečo na lokálnej podsieti je hop a každý prešiel po smerovaču, ktorý je ďalší hop . If there are multiple routes to the same destination with different metrics, the route with the lowest metric is the best route selected. Ak existuje viac trás k rovnakému cieľu cesty rôznych metrík, trasa s najnižšou metrikou je najlepšia trasa vybraná.
Protocol: Shows how the route was learned. Protokol: Ukazuje, ako sa naučila cesta. If the Protocol column lists RIP, OSPF, or anything other than Local, then the router is receiving routes. Je-li stĺpec obsahuje protokol RIP, OSPF, alebo niečo iného, ako Miestne, smerovač potom dostáva trasách. Open Shortest Path First (OSPF) is not available on Windows XP 64-bit Edition (Itanium) and the 64-bit versions of the Windows Server 2003 family. Open Shortest Path First (OSPF) nie je k dispozícii v systéme Windows XP 64-bit Edition (Itanium) a 64-bitové verzie systému Windows Server 2003.
Flags: Describes the route with the following definitions – G (The route uses a gateway); U (The interface to be used is up); H (Only a single host can be reached through the route. For example, this is the case for the loopback entry 127.0.0.1); D (The route is dynamically created. It is set if the table entry has been generated by a routing daemon like gated or by an ICMP redirect message); M (The route is set if the table entry was modified by an ICMP redirect message) and ! Vlajky: Opisuje trase sa tieto definície - G (trasa využíva brána), U (rozhranie má byť použitý, je hore), H (iba jeden hostiteľ môže byť dosiahnutý prostredníctvom trase. Napríklad tento prípad pre vstup loopback 127.0.0.1), D (trasa je dynamicky vytvorená. Ak je nastaviť položku v tabuľke bol vytvorený prostredníctvom smerovania daemon ako bránou alebo presmerovanie ICMP správy), M (trasa je stanovená v prípade, že stôl záznam bol modifikovaný presmerovanie ICMP správy) a! (The route is a reject route and datagrams will be dropped). (Trasa je odmietajú trasu a datagramy budú vypustené).
MSS: Acronym for Maximum Segment Size, and is the size of the largest datagram the kernel will construct TCP connection for transmission via this route. MSS: Skratka pre maximálnu veľkosť segmentu, a je veľkosť najväčší datagram jadro bude stavať TCP spojenia pre prenos cez túto cestu.
Window: Indicates the maximum amount of data the system will accept in a single burst from a remote host when establishing TCP connections. Okná: Označuje maximálne množstvo dát systému bude akceptovať v jednej výbuch zo vzdialeného počítača pri vytváraní TCP spojenia.
irtt: Acronym for “initial round trip time” – indicates the value of time that the TCP protocol will use to wait for acknowledgment for a datagram to remote end has delivered been received when a connection is first established. irtt: skratka pre "pôvodný časový spiatočný" - označuje hodnotu času, ktoré bude používať protokol TCP čakať na potvrdenie pre datagram na vzdialený koniec vydal dostal pri spojení najprv stanovená. The protocol is used to ensure reliability as hosts will retransmit a datagram if it has been lost (no ack received). Protokol sa používa na zabezpečenie spoľahlivosti ako hostitelia budú odovzdávať datagramu, ak bol stratený (bez obdržané ACK).
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.
Related Articles Súvisiace články
- How to Add Route to TCP/IP Routing Table With Windows Routing And Remote Access Console or DOS Prompt Ako pridať trasu na TCP / IP Smerovacie tabuľka Vďaka systému Windows Smerovanie a vzdialený prístup Console alebo DOS
- How to Delete and Remove a Route Rule from Windows Routing Table Ako sa k Odstrániť a Chod trasa článok z Windows Smerovacie tabuľka
- Disable Windows TCP/IP Routing Automatic Metric Calculation Feature Oslabiť Okná TCP / IP smerovanie Automatická metrika Výpočet funkcií
- How to Display and List All Network Interfaces and Devices in Linux Ako na zobrazenie a zoznam všetkých sieťových rozhraniach a zariadení v Linuxe
- Create New Table by Selecting Data from Other Tables with CREATE TABLE AS Vytvoriť novú tabuľku výberom dát z iných tabuliek s CREATE TABLE AS
- Display and Show Classic Navigation Tree Pane in Windows 7 Explorer (for Users Folder, Control Panel, Recycle Bin and CD/DVD/BD Drives) Akcidenční sadzba a Ukazovat Classic Navigačný strom tabla v aplikácii Windows Explorer 7 (pre používateľov zložky, Ovládacie panely, Kôš a CD / DVD / BD disky)
- Unhide, Display and Show Classic Menus or Menu Bar in Internet Explorer 7 Unhide, displeja a klasickej ponuky Zobraziť alebo Menu Bar v programe Internet Explorer 7
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Ako zmeniť či Strašidlo MAC adresu vo Windows XP, Vista, Server 2003/2008, Mac OS X, Unix a Linux
- Improved Way to Add SLIC (SLP 2.0) Table into BIOS ACPI to Activate Windows Vista OEM Zlepšila spôsob, ako pridať Výbor vrchných inšpektorov práce (SLP 2.0) tabuľka do BIOS ACPI až k Aktivovať Windows Vista OEM
- Show, List Out and Identify All Shared Files and Folders in Windows Vista Show, List Mimo a Zistiť Všetko zdieľanými súbormi a priečinkami v systéme Windows Vista










































December 26th, 2008 02:13 26.prosince 2008 02:13
[...] Display the routing table with route print command to confirm that the change has taken effect. [...] Zobrazenie smerovacie tabuľky s príkazom route print potvrdiť, že táto zmena nadobudla účinnosť. [...] [...]
December 25th, 2008 02:44 25.prosince 2008 02:44
[...] View the routing table to verify that the new route rules is added correctly. [...] Zobrazenie smerovacie tabuľky, aby overil, že nová trasa pravidlá, ktoré znie správne. [...] [...]