How to Show and Display IP Routing Table in Windows or Linux Kaip rodyti ir rodyti IP Routing Table Windows arba Linux
Every computer on TCP/IP network (ie connect to Internet or LAN) depends on IP routing table to make routing decisions. Kiekvienas kompiuteris TCP / IP tinklo (ty prijungti prie interneto arba LAN), priklauso nuo IP maršrutą lentelėje pateikti maršruto sprendimus. 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. Kelvados lentelę, kitaip dar vadinama Routing Information Base (RIB), yra elektroninės lentelės (failas) arba duomenų bazės tipą objekto, kuris yra saugomas maršrutizatorius arba į tinklą sujungtų kompiuterių laikyti maršrutais, o kai kuriais atvejais, metrikos, susijusių su šių maršrutų konkrečių tinklo vietas, ty IP adresą.
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. Maršrutizavimo lentelės yra svarbus sprendžiant problemas arba nustatyti tinklo problema, kai visi kiti komponentai, pavyzdžiui, tinklo kabelis, LAN ryšį, Ethernet (arba FastEthernet arba GigabitEthernet) uosto atrodo, kad nėra klaidų ar problemą. 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. Tais retais atvejais, maršrutą lentelėje gali nurodyti neteisingą sąsaja maršrutą, arba turi kitų maršrutų problemos, ypač tais atvejais, kai sistema su dviejų ar kelių NIC kortelės arba tinklo adapteris.
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. Norėdami peržiūrėti, rodyti ar rodyti maršrutą lentelėje Windows arba Linux (veikia Linux ir Unix pvz Ubuntu, RedHat, CentOS ir tt) operacinė sistema, naudokite šias komandas. In Windows, open a command prompt to issue the command: Windows, atidarykite komandų eilutę išduoti komandą:
netstat -rn netstat-rn
Alternatively, just type the following command in Linux: Arba tiesiog įrašykite šią komandą Linux:
route maršrutas
Or, the following command in Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008 and etc: Arba, šią komandą, Windows XP, Windows Vista, Windows Server 2003, Windows Server 2008 ir tt:
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 . Windows Server operacinė sistema, administratorius gali peržiūrėti turinį maršrutą lentelėje naudojant Kelvados ir nuotolinės prieigos GUI valdymo konsolę, prieinamą iš Administravimo įrankiai valdymo skyde. 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 Konfigūratorius Įjungti Kelvados ir nuotolinės prieigos pažeidžiamumas dėl routing LAN (pagal užsakymą konfigūracijos), administratorius gali išplėsti mazgas peržiūrėti maršruto lentelę, tada išplėskite IP Routing dėl Konsolės medyje. Then, right click on Static Routes and select Show IP Routing Table from the context menu. Tada dešiniuoju pelės klavišu paspauskite ant statistikos Maršrutai ir pasirinkite Rodyti IP Routing Table iš kontekstinio meniu. The entries in the routing table are displayed in the right pane of the Routing And Remote Access console. Įrašai lentelėje maršrutų rodomi Dešinėje lango Kelvados ir nuotolinės prieigos konsolės.
The output or the routing table looks something similar with table below: Produkcijos arba maršrutų lentelę atrodo kažkas panašaus su lentelėje:
IPv4 Route Table IPv4 Maršrutas lentelė =========================================================================== ================================================== ========================= Active Routes: Aktyvi maršrutai: Network Destination Netmask Gateway Interface Metric Tinklo paskirties netmask Gateway Interface Metric 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 Apie saito 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 Apie saito 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 Apie saito 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 Apie saito 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 Apie saito 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 stalo paskirties Vartai 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 Brief explanation and description of the columns in the routing table Trumpai paaiškinkite ir aprašymas stulpelių lentelėje maršrutų
Network destination or Destination: The destination host, subnet address, network address, or default route. Tinklo tikslas arba Paskirtis: Paskirties priimančioje, antrinis adresas, tinklo adresu, arba numatytojo maršruto. The destination for a default route is 0.0.0.0. Paskirties už numatytąjį maršrutą 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. Netmask arba Genmask: Kaukė antrinis, kuris taikomas paskirties IP adresą, kai atitikimo jo reikšmę į tinklą paskirties. Used in conjunction with the destination to determine when a route is used. Naudojamas kartu su paskirties vietą, siekiant nustatyti, kai maršrutas yra naudojama.
Gateway: The IP address that the local host uses to forward IP datagrams to other IP networks. Vartai: IP adresas, kad vietinio kompiuterio naudojimo perduoti IP datagrams prie IP tinklų. 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. Tai yra arba IP-address vietinio tinklo adapterio arba IP adresas IP maršrutizatorius (tokių kaip numatytąjį vartai maršrutizatorius) dėl vietinio tinklo segmente.
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. Sąsaja arba iface: Sąsaja rodo LAN arba paklausos rinkimo sąsaja (ty IP adresas, kuris yra sukonfig vietos kompiuteryje, vietinio tinklo adapteris), kad turi būti naudojami norint pasiekti kitą maršrutizatorių, kai IP-Datagram siunčiama į tinklas.
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: Parodo, išlaidas, patiriamas naudojantis maršrutu, kuris paprastai yra skaičių apyniai ar skaičių maršrutizatoriai kirsti pasiekti iki TL paskirties, Viskas apie vietos podsieci yra viena apynių, ir kiekvienas maršrutizatorius kerta po to yra papildomas apynių . If there are multiple routes to the same destination with different metrics, the route with the lowest metric is the best route selected. Jei yra keletas maršrutų į tą pačią vietą su skirtingų rodiklių, maršrutas, mažiausias rodiklis yra geriausias būdas pasirinktas.
Protocol: Shows how the route was learned. Protokolas: Parodo kaip maršrutas buvo išmoko. If the Protocol column lists RIP, OSPF, or anything other than Local, then the router is receiving routes. Jei protokolo skiltyje išvardijamos RIP, OSPF, arba kitais tikslais, nei vietos, tai maršrutizatorius gauna maršrutais. 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. OSPF (OSPF) nėra Windows XP 64-Bit Edition (Itanium) ir 64 bitų versijos Windows Server 2003 šeimos.
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 ! Vėliavos: Apibūdina maršrutą su šiais apibrėžimais - G (Maršrutas naudoja vartai), U (Sąsaja turi būti naudojami tik); H (tik vienas adresas gali būti pasiekiamas maršrutą. Pavyzdžiui, tai yra tuo atveju, už save įvežimo 127.0.0.1), D (Maršrutas dinamiškai sukurta. Tai yra, jei lentelės įrašas buvo sukurtas pagal maršrutą demonas kaip vartais arba yra ICMP nukreipti pranešimas), M (trasa yra, jei stalo įrašas buvo pakeistas į ICMP nukreipti pranešimą) ir! (The route is a reject route and datagrams will be dropped). (Trasa yra atmesti maršrutą ir datagrams bus atsisakyta).
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. JPP: Akronimas už Maksimalus Segmento dydis ir dydis didžiausias Datagram branduolys statomas TCP perdavimo per šį maršrutą.
Window: Indicates the maximum amount of data the system will accept in a single burst from a remote host when establishing TCP connections. Langas: Nurodo maksimalų duomenų sistema bus priimti į vieną sprogo per priimančiosios užmegzdami jungtys TCP.
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: trumpinys "pradinį reisas laikas" - nurodoma vertė kartą TCP naudoja laukti patvirtinimu dėl Datagram nuotolinio pabaigos turi pateikti buvo gauta, kai ryšys yra įsteigta. The protocol is used to ensure reliability as hosts will retransmit a datagram if it has been lost (no ack received). Protokolas yra naudojamas, siekiant užtikrinti patikimumą šeimininkų bus retransliuoti per Datagram jei ji buvo prarasta (ne ack gavo).
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Mašininio vertimo, gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- How to Add Route to TCP/IP Routing Table With Windows Routing And Remote Access Console or DOS Prompt Kaip pridėti maršruto į TCP / IP Routing Table Windows Kelvados ir nuotolinės prieigos konsolę arba DOS
- How to Delete and Remove a Route Rule from Windows Routing Table Kaip ištrinti ir pašalinimas Vartojimo taisyklės Windows Routing Table
- Disable Windows TCP/IP Routing Automatic Metric Calculation Feature Išjungti Windows TCP / IP Routing Automatinis metrinė apskaičiavimas Žanras
- How to Display and List All Network Interfaces and Devices in Linux Kaip Ekranas ir Visos Tinklo sąsajų ir įrenginiai Linux
- Create New Table by Selecting Data from Other Tables with CREATE TABLE AS Sukurti naują lentelę, pasirinkdami duomenys Kita lentelėse su CREATE TABLE AS
- Unhide, Display and Show Classic Menus or Menu Bar in Internet Explorer 7 Nebeslėpti, Vaizdo ir Rodyti Klasikiniai meniu arba meniu "Internet Explorer 7
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Kaip pakeisti ar suklastotus MAC adresas, Windows XP, Vista, Server 2003/2008, Mac OS X, Unix, Linux
- Improved Way to Add SLIC (SLP 2.0) Table into BIOS ACPI to Activate Windows Vista OEM Geresnis kelias Pridėti VDIK (SLP 2.0) lentelėje į BIOS ACPI suaktyvinti "Windows Vista OEM
- Show, List Out and Identify All Shared Files and Folders in Windows Vista Rodyti, sąrašą ir nustatyti visus Bendri failus ir aplankus į Windows Vista "
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Atidaryti, išgautišio ir Konvertuokite DAA, ISO ir BIN failus Linux su laisvosios PowerISO Linux










































December 26th, 2008 02:13 26 Gruodžio 2008 02:13
[...] Display the routing table with route print command to confirm that the change has taken effect. [...] Rodyti maršruto lentelę route print komandą, patvirtina, kad pakeisti įsigaliojęs. [...] [...]
December 25th, 2008 02:44 Gruodis 25, 2008 02:44
[...] View the routing table to verify that the new route rules is added correctly. [...] Rodyti maršruto lentelę, kad patikrintų, ar naują maršrutą taisykles papildomas teisingai. [...] [...]