mac address question

swabbiesswabbies Member Posts: 29 ■■■□□□□□□□
hostA--->router1<
>router2
>hostB



hello,
I am confused about the following scenario.

If hostA accesses resources on hostB what will show up in the arp table and mac-address table on hostb?

will it have records for the mac & ip address of hostA, or the mac & ip address of router1?

thanks for your help.
thanks,
Swabbies

Comments

  • ReardenRearden Member Posts: 222
    I just asked a very similar question here:

    http://www.techexams.net/forums/viewtopic.php?t=18816


    excerpt from that thread:
    Originally posted by dissolved

    client PC (10.10.1.2 aa:aa:aa)
    |
    |
    |
    client gateway (10.10.1.1 bb:bb:bb)
    |
    |
    |
    |
    webserver gateway (192.168.1.1 cc:cc:cc:)
    |
    |
    |
    webserver (192.168.1.2 dd:dd:dd:)


    When the client sends the packet, the source IP will be 10.10.1.2 and the source MAC will be aa:aa:aa

    The destination IP will be 192.168.1.2 and the destination MAC will be bb:bb:bb


    When the packet reaches the webserver, it will have a source IP of 10.10.1.2 and a source MAC address of cc:cc:cc:

    The destination IP will be 192.168.1.2 and the destination MAC address will be dd:dd:dd


    Everytime a packet crosses a layer 3 device, it is re-framed
    More systems have been wiped out by admins than any cracker could do in a lifetime.
  • swabbiesswabbies Member Posts: 29 ■■■□□□□□□□
    rearden,
    Thanks very much for the link. Sorry I didn't dig a bit further before posting.
    thanks,
    Swabbies
  • Paul BozPaul Boz Member Posts: 2,620 ■■■■■■■■□□
    I just explained the whole process in further detail in that thread, if you want to give it a look.
    CCNP | CCIP | CCDP | CCNA, CCDA
    CCNA Security | GSEC |GCFW | GCIH | GCIA
    pbosworth@gmail.com
    http://twitter.com/paul_bosworth
    Blog: http://www.infosiege.net/
Sign In or Register to comment.