Which mac address does server of my connection ?

I am using cable tv internet (behind router came default with cable tv internet)

So, i am using linux , access internet with ethernet cable thru router.

So there are 2 mac address in this case, my Laptop ethernet port mac address and router mac address.

If i access a webserver somewhere in internet, which mac address does the server sees when i access it ?

laptop ethernet mac address or

the router mac address ?

Thx

Update:

OK, i now understood that mac address only useful in the current network, if it goes out of the network to another network, the mac address will be the gateway (router or whatever divice connect between a network to another network) device mac address.

How about IP address ? why then ip address is needed when mac address can be used to connect from a device in a network to another ?

2 Answers

Relevance
  • BigE
    Lv 7
    2 months ago

    The explanation are almost right.  The MAC address only exists at layer 2, which is a network segment.  It need not be contiguous wire (it can be switched or VLANed).  So once you traverse a IP network, it is not needed or seen.(layer 3). So your home network is a IP network and the MAC only is needed and exists on that network.  The ISP is usually traverses multiple IP networks as well as the path to your destination so once again MACs are not needed or appear.

    Why?  Well long ago, ethernet protocol was not the only game in town. You could traverse a network and nary a MAC to be found, like Frame Relay or ATM or any serial protocol.  It is just how we do things now, how things work now.

  • keerok
    Lv 7
    2 months ago

    You MAC address only travels to the next destination then stops there so it goes from your laptop to the router. The router will pair your laptop's MAC address with your laptop's IP address and keep it in record. It will then forward your request to the next server, your ISP.  Your ISP's server won't see your MAC address. It will see your router's instead and then repeat the same process and forward your request to the next server, somewhere in the internet. That next server will only see your ISP's server's MAC address, not your router not your laptop's.

Still have questions? Get your answers by asking now.