LAYER 2 SWITCH - MAC-ADDRESS-TABLE QUERY
Posted on 2011-10-03
The only reason I ask this question is because I did a test exam for 'CCNA and not the ICND parts 1 & 2' and if I remember correctly I had a question that asked me to 'ping something', and then find out the 'Source & Destination mac address'.
I think the scenario would not let me ping from the actual host pc otherwise I could have logged onto the specific host destination pc for example, do an 'ipconfig /all' and find out the 'mac-address', but I dont think this is the 'Destination mac-address' that the question is asking as if I remember correctly it will be the mac-address of the destination of the 'last exit interface'!!!!!!! Im thinking that the scenario has already presumed that 'manual address mac addresses' were already added to the switches for every device attached!!!!!!!!!!
If I have a single router with a basic config in place and in this case with 'NO SERIAL' connections but using 2 x fa0/0 & fa0/1 ports but also on different subnets ie:
My switches A & B and router interfaces are all 'ping successful' first of all!!
Int fa0/0 - 192.168.0.1 / 24
Description Connected to SwitchA port 1
Int fa0/1 - 10.0.0.1 /24
Description Connected to SwitchB port 1
I have not yet set any 'mac addresses' yet for 'host pcs' connected to specific ports on both 'Switches A & B' yet!!
If someone said to me I wish to find out the 'mac-address' of the 'Source & Destination' Im not sure how to go about this?
Ive just logged onto 'SwitchA':
ping 192.168.1.10 but received 'NO reply' from SwitchA to a host pc attached to 'Same SwitchA on port 23 - I was able to do:
- This showed the host pc address I tried to ping ie 192.168.1.10 which also shows a mac address in 'Same mac table', so I presume that this is the 'Actual Destination mac address' of Int fa0/23 which is where host pc 192.168.1.10 is plugged - ?
ping 192.168.1.1 - This was successful
- This showed '192.168.1.1' and a mac address but I think this is the 'mac address' of the same switch Im logged onto 'SwitchA - fa0/1
ping 10.0.0.1 - Unsuccessful
- This still showed the 'exact same mac' ie - 192.168.1.1
Im going to 'add manually the mac-addresses' for each host pc attached to both 'Switch A & B' and try again
Any help would be good!!