English 中文(简体)
MAC 源地址和目的地地址,装在一包中
原标题:MAC address of source and destination field in a packet
  • 时间:2012-05-22 02:54:10
  •  标签:
  • networking

我一直对以下各点很好奇:

假设有一个与A开关连接的PC,它又与路由器B连接。这个路由器又与路由器C连接。现在,路由器C与D开关连接,后者与服务器E连接。

所以,如果个人电脑发送一个以 E 服务器为目的地的包件,那么该包件中的MAC 地址和源域的地址区域将是什么?

问题回答

来源将是个人电脑上路由表确定的outsent 网络卡的MAC地址,目的地将是路由器B上的开关A-达标网络卡的MAC地址,该地址又通过个人电脑上的路由表和地址解析协议(ARP)结果确定。





相关问题
C# Networking API s [closed]

Lately I ve been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has ...

Listen to a port that is in use [duplicate]

Possible Duplicate: Get connecting IP from specified ports that using by other program. If a port is used by a program, is there any way I can listen that port and get the connected IP on that ...

Twisted Spread suitable for multiplayer racing sim?

Do you think that Twisted Spread may be suitable (in terms of performance) for a multiplayer racing simulator? The rest of the application is based on Python-Ogre. Can Perspective Broker run upon (...

Optimizing a LAN server for a game

I m the network programmer on a school game project. We want to have up to 16 players at once on a LAN. I am using the Server-Client model and am creating a new thread per client that joins. ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

热门标签