By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,359 Members | 1,495 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,359 IT Pros & Developers. It's quick & easy.

Source MAC Address; Sending a packet to a remote destination

P: 1
Hi,

I'm a beginner. I need help understanding how packets are routed. I have not started reading any book yet, and I would be glad if you could recommend me a book for networking (preferably one with programming practices).

Assume I have a PC connected to a router, which in turn is connected to Internet. I would like to send a packet to a remote server. My PC's private address is (192.168.0.2); the router's public address is (1.1.1.1).

So, if initially the packet includes SOURCE=192.168.0.2:5555, then the NAT router modifies the packet to include, say, SOURCE=1.1.1.1:6666.
What about the source MAC address? I know that NAT has nothing to do with MAC addresses and the destination has no access to your (private) MAC address.
Initially the packet includes the PC's MAC address: when the packet reaches the router, is the source MAC address changed to router's MAC address? Does the source MAC address in the packet change at each node during journey? If so, why?

Thanks in advance.
Sep 5 '15 #1
Share this Question
Share on Google+
1 Reply


100+
P: 293
Hi,

As per my understanding and knowledge ,the packet gets different MAC Address at each hop.

Regards.
Sep 8 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.