- 论坛徽章:
- 5
|
127这个网段的地址只能用作[目的ip地址],不能在tcp/ip设置上配置为[源ip地址]
TCP/IP有这个规定吗?
哪么下面这个该如何解释(H3C 路由器AR2810)
[R4]ping -a 127.0.0.1 127.0.0.1
PING 127.0.0.1: 56 data bytes, press CTRL_C to break
Reply from 127.0.0.1: bytes=56 Sequence=1 ttl=255 time=2 ms
Reply from 127.0.0.1: bytes=56 Sequence=2 ttl=255 time=2 ms
Reply from 127.0.0.1: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 127.0.0.1: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 127.0.0.1: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 127.0.0.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms
[R4]
准确的说127网段只是认为的规定的一个特殊的网段。如果你的机器不配置LOOPBACK接口(也就是说不用127网段的话)哪么127网段一样可以用于通讯的,这个没有任何问题。 |
|