Claims
- 1. A machine-readable medium that provides instructions, which when executed by a set of one or more processors, cause said set of processors to perform operations comprising:
indicating for a route a logical interface as a next hop for a destination, said logical interface identifying a first virtual router, said first virtual router including a first routing table; and inserting said route into a second routing table of a second virtual router, wherein said first routing table is for a first address space different than the second routing table's address space.
- 2. The machine-readable medium of claim 1 further comprising:
indicating for a second route a second logical interface as a second next hop for a second destination, said second logical interface identifying the second virtual router; inserting said second route into the first routing table; and exchanging route information between the first and second virtual routers via the second and first logical interfaces.
- 3. The machine-readable medium of claim 1 further comprising downloading the destination and the logical interface to a data plane and forwarding packets from the second virtual router to the first virtual router with the logical interface.
- 4. The machine-readable medium of claim 1 further comprising:
transmitting a packet from the second virtual router to a third virtual router via a second logical interface that identifies the VLAN; and receiving the packet on a third logical interface associated with the VLAN and the third virtual router.
- 5. A machine-readable medium that provides instructions, which when executed by a set of one or more processors, cause said set of processors to perform operations comprising:
peering a first virtual router to a second virtual router, wherein the first and second virtual routers have separate address spaces and separate routing tables; distributing a set of one or more routes from the first virtual router to the second virtual router, wherein a first of the set of routes identifies the first virtual router as a next hop of the first route, said first route including a destination; and downloading to a set of one or more forwarding tables, the destination and the next hop.
- 6. The machine-readable medium of claim 5 wherein said peering comprises:
generating a first logical interface that indicates the first virtual router; generating a second logical interface that indicates the second virtual router; associating the first logical interface with the second virtual router; and associating the second logical interface with the first virtual router.
- 7. The machine-readable medium of claim 6 further comprising a routing protocol process exchanging routing information via the first and second logical interfaces.
- 8. The machine-readable medium of claim 5 wherein the next hop is a logical interface that indicates the first virtual router.
- 9. The met machine-readable medium of claim 5 wherein the next hop is the first virtual router's identifier.
- 10. The machine-readable medium of claim 5 further comprising associating the first and second virtual routers with a virtual local area network (VLAN).
- 11. The machine-readable medium of claim 10 wherein said associating comprises:
generating in said second virtual router's routing table a first route that includes said VLAN as a destination and a first logical interface that indicates said first virtual router; and generating in said first virtual router's routing table a second route that includes said VLAN as a destination and a second logical interface that indicates said second virtual router.
- 12. The machine-readable medium of claim 10 further comprising said first and second virtual routers exchanging routing information via the VLAN.
- 13. A machine-readable medium that provides instructions, which when executed by a set of one or more processors, cause said set of processors to perform operations comprising:
inserting in a first virtual router's routing table a route, said route indicating a destination and a next hop, said next hop identifying a second virtual router, wherein said first virtual router corresponds to a first address space different from a second address space that corresponds to the second virtual router; and downloading the route to a forwarding table.
- 14. The machine-readable medium of claim 13 wherein said next hop is a logical interface.
- 15. The machine-readable medium of claim 13 wherein said next hop is the second virtual router's identifier.
- 16. The machine-readable medium of claim 13 further comprising said first virtual router exchanges routing information with said second virtual router via said route.
- 17. The machine-readable medium of claim 13 further comprising forwarding a packet from said first virtual router to said second virtual router in accordance with said next hop indicated in said forwarding table.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 60/397,353, entitled “Method and Apparatus for Routing and Forwarding Between Virtual Routers Within a Single Network Element” filed on Jul. 20, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60397353 |
Jul 2002 |
US |
Divisions (1)
|
Number |
Date |
Country |
Parent |
10265789 |
Oct 2002 |
US |
Child |
10883070 |
Jun 2004 |
US |