switch use MAC?

Discussion in 'Networks' started by ClassicD, Jul 27, 2010.

  1. ClassicD

    ClassicD Nibble Poster

    73
    0
    19
    Hi,

    Why is it that TCP/IP network switches still use MAC addresses, i realsise that DHCP is an issue but can the switch not update its table to reflect that when a ARP is sent.

    And why do packets still have to use MAC addresses also.

    Regards

    Classic.
     
    Certifications: Diploma:IT, A+, N+, MCTS:70-680
    WIP: CCENT
  2. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    depends on what context your meaning.

    When data is sent across a network how does it get to where it needs to go? how does the computer recieving that data know its from the computer that sent it? Answer MAC addressing. No two MAC addresses are the same so this provides excellent piece of mind for the sender and the reciever.
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  3. soundian

    soundian Gigabyte Poster

    1,460
    71
    107
    How would the host obtain it's DHCP lease without using MAC addressing?

    As far as I understand it, ethernet frames use MAC addresses, not packets. Frames, as the name implies, frame packets so they can be delivered locally. Therefore, packets do not use MAC addresses.
    I could be wrong on that though. Hopefully someone more experienced can confirm/deny my understanding of it.
     
    Certifications: A+, N+,MCDST,MCTS(680), MCP(270, 271, 272), ITILv3F, CCENT
    WIP: Knuckling down at my new job
  4. ClassicD

    ClassicD Nibble Poster

    73
    0
    19
    Hi,

    You are right about the Ethernet Frames with the encapsulation of IP packets, which is what i meant, IP packets using Ethernet frames. (MAC addresses)...first time at forums.

    I guess I just wondered why when Data is sent from a host, and all IP addressing is established that the need to use MAC addresses in every Frame is still relevant. Say that all hosts used static IP addresses for example, I'm guessing that you could say some of the Layer 2 information can be omitted.


    Classic.
     
    Certifications: Diploma:IT, A+, N+, MCTS:70-680
    WIP: CCENT
  5. greenbrucelee
    Highly Decorated Member Award

    greenbrucelee Zettabyte Poster

    14,292
    265
    329
    Yep frames use MAC adresses.
    ARP is used to identify a networks host when only the IP is known.
    When a packet arrives at a router, the router examines the IP address put there by the IP protocol layer on the originating computer. The router checks it's routing table. If the network containing the IP address is found, the packet is sent to that network. If the network containing the IP address is not found, then the router sends the packet on a default route, usually up the backbone
     
    Certifications: A+, N+, MCDST, Security+, 70-270
    WIP: 70-620 or 70-680?
  6. kevicho

    kevicho Gigabyte Poster

    1,219
    58
    116
    A Network card operate on Layer 2 of the OSI model, whereas IP operates on layer 3, so network devices cannot essentially read an IP address.
    Basically every network card has a mac address (which is a level 2 address), its kind of like a serial number, all are unique, and for instance anything to communicate on a local network the devices have to communicate with either a hub or a switch (or directly).

    For info A hub broadcasts all traffic on all ports, whereas a switch is clever, it keeps a switching table that when it receives a packet from a network device it keeps a record of that mac address and which port is uses, so it can send the traffic to the correct port in future, thus saving bandwidth.

    Also when two computers communicate they keep a list of IP addresses and mac addresses in the arp, you can type in arp -a in a command prompt to see this.

    So basically thats the reason and some of its application, hope thats cleared things up a little.
     
    Certifications: A+, Net+, MCSA Server 2003, 2008, Windows XP & 7 , ITIL V3 Foundation
    WIP: CCNA Renewal
  7. danielno8

    danielno8 Gigabyte Poster

    1,306
    49
    92
    Ethernet works at layer 1 and 2. This is how the data (the actual bits of data being sent) gets to it's destination. IP works at layer 3, which does not have its own way to encode this data onto the wire.
     
    Certifications: CCENT, CCNA
    WIP: CCNP

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.