This describes the overall initial setup of the entire lab. Build this if you want to follow along and relive the life of Phineas T. Bonxalot.
Equipment
This lab can be built physically, or vitually. The lab that accompanies this work of fiction was done entirely virtually on a Linux box.
For a Physical Topology
14 Routers capable of running BGP, OSPF, RIP, and MPLS with both LDP and RSVP. TE extensions for the IGP are handy but not necesarilly needed.
12 Routers capable of running BGP. Three of these will need to support L3VPNs.
1 Host computer running exaBGP
1 VLAN capable switch used to build topologies
For a Virtual Topology
Virutal routers, switches and hosts to duplicate the above
To imitate this lab exactly
2 KVMs (QEMU) running Junos (Olive)
1 Olive runs all of the Enterprise routers in logical systems
1 Olive runs all of the External routers the enterprise connects to in logical systems
exaBGP running on the host system
1 Open vSwitch
1 virtual switch used for out of band connectivity to the Olives
1 virtual switch used to provide internal connecivity for the 1st Olive, running in hub mode
1 virtual switch used to provide internal connecivity for the 2nd Olive, running in hub mode
1 virtual switch used to provide external connecivity for Olives and for exaBGP to connect to the logical systems within the Olives
Virtual Lab Topology
Each olive has fxp0 connected to the OOB vSwitch for connectivity to the Olives from the host machine
Each olive has fxp1 connected to the External vSwitch for connectivity to the other Olive and to any exaBGP peering sessions needed. fxp1 is a IEEE 802.1q tagged interface
Each olive has fxp2 and fxp3 connected to it's own dedicated vSwitch which is running in hub mode. fxp2 and fxp3 are IEEE 802.1q tagged interfaces. This is faking a lt interface by looping two physical ports back to each other.
Hardware Used
Alienware M11x R3
16GB RAM
750GB SATA Hard Disk
Software Used
Linux Mint 12 x86_64 running custom Linux 3.4.11 kernel
Each of the enterprise routers, R1 through R14 are part of the Enerprise that Phineas has to manage.
The external routers will be used to provide stimulus for the exersise
exaBGP will be used to pump and suck routes into some of the external routers - for some real stimulus
The switches are used only to construct topology and isolate management traffic.
Physical
Each router is referenced by it's router number: i.e. R1 is #1
The first Ethernet port (fxp0) is used solely for management of each router.
The second Ethernet port (fxp1) will be used to build the entire topology between the enterprise and any external networks using separate VLANs.
The switch port must be configured as a trunk (support vlan tagging)
It is reccommended that each trunk port is only configured to support the VLANs necessary to support the topology, i.e. don't just trunk them all
The third and fourth Ethernet ports (fxp2 and fxp3 ) are used to build the entire topology within the enterprise. (For connections internal to a single Olive).
VLAN IDs
The VLAN id between two routers is configured as VLAN <low order Router #>||<high order Router #*gt;) where the || symbol denotes concatenation (not a logical OR)
Following this methodology, a connection between R1 and R6 would use VLAN 16
IP Addressing
Each router has a loopback address assigned as 10.0.0,<Router #>
For every subnet, the last octet is always the router number.
In general, the second or third octet will be a concatenation of the two routers that share the link, much the same way VLAN ids are assigned