[root@localhost backup]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 enp0s3 192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp0s3 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 [root@localhost backup]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default gateway 0.0.0.0 UG 100 0 0 enp0s3 192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp0s3 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
route [-n] 选项与参数: -n:将主机名以IP方式显示
Destination :其实就是Network的意思。
Gateway :就是该接口的Gateway的IP,若为0.0.0.0,表示不需要额外的IP。
Genmask :就是Netmask,与Destination组合成一台主机或网络。
Flags :共有多个标志可以来表示该网络或主机代表的意义。
U:代表该路由可用。
G:代表需要经过Gateway来帮忙传递。
H:代表该行路由为一台主机,而非一个网络。
Iface :就是interface(接口)的意思。
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有