- 论坛徽章:
- 0
|
\r\n哈哈明白是什么意思了\r\n刚看到了一句话\r\nroute -n add -net 10.1.0.132/30 10.1.0.2\r\nWhen the router receives a packet for any IP address in the range of 10.1.0.132 to 10.1.0.135, it forwards the complete packet to the Honeyd host and no ARP redirection is necessary\r\n\r\n其中Honeyd host的地址为10.1.0.2。\r\n根据后面的10.1.0.132 to 10.1.0.135 及route命令中的 10.1.0.132/30 我猜到了“/30”的意思是30位!\r\n也就是说在32位的ip地址位为00001010.00000001.00000000.100001XX\r\n即前30位固定,00001010.00000001.00000000.100001表示该局域网\r\n后两位不定,是局域网内的地址,00~11即0~3,\r\n那么该局域网内的地址范围就是00001010.00000001.00000000.10000100~~00001010.00000001.00000000.10000111,也就是10.1.0.132~~10.1.0.135 \r\n哈哈,明白啦!\r\n\r\n那么对于我的问题 10.1.0/24 就是:前24位固定10.1.0.X,最后8位可变,表示局域网内的IP。 |
|