shwezhu / shwezhu.github.io

0 stars 0 forks source link

https://davidzhu.xyz/2023/06/21/JS/Basics/prototypal-inheritance/index.html #3

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

JS 继承之 Prototype Chain 的意义 | 橘猫小八的鱼

  1. JS 对象的特殊行为在说继承之前, 还要提一下 JS 对象很违反直觉的一个行为, 即属性可以通过对象创建之后赋值自动添加, 举个例子, 12345678910const student = { name: 'John', study: function () { return 'study' }&#125

https://davidzhu.xyz/2023/06/21/JS/Basics/prototypal-inheritance/index.html

shwezhu commented 1 year ago

The IMP echo request to the 10.1.3.255 in frame 1 appears as an Ethernet broadcast. HostC2, hostC3, routerS and router.D, send ARP requests for hostC1, in frames 2, 3,4, and 5. 3 Page 4 of B HostC1 sends ARP replies in frame 6,7,8, and 9. HostC2, hostC3, couterS and reuterk send ICMP Echo replies in frame 10,11,12 and 13. In the ping output, it appears that only one IMP echo reply was received. This occurs because ping stops recording replies after the first one. HostC2, hostC3, cuterS and router are in hostC1's cache after the experiment because each send an ARP request to resolve hostC1 and when hostC1 sent the ARP reply, the information was placed in hostC1's cache.

shwezhu commented 1 year ago

The echo request arrives at router. Router B does not route the echo request onto its local network to avoid the possibility of Smurf attack. Router B does not answer the ping as we see 100 % packet loss in the ping output.

shwezhu commented 1 year ago

Note that there is no ARP as the multicast IP address 224.0.0.1 is mapped to the hardware address 01:00:5e: 00:00:01. In the ping output it appears that only one ICMP echo reply was received. This occurs because ping stops recording replies after the first one. All the systems on the wire respond as they listen on 224.0.0.1.