- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 10:17 AM - edited 03-07-2019 06:39 AM
Hi everybody
Let say we have a setup as shown below:
Rest of network----R1-f1-199.199.199.0/24-LAN--H10(199.199.199.199.10)
R1 is using CEF:
Fib tables shows the pertinent entry as attached as shown below:
199.199.199.0/24 attached f1
My question is: packets destined for hosts on 199.199.199.0 subnet say 199.199.199.10 will never be cef switched? will those packets always be sent to main processor?
thanks and have a great weekend
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 11:19 AM
Hello Sarah,
>> packets destined for hosts on 199.199.199.0 subnet say 199.199.199.10 will never be cef switched? will those packets always be sent to main processor?
No, if this would happen CEF would be far less useful and far less efficient.
Host 199.199.199.10 is resolved by ARP process and once host MAC address is known, packet rewrite of IP packets with 199.199.199.10 destination can be performed.
We could talk of a neighbor cache, or adjacencies table that is equal to ARP table roughly (it is a superset of ARP table if there are serial or other WAN links on the router)
We say that CEF is topology driven so one IP subnet would look like one CEF entry, but CEF has multiple tables including the equivalent of ARP table.
CEF can pick informations from all of these tables when preparing the packet rewrite info.
This means that from a CEF point of view an attached subnet is converted in N entries one for each host of the subnet that has a not expired entry in the ARP table of the router
Again, as in a previous thread a show output may show less information of it can be misleading
I think that the show cef or sho ip cef shows also the attached hosts but I may be wrong.
Hope to help
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2012 11:19 AM
Hello Sarah,
>> packets destined for hosts on 199.199.199.0 subnet say 199.199.199.10 will never be cef switched? will those packets always be sent to main processor?
No, if this would happen CEF would be far less useful and far less efficient.
Host 199.199.199.10 is resolved by ARP process and once host MAC address is known, packet rewrite of IP packets with 199.199.199.10 destination can be performed.
We could talk of a neighbor cache, or adjacencies table that is equal to ARP table roughly (it is a superset of ARP table if there are serial or other WAN links on the router)
We say that CEF is topology driven so one IP subnet would look like one CEF entry, but CEF has multiple tables including the equivalent of ARP table.
CEF can pick informations from all of these tables when preparing the packet rewrite info.
This means that from a CEF point of view an attached subnet is converted in N entries one for each host of the subnet that has a not expired entry in the ARP table of the router
Again, as in a previous thread a show output may show less information of it can be misleading
I think that the show cef or sho ip cef shows also the attached hosts but I may be wrong.
Hope to help
Giuseppe
