ARP cache entry of a switch

Hello...
I came across a particular question that got me a bit confused.
Please see attached for the network topology. Question: After HostA pings HostB, which entry will be in the ARP cache of HostA to support this
transmission?
a) Interface address: 192.168.4.7; MAC: 000f.2480.8916
b) Interface address: 192.168.4.7; MAC: 0010.5a0c.feae
c) Interface address: 192.168.6.1; MAC: 0010.5a0c.feae
e) Interface address: 192.168.6.1; MAC: 000f.2480.8916
c) Interface address: 192.168.6.2; MAC: 0010.5a0c.feae
e) Interface address: 192.168.6.2; MAC: 000f.2485.8918
The correct answer is D.
From my understanding, the source and destination IP doesn't change. If this is the case, why is the IP in the ARP cache not that of hostB?

Hi Rajtilak,
What switch are you using?
If it is a small business switch, ie SG200, SG300 etc do you use the CLI or GUI?
From CLI:
From Web GUI:
go to IP Configuration -> ARP then click add:
Remember to save your config changes.  Hope that helps.
Best,
David
Please rate helpful posts and identify correct answers.

Similar Messages

  • Clear arp-cache to ping

    I have an SMS server on my network that is unreachable from vlans other that its own. This happened after we pushed out tumbleweed via SMS. Now, in order to ping the server I must issue a clear arp-cache in the core switch, this only last for about 1 min and then the SMS server is unreachable again. Any help would be great.

    Thanks Dabels,
    I have had this problem as well, it turned out to be a pix.
    Proxy-arp is enabled by default on all interfaces and its not apparent in the config when its on or off. Its configured as a sysopt and therefore, it often gets overlooked.
    Agree with everything you say, check the mac in the arp table of the server when your pings are failing, then trace the MAC you find there which corresponds to the ip address of the router.
    Or check the arp entry in the router (again when its failing) and verify the MAC is the SMS server, it may just turn out to be a router or a pix or even....another server which is routing between a pair of NIC's, such as a unix box or a windows server.
    Let us know how you get on.
    Cheers
    Shaun

  • Does arp cache clear when i/f unplugged

    Hi,
    Does IOS automatically clear the arp cache, fast-switching cache and route cache for all IP addresses in a particular subnet if the router interface on that subnet is unplugged, or do I need to do,
    clear arp interface <type> <number>
    and
    clear arp-cache
    as is shown at,
    http://www.cisco.com/en/US/docs/ios/12_4/ip_addr/configuration/guide/ipb_arp_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1096656
    Thanks, MH

    MH
    If you unplug the router interface and if the router interface then goes to line protocol down, then the ARP cache entries associated with that interface should be cleared.
    HTH
    Rick

  • What is a ARP cache and how do I clear this cache?

    Each time I try to repair my internet connection it states, "unable to complete the repair because it was unable to clear the ARP cache. I do not know or am unable to find in any help file where or what this cache is. Assistance with this would be appreciated greatly. thank you

    See:
    * http://www.mydigitallife.info/2007/06/20/clear-delete-and-refresh-arp-cache-entry/

  • IPMP / ARP Cache oddity - Solaris to Windows comm errors

    First - a qualification - I'm not an Solaris admin, so feel free to call me out for any blatant errors..
    I've got several Solaris 10 servers that are having intermittent network communication issues with Windows 2003 servers on the same subnet. All Solaris boxes are using two NICs and IPMP for their connections to the "primary" network. For example, one server (hostname bugbear) has two adapters ce0 and ce9:
    # ifconfig -a
    ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 16.106.64.227 netmask fffff800 broadcast 16.106.71.255
            groupname shared0
    ce9: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
            groupname shared0
    # cat /etc/hostname.ce0   
    bugbear netmask + broadcast + group shared0 up
    # cat /etc/hostname.ce9
    group shared0 upIf I look at the arp cache, (almost) every other server it talks to shows up twice - an entry for each of the NIC devices:
    # arp -a
    Net to Media Table: IPv4
    Device   IP Address               Mask      Flags      Phys Addr
    ce9    win2k3box.city.acme.com 255.255.255.255 o        00:50:56:ae:13:58
    ce0    win2k3box.city.acme.com 255.255.255.255 o        00:50:56:ae:13:58I guess that's as expected - again, I'm not a Solaris expert.
    Finally, here's the issue I've found. For any other UNIX/Solaris hosts listed in the arp cache, my server can ping/FTP/whatever to the other - no problem. Sometimes the ce0 interface is listed first in the output for the target server, sometimes the ce9 interface is listed first. Doesn't matter - my server can talk to the other just fine.
    HOWEVER - for Windows servers, the order of entry in the arp cache seems to have relevance. If the ce9 interface is listed first, I can't ping, can't FTP, can't connect to the other server. If the ce0 interface is listed first, then everything works fine.
    Eventually the arp cache entries age out and get deleted. Usually then my server can talk to the Windows server again. I also found that if I delete both arp cache entries for the target Windows server, my server can talk to it again (arp cache gets rebuilt with the ce0 interface). If left alone, the behavior seems to be that my server can talk to a Windows target for an hour or two, then it can't for another hour or two, then the cycle repeats.
    NOTE - The mac address in the arp cache is not getting poisoned, as with the Broadcom windows driver issue that hit some folks (myself included). All the mac addresses for the servers in the arp cache are consistent as best I can tell, so that's not the problem.
    Any input/suggestions greatly appreciated.

    Here are the codes:
    In the initializing stage,
         try {
              this.serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
         } catch (PortInUseException e) {
             e.printStackTrace();
         this.serialPort.notifyOnDataAvailable(false);
         try {
            this.serialPort.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
            this.serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_NONE);
            this.serialPort.enableReceiveTimeout(10);
    //this.serialPort.disableReceiveTimeout();
    //this.serialPort.enableReceiveThreshold(0);
            this.serialPort.enableReceiveThreshold(1*1024*1024);
            if (this.serialPort.getInputStream() != null)
                    this.inputStream = this.serialPort.getInputStream();
            else
                    System.out.print("can not get inpustream!\n");
          } catch (Exception e) {
                  e.printStackTrace();
          }Then in the reading stage, we have:
        byte[] readBuffer = new byte[1 * 1024 * 10];
        while (true) {
              try {
                   int numBytes = inputStream.read(readBuffer);
                   System.out.print("There are " + numBytes + " bytes having been read.");
              } catch (Exception e) {
                  e.printStackTrace();
              }The above codes do not have any problem using COMM API 2.0 on Windows. Or COMM API 3.0 on Solaris. But, on RedHat, it can run out of memory very quickly.
    Edited by: EJP on 13/05/2011 11:27: added { code } tags. Please use them.

  • ARP Entry in a switch

                       Ho to get an ARP entry to a switch manually ?

    Hi Rajtilak,
    What switch are you using?
    If it is a small business switch, ie SG200, SG300 etc do you use the CLI or GUI?
    From CLI:
    From Web GUI:
    go to IP Configuration -> ARP then click add:
    Remember to save your config changes.  Hope that helps.
    Best,
    David
    Please rate helpful posts and identify correct answers.

  • 3750G won't "age out" old arp table entries

    WS-C3750G-24TS running
    12.2(20)SE4, RELEASE SOFTWARE (fc1).
    sho mac-address-table aging-time
    Vlan Aging Time
    253 300
    252 300
    254 300
    255 300
    1 300
    251 300
    The aging is not working. I can failover some devices I have and the mac-address of the old device associated the the IP never ages out. "Clear arp" makes the standby unit respond to pings and connectivity to the standby unit is 100% after the "clear arp".
    Showing the arp cache, I can see the IP associated with the old mac-address and the "age" keeps increasing, not decreasing with the old mac-address.
    It also doesn't matter if the Primary unit has been rebooted, switch keeps the old mac-address associated the Primary unit.
    Suggestions?

    I think permanent entry should have been made into the arp cache using the "arp ip-address hardware-address type" command.
    To remove this arp entry, you can try "clear arp-cache".This will delete all dynamic entries from the ARP table.
    for more details, refer the following page:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/products_command_reference_chapter09186a00800ca5b0.html#1017562

  • Force mapping to a specific MAC address a multicast IP address in ARP cache table with netsh

    Hi all,
    I would like to know if there is any solution (netsh option, registry entry, whatever...) to force mapping a given MAC address to a multicast IP address (224.x.y.z) in my ARP cache table.
    I am doing the following:
    netsh.exe interface ip add neighbors "Ethernet" "224.224.xxx.yyy"
    "00-80-EE-UU-VV-WW"
    But the entry in the ARP table is substitued by the calculated multicast MAC@ corresponding to my multicast IP@ :
    netsh.exe interface ip show neighbors "Ethernet"
    Interface 12 : Ethernet
    Internet Address  
    Physical Address Type
    224.0.0.22 
    01-00-5e-XX-YY-ZZ 
    static
    224.224.yyy.zzz 
    01-00-5e-UU-VV-WW 
    static
    (For information, calculation of the Multicast MAC Address is described in RFC1112§6.4 -> The MAC@ equals 01-00-5e + the last 23 digits of the multicast MAC Address)
    My problem is that I'm not using an Ethernet network but an AFDX (used on Airbus A380, Boeing 787 Dreamliner, by the NASA...). This network topology is a deterministic Ethernet. The network must know accurately where each network packet is going. Thus...
    the multicast MAC@ cannot be accepted and packet destinated to that MAC@ are not going anywhere.
    So, I must match accurately my multicast IP@ to my MAC@ (00-80...).
    It used to work with Windows XP (which was not doing any "magical" MAC@ substitution on multicast IP@), but since Windows Vista, netsh is doing the substitution described above. Is there any way to disable this substitution or force my IP
    to MAC mapping in ARP table? And of course, I'm not using XP anymore ;)... but a tablet with Windows 8.1.
    Thanks for any help.
    Cheers,
    Olivier.

    Hi,
    The article you pointed me to is just an explanation of what I said in my original post : "Multicast MAC Address is described in RFC1112§6.4".
    But, as I said in my original post, this is true ONLY for Ethernet network. And I am NOT on an Ethernet network.
    So MAC address automatic calculation for my IP address done by Windows/netsh/arp is wrong in my case. The calculation Windows is doing is correct ONLY for Ethernet network. Since I am not on Ethernet, I don't want these calculations, and I'm looking for
    a solution to disable them.
    So, the underlying question is : "Is Microsoft/netsh/arp able to handle other network's type than Ethernet ?"
    Thanks,
    Olivier Dupré.

  • How to clear Local-Cache Entries for a Query in BW?

    Hi There,
    i`m student und i need please your help for my Thesis!!
    I execute the same Query many times in BEx Web Analyzer und note a Query Response Time under ST03N using each time a different READ Mode and Cache Mode is inactiv (Query Monitor RSRT).
    First time i exectue the Query, it reads also from database, second time it uses the local Cache and  that `s okay!
    My problem is:
    When i change the Read mode and execute the Query again, it uses for the first run also the old entries from the Cache so i get wrong response time for the first run!!
    I know that while the mode cache inactiv , the local cache will still be used, so how can i delete the local cache entries each
    time i change the read mode and execute the Query? In Cache monitor (rsrcache) i find only entries for Global cache etc..
    I've already tried to close the session and login in to the System again but it doesn`t solve the Problem!!
    i don't have a permission (access rights) to switch off the complete Cache (local and global ).
    Any idea please??
    Thanks und Best Regards,
    Rachidoo
    P.S: sorry for my bad english!! i have to refresh it soon:)

    Hi Praba,
    the entries stored in RSRCACHE are for global cache, there is no entry for my query in Cache monitor!
    i execute the query in RSRT using java web button and cache mode inactiv so, the results will be stored in local cache.
    this is as below what i want to do for my performance tests in my Thesis:
    1. run a query for the first time with cache inactiv and note runtime of it
    2. run the query again with cache inactiv and note runtime of it
    3. clear the local cache (i don't know how to do it??)
    4. change the read mode of query in RSRT then run the same query for the first time and note runtime of it
    5. run the query again and note runtime of it.
    i'm doing the same procedure for each Read mode.
    the problem is in step 4 , The olap Processor gets the old results form the cache so i get wrong runtime for my tests.
    Generate the report doesn't help, any idea please?

  • ARP cache not adding MAC address

    Hi,
    We have a network in the company where visitors\customers can connect their PCs to pick up a IP address & access the internet via our cluster of Checkpoint firewalls. The problem we are having is that whenever somebody with a Mac tries to use this network they cannot access the internet although it works fine for all Windows based PCs. So to investigate I got hold of a IBook & made the following observations.
    The gateway provided by the DHCP servers is a IP address (192.168.48.203) on a multicast mac address that represents both of the firewalls, which in turn have a physical address of 192.168.48.201 & 192.168.48.202 respectively. This is done to provide redundancy.
    What happens on the IBook is that it picks up a DHCP address as well as the DNS & gateway address as supplied by the DHCP server, but then when you try to access the internet you have no joy. If you check the arp table you will then notice that the table have not been updated with the mac address of the 192.168.48.203 gateway. If you then manualy add the mac address of 192.168.48.203, using arp -s, it works fine or if you staticaly configure the IP address settings to use either 192.168.48.201 or 202 as gateways (which have unicast mac addresses) it also solves the problem & immediately updates the arp cache with the mac addresses of either of these two interfaces depending on which one you are using.
    We put a sniffer on the network & could see that the mac address for 192.168.48.203 is being passed on to the IBook but for some reason it just does not update the arp cache with this details. Also tried this on some of the other networks we are running that uses the same concept & the same thing happens. As I mentioned no Windows hosts are having this problem & immediately updates their arp details to include the mac address of the .203 address.
    On a Mac after obataining a DHCP address & running "netstat -r" you get the following:
    Internet:
    Destination Gateway Flags Refs Use Netif Expire
    default 192.168.48.203 UGSc 5 5 en1
    127 localhost UCS 0 0 lo0
    localhost localhost UH 9 2477 lo0
    169.254 link#5 UCS 0 0 en1
    192.168.48/22 link#5 UCS 1 0 en1
    192.168.48.203 link#5 UHRLW 4 30 en1
    192.168.51.1 localhost UHS 0 1 lo0
    Then after adding the mac address manualy it looks as follows & works fine:
    Internet:
    Destination Gateway Flags Refs Use Netif Expire
    default 192.168.48.203 UGSc 26 6 en1
    127 localhost UCS 0 0 lo0
    localhost localhost UH 9 12353 lo0
    169.254 link#5 UCS 0 0 en1
    192.168.48/22 link#5 UCS 0 0 en1
    192.168.48.203 1:0:5e:7c:0:48 UHLS 26 28 en1
    192.168.51.1 localhost UHS
    Any ideas why this is happening ?
    Regards
    IBook G4   Mac OS X (10.4.3)  

    Hi,
    I am facing exactly the same problem here with an iMac G5. I have called the apple support and the conclusion was that they have no clue for that and we should wait for an update that will hopefully resolve this.
    I was also aksing them if there was a way in the mac to set a static mac address for the gateway in the macintosh so I don't have to run the terminal and type the arp -s every time I start up. They said it is out of the kind of support they can provide... Do you have an idea on how to add a static ARP entry in the table ?
    Thank you.

  • ARP cache needs clearing constantly

    I help manage a WISP network which has a Cisco 3750 at its core and a couple of Cisco 7200 routers to two separate ISPs. We have configured public and private VLANs. The infrastructure is based on point to multipoint links with cisco SG300 switches at each main location. I have a problem where devices are not contactable until the ARP cache on the router is cleared or they are pinged from a device on the local LAN. It seems that as soon as the switch times out the address from the CAM tables, it will not respond until the ARP cache is cleared. A simple example is this.
    router 10.201.1.1 --- Core switch --- switch 10.201.2.254 --- AP 10.201.2.55 --- CP 10.201.2.37 --- Customer x.x.102.37
    All devices remain active up to the AP. The CP and customer will drop off the network randomly. I would expect the traffic to refresh the CAM table as per normal. The ARP cache on the router shows the exact same information before and after clearing so there is no spoofing or eroneous info there. This is not an isolated case, it is exactly the same across all of the other devices in the setup.
    This has only become apparant since moving the devices to being managed in VLAN 201. prior to that, the client had everything (over 3000) devices in VLAN 1 with public IPs along side Private. Obviously a problem.
    Anyone seen this sort of problem and able to offer any tips, ideas or suggestions? I am all out of ideas.
    Thanks.
    Marty

    Just to add to this. I have read a lot of information about HSRP and having to synce CAM and ARP tables. I am not using HSRP and in this case, the second 7200 router is connected to a different ISP and operates completely separately.
    In light of the information on HSRP. I have reduced the ARP timer for the two VLANs to 240 seconds, which being less than the CAM timer of 300 seconds means that the CAM table always remains up to date. I see this as a work around because it will obviously lead to a large amount of ARP traffic but it does seem to fix this problem. I am not sure why when the CAM table loses the MAC address, fresh traffic doesn't reach the switch and trigger the update of the CAM table. It seems like the traffic is not being sent to the right place.

  • ARP cache

    Hi !
    My MacBook (466) kernel said (console):
    "could not enable ARP cache poisoning detection..."
    Do you know what the reason is and how to solve it ?
    Best regards;
    lachala

    No it isn't the same and each are cleared independently. The arp cache is a layer3 database and used for a completely different purpose than the mac-address-table albeit complimentary. The arp cache provides the sending ip host with the mac address of the destination host and the sender builds the l2 frame with this info. Then when the frame gets to the switch, the switch benefits by having the mac address in the mac-address-table table so that it knows which specif port to forward the frame to instead of sending it out all ports the way a hub would.
    HTH pls rate!

  • Csm arp cache timeout issues

    Hello all.
    The arp cache timeout of the csm is normally 4 hours.
    Now if we want to replace one of our servers we would need to wait 4 hours before the new servers mac address is learned if we keep the old ip-address.
    I know we can manually flush one entry from the arp cache but is there a way for the csm to find out sooner if the mac address has changed?
    I also know we can make the time shorter before the cache expires but what would be the consequences if we would put the timer to lets say 1000 seconds?
    Would we then be flooding our network with arp requests all the time?
    Finally I would expect that if an icmp request would fail because of the change of mac addres the csm would make an arp request to find out who has the ip I am trying to ping.
    What is the procedure if the icmp request would fail?
    Thank you.
    Daniel Levi

    I would not suggest using the manual method, since it is time consuming and also there is a good chance that the new ARP request may load the CSM. I would suggest that you wait for the arp cache timeout.

  • Managing the Router's ARP Cache

    Hello,
    I'm a student and currently doing some independent study on Cisco IOS. While I was exploring the world of ARP....I thought of a question related to security of a network with ARP and DHCP Lease Times that I haven't found an answer for via Google.
    If you had a network segment with a sizable number of dynamic hosts and the DHCP lease times were set to something very short(perhaps from someone fat fingering something); then would anything prevent a massive amount of traffic congestion, CPU overload of your routing devices, and overall network failure as a result from all the DHCP traffic, Gratuitous ARPs, and your routing devices flushing their ARP cache?
    Thank you
    Trevor

    Just to add to this. I have read a lot of information about HSRP and having to synce CAM and ARP tables. I am not using HSRP and in this case, the second 7200 router is connected to a different ISP and operates completely separately.
    In light of the information on HSRP. I have reduced the ARP timer for the two VLANs to 240 seconds, which being less than the CAM timer of 300 seconds means that the CAM table always remains up to date. I see this as a work around because it will obviously lead to a large amount of ARP traffic but it does seem to fix this problem. I am not sure why when the CAM table loses the MAC address, fresh traffic doesn't reach the switch and trigger the update of the CAM table. It seems like the traffic is not being sent to the right place.

  • Expire all local cache entries at specific time of day

    Hi,
    We have a need for expiring all local cache entries at specific time(s) of the day (all days, like a crontab).
    Is it possible thru Coherence config ?
    Thanx,

    Hi,
    AFAIK there is no out of the box solution but certainly you can use Coherence API along with quartz to develop a simple class that can be triggered to remove all the entries from the cache at certain time. You can also define your custom cache factory configuration and an example is available here http://sites.google.com/site/miscellaneouscomponents/Home/time-service-for-oracle-coherence
    Hope this helps!
    Cheers,
    NJ

Maybe you are looking for

  • OBIEE Error while importing table from database

    Hi I am getting the following error when i am trying to import table from database. [nQSError: 16001]ODBC error state: IM004 code:0 message: [Microsoft][ODBC Driver Manager] Driver`s SQLAllocHandle on SQL_HANDLE_ENV failed. Any idea y such error. Tha

  • BT & ITS CUSTOMER SERVICE IS A JOKE!!!!

    On a second thought, NO!! It is a disgrace!! I'm very angry, frustrated and utterly dissapointed!! I will take my case to the highest authority as i have had enough of this poor and lack of service company! Just to mention i'm still on the phone on o

  • Problem in Tabstrip Control

    Hi All, i had created an Custom Infotype. In that infotype i had created Tabstrip control with 2tabs. Each Tab contain 4 fields. When creating( F5) a record in transaction PA30, it allowing me create a record and the record is available in Data base

  • Why can't I install the RAID driver?

    I'm a newbie with a newly built system, I originally wanted to set up a RAID0 with my two drives but I ran into a problem using the instructions in the user's guide.  No matter how many times I pressed F6 to install the RAID driver, it just won't loa

  • Mapped Drive B:\ to a network share but does not show up in Windows Explorer.

    I mapped drive B: to a network share but it does not show up in Windows explorer.  I can go to the drive by typing b:\ but is not visible in explorer.  But if I login as local admin it shows up in windows explorer.  Any suggestions?