On an Ethernet/IP network when Host-A wants to send a packet to Host-B it needs to know the Host-B MAC address(MAC-B) in order to communicate.Host-A will ask for MAC-B with an ARP request packet sent in broadcast(FFFFFFFFFFFF).Only the machine with the specified IP address(Host-B) will answer to this request with an ARP Reply packet sent back in unicast directly to the Host-A Mac address(MAC-A).At this point Host-A will send IP packets with destination IP-B using MAC-B as destination address in the Ethernet frame.ARP Request and Reply packets are sent only if the Host does'nt know the Mac address of the target machine;Once learned the ARP Cache will be used.
Example:(Host-A wants to talk to Host-B)
1)Host-A -> check the ARP Cache if IP-B/MAC-B mapping exist
2)Host-A -> ARP Request – What is the MAC address associated with IP-B?
3)Host-B -> ARP Reply – My MAC address is MAC-B and my ip address IP-B
4)Host-A -> Update the ARP Cache and sends packets to IP-B using MAC-B
Flash演示下载
attachment/month_0604/e2006426165548.swf
-
近期评论
参照这篇 wordpress放在windows主机子目录的静态化httpd.ini规则写法
我的主目录安装了wordpress开起了伪静态,现在子目录下也要安装一个wordpress,请问这个的伪静态怎么设置?
楼主把注册机发给我一下。下不了。
重新安装后已经搞定了。麻烦了!
在根目录安装wordpress后,子目录弄了个blog目录放boblog,虽然boblog不用.htaccess可以打开,但是无法进入后台,由xxxx.com/blog/admin.php跳转到xxxx.com/blog/login.php?adminlogin=1,需要再次填用户名和密码,填对了,还是跳转到xxxx.com/blog/login.php?adminlogin=1页面。按照你的方法,在根目录添加RewriteRule /books/(.*) /books/$1 [L] 也无法进入boblog的后台,不知道是不是不能用这一句,还是位置不对呢?请指点一下,谢谢!
