In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail the example analysis of the routing table in Linux. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Detailed introduction of the routing table of Linux
Execute the route command under Linux
[root@localhost backup] # route-nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface0.0.0.0 192.168.0.1 0.0.0.0 UG 1000 enp0s3192.168.0.0 0.0.0.0 255.255.255.0 U 10000 enp0s3192.168.122.0 0.0.0.0 255.255.255.0 U 00 virbr0 [root@localhost Backup] # routeKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacedefault gateway 0.0.0.0 UG 100 00 enp0s3192.168.0.0 0.0.0.0 255.255.255.0 U 100 00 enp0s3192.168.122.0 0.0.0.0 255.255.255.0 U 00 0 virbr0
2. Detailed explanation of route command
1. Command syntax
Route [- n] options and parameters:-n: displays the hostname as IP
2. Query result analysis
Destination: it actually means Network. Gateway: the IP of the Gateway of the API. A value of 0.0.0.0 means no additional IP is required. Genmask: Netmask, combined with Destination to form a host or network. Flags: there are several flags that can represent the meaning of the network or host. U: indicates that the route is available. G: the representative needs to pass through Gateway to help deliver. H: represents that the row is routed as a host, not a network. Iface: it means interface. This is the end of the article on "sample Analysis of routing tables in Linux". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.