
我ssh
編輯了我的流浪機器。
System load: 0.13 Processes: 169
Usage of /: 6.6% of 61.80GB Users logged in: 0
Memory usage: 76% IP address for eth0: 10.0.2.11
Swap usage: 16% IP address for eth1: 192.100.0.12
這兩個私有IP有什麼差別?
答案1
這兩個私有IP有什麼差別?
每個乙太網路介面必須有不同的 IP。通常緊密相關,如 10.0.0.1 和 10.1.1.25,都是私有位址並且位於一個位址區塊中。有時單獨1918個私有IP塊例如 10.0.2.11 和 192.168.0.12。
但你的一個IP是不是私人的,它由一家公司擁有:
$ whois 192.100.0.12
...
NetRange: 192.100.0.0 - 192.100.0.255
CIDR: 192.100.0.0/24
Comment: NetVoyage (aka NetDocuments)
OrgName: NetDocuments
OrgId: NC-252
Address: 2500 W Executive Parkway
StateProv: UT
Country: US
世界各地還有許多(很多)其他公司在 192.100.xx 範圍內:
$ whois 192.100.1.1
inetnum: 192.100.1.0 - 192.100.1.255
descr: Computing Centre for Water Research
country: ZA
organisation: ORG-CCfW1-AFRINIC
org-name: Computing Centre for Water Research
org-type: LIR
在南非。
您沒有(合法)權利使用任何這些地址。
使用該位址會使該介面暴露於來自世界任何地方的流量(可能的攻擊)。