route路由中的UGH意思

这个是我Ubuntu 20.04下的路由,太久没有看了,今天突然看到flag标志中的UGH,不知道具体意思,然后查询了一番资料。

#这是连接对端路由器的路由表
route -n
内核 IP 路由表
目标            网关            子网掩码        标志  跃点   引用  使用 接口
0.0.0.0         192.168.43.1    0.0.0.0         UG    600    0        0 wlp3s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp3s0
172.16.1.1      127.0.0.1       255.255.255.255 UGH   0      0        0 lo
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-86bc5ef1b054
172.20.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-316db4c7baa9
183.6.5.184     192.168.43.1    255.255.255.255 UGH   0      0        0 wlp3s0
192.168.5.0     172.16.1.1      255.255.255.0   UG    0      0        0 cnem_vnic
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0
192.168.43.1    0.0.0.0         255.255.255.255 UH    0      0        0 wlp3s0

U : This flag signifies that the route is up
G : This flag signifies that the route is to a gateway. If this flag is not present then we can say that the route is to a directly connected destination
H : This flag signifies that the route is to a host which means that the destination is a complete host address. If this flag is not present then it can be assumed that the route is to a network and destination would be a network address.
D : This flag signifies that this route is created by a redirect.
M : This flag signifies that this route is modified by a redirect.

精简解析

       Flags  Possible flags include
              U (route is up)
              H (target is a host)
              G (use gateway)
              R (reinstate route for dynamic routing)
              D (dynamically installed by daemon or redirect)
              M (modified from routing daemon or redirect)
              A (installed by addrconf)
              C (cache entry)
              !  (reject route)

再次查看路由

#这个是正常普通的路由表
route -n
内核 IP 路由表
目标            网关            子网掩码        标志  跃点   引用  使用 接口
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlp3s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp3s0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-86bc5ef1b054
172.20.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-316db4c7baa9
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
学习Oracle数据库是一个广泛的话题,涉及到很多方面的知识和技能。首先,Oracle是一种关系型数据库管理系统,它具有强大的功能和灵活性,被广泛用于企业级应用程序的开发和管理。在学习Oracle数据库时,你需要了解以下几个方面的内容: 1. Oracle数据库的基本概念和体系结构:了解Oracle数据库的组成部分,如实例、表空间、数据文件等,并理解它们之间的关系。 2. SQL语言:学习SQL语言是使用Oracle数据库的基础。SQL语言用于查询和操作数据库的数据,包括数据的增删改查等操作。 3. PL/SQL语言:PL/SQL是Oracle数据库的编程语言,它结合了SQL语言和编程语言的特点,可以用于编写存储过程、触发器、函数等数据库对象。 4. 数据库管理:学习如何管理Oracle数据库,包括创建和管理表、索引、用户、角色、权限等。 5. 性能优化:了解如何优化Oracle数据库的性能,包括索引的设计、查询优化、表分区等技术。 在学习Oracle数据库时,你可以使用一些工具来辅助学习和开发,如PL/SQL Developer、SQL*Plus等。这些工具可以帮助你编写和执行SQL语句,管理数据库对象等。 总之,学习Oracle数据库需要掌握数据库的基本概念和SQL语言,了解PL/SQL语言和数据库管理技术,并通过实践和实际项目来提升自己的技能。希望这些信息对你有所帮助。\[1\]\[2\]\[3\] #### 引用[.reference_title] - *1* *2* [Oracle 学习(一)入门](https://blog.csdn.net/qq_38977097/article/details/90917211)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Oracle数据库学习](https://blog.csdn.net/sam80000/article/details/122210522)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

少陽君

谢谢老板的拿铁

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值