Unix路由表中的“内核”是什么意思?
发布时间:2020-12-15 19:11:16 所属栏目:安全 来源:网络整理
导读:我一直在linux-ip.net和整个互联网搜索,但没有出现。 路由表中的“原始内核”部分是什么意思? 只是一个例子: [root@tristan]# ip route show table locallocal 192.168.99.35 dev eth0 proto kernel scope host src 192.168.99.35broadcast 127.255.255.2
我一直在linux-ip.net和整个互联网搜索,但没有出现。
路由表中的“原始内核”部分是什么意思? 只是一个例子: [root@tristan]# ip route show table local local 192.168.99.35 dev eth0 proto kernel scope host src 192.168.99.35 broadcast 127.255.255.255 dev lo proto kernel scope link src 127.0.0.1
摘自人ip(8):
protocol RTPROTO the routing protocol identifier of this route. RTPROTO may be a number or a string from the file /etc/iproute2/rt_protos. If the routing protocol ID is not given,ip assumes protocol boot (i.e. it assumes the route was added by someone who doesn't understand what they are doing). Several protocol values have a fixed interpretation. Namely: redirect - the route was installed due to an ICMP redirect. kernel - the route was installed by the kernel during autoconfiguration. boot - the route was installed during the bootup sequence. If a routing daemon starts,it will purge all of them. static - the route was installed by the administrator to override dynamic routing. Routing daemon will respect them and,probably,even advertise them to its peers. ra - the route was installed by Router Discovery protocol. The rest of the values are not reserved and the administrator is free to assign (or not to assign) protocol tags. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |